火花升级是否也需要对Tibco罐子进行升级

时间:2019-05-29 09:47:10

标签: scala apache-spark streaming tibco

我正在开发一个火花流服务,该服务从hdfs目录中读取事务并在内部执行某些功能,然后最终将这些事务推送到Tibco队列中。流服务启动后,它将立即进行握手以查看是否tibco连接是否正常工作。流服务按预期运行良好,但最近我们将Spark从旧版本1.6升级到了2.3,这导致流服务出现错误。问题在于tibco握手本身。以下是错误

19/05/28 07:04:07 ERROR yarn.ApplicationMaster: User class threw exception: javax.naming.AuthenticationException: Not permitted: Failed to connect via SSL to [ssl://tibco-queue-url]: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) [Root exception is javax.jms.JMSSecurityException: Failed to connect via SSL to [ssl://tibco-queue-url]: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)]
javax.naming.AuthenticationException: Not permitted: Failed to connect via SSL to [ssl://tibco-queue-url]: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) [Root exception is javax.jms.JMSSecurityException: Failed to connect via SSL to [ssl://tibco-queue-url]: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)]
    at com.tibco.tibjms.naming.TibjmsContext.lookup(TibjmsContext.java:670)
    at com.tibco.tibjms.naming.TibjmsContext.lookup(TibjmsContext.java:491)
    at javax.naming.InitialContext.lookup(InitialContext.java:417

相同的代码在带有tibjms,tibcrypt等tibco jar的spark 1.6上确实可以正常工作。但是在将spark升级到2.3时,相同的代码会引发错误。升级spark版本是否需要新的tibco jar,它们应该与spark兼容2.x?请提出建议。

0 个答案:

没有答案