Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 12-14-2015 07:17 PM
Hi,
Im going through the tutorial from hortonworks http://hortonworks.com/hadoop-tutorial/hello-world... but when I run a query I get the following exception:
org.apache.ambari.view.hive.client.HiveErrorStatusException: H110 Unable to submit statement. Error while processing statement: FAILED: Hive Internal Error: com.sun.jersey.api.client.ClientHandlerException(java.io.IOException: org.apache.hadoop.security.authentication.client.AuthenticationException: Authentication failed, status: 503, message: Service Unavailable) [ERROR_STATUS]
The response from hive metastore process is this one:
Metastore on sandbox.hortonworks.com failed (Execution of 'export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server' ; hive --hiveconf hive.metastore.uris=thrift://sandbox.hortonworks.com:9083 --hiveconf hive.metastore.client.connect.retry.delay=1 --hiveconf hive.metastore.failure.retries=1 --hiveconf hive.metastore.connect.retries=1 --hiveconf hive.metastore.client.socket.timeout=14 --hiveconf hive.execution.engine=mr -e 'show databases;'' returned 12. SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/spark/lib/spark-assembly-1.4.1.2.3.2.0-2950-hadoop2.7.1.2.3.2.0-2950.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] WARNING: Use "yarn jar" to launch YARN applications. SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/spark/lib/spark-assembly-1.4.1.2.3.2.0-2950-hadoop2.7.1.2.3.2.0-2950.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] Logging initialized using configuration in file:/etc/hive/2.3.2.0-2950/0/conf.server/hive-log4j.properties FAILED: Hive Internal Error: com.sun.jersey.api.client.ClientHandlerException(java.io.IOException: org.apache.hadoop.security.authentication.client.AuthenticationException: Authentication failed, status: 503, message: Service Unavailable)
Is this a security issue? Can someone help please?
Thanks
Created 12-16-2015 12:51 AM
This looks like a bug in 2.3.2
Make sure Atlas is started and out of maintenance mode. That will work.
Created 12-15-2015 12:18 AM
@Nikolaos Stanogias Can you make sure that you can access tables using hive cli? Are you getting that error from hive view?
Created on 11-27-2017 05:09 PM - edited 08-19-2019 05:36 AM
Hi I am having the same issue, But we using hive via beeline. We are able to connect Hive via beeline and able to execute the quires
Created 12-16-2015 12:51 AM
This looks like a bug in 2.3.2
Make sure Atlas is started and out of maintenance mode. That will work.
Created 12-17-2015 09:10 PM
Thanks a lot! After I restarted Atlas service it worked
Created 01-12-2016 07:59 AM
Thanks Vedant. Your answer really helped!
Created 02-21-2016 07:34 PM
This post is really helpful. Thanks a lot. Prem
Created 06-06-2016 10:01 AM
Really helpful, i had same error, Turned off maintainence mode for atlas and restarted the service. Error disappears.