You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "lilizhi (Jira)" <ji...@apache.org> on 2019/12/05 01:19:00 UTC

[jira] [Commented] (HIVE-22574) Hive on Spark Jobs Failed With Error: Client closed before SASL negotiation finished

    [ https://issues.apache.org/jira/browse/HIVE-22574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988365#comment-16988365 ] 

lilizhi commented on HIVE-22574:
--------------------------------

The error is in org.apache.hive.spark.client.rpc.SaslHandler:

public void channelInactive(ChannelHandlerContext ctx) throws Exception {
 dispose(); // Do retry here ?
 super.channelInactive(ctx);
 }

> Hive on Spark Jobs Failed With Error: Client closed before SASL negotiation finished
> ------------------------------------------------------------------------------------
>
>                 Key: HIVE-22574
>                 URL: https://issues.apache.org/jira/browse/HIVE-22574
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2, Spark
>    Affects Versions: 1.2.2
>         Environment: spark : spark-1.6.0-cdh5.16.1
> hive : hive-1.1.0-cdh5.16.1
> hadoop : hadoop-2.6.0-cdh5.16.2
>            Reporter: lilizhi
>            Priority: Minor
>
> Hive on Spark job failed with below error message, this happens only when cluster is busy:
> Excerpt from exception stack from one of the YARN applications.
> 19/12/02 16:19:00 ERROR yarn.ApplicationMaster: Uncaught exception:
> java.util.concurrent.ExecutionException: javax.security.sasl.SaslException: Client closed before SASL negotiation finished.
> at io.netty.util.concurrent.AbstractFuture.get(AbstractFuture.java:37)
> at org.apache.hive.spark.client.RemoteDriver.(RemoteDriver.java:156)
> at org.apache.hive.spark.client.RemoteDriver.main(RemoteDriver.java:556)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:567)
> Caused by: javax.security.sasl.SaslException: Client closed before SASL negotiation finished.
> at org.apache.hive.spark.client.rpc.Rpc$SaslClientHandler.dispose(Rpc.java:455)
> at org.apache.hive.spark.client.rpc.SaslHandler.channelInactive(SaslHandler.java 90)
> Is it helpful with retry?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)