Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.0
-
None
-
None
-
Centos7
Description
hi, all
I use hive command to do a query in hive(on spark), all runs correct.
But when I use beeline connect to hive-server2 to run a query (on spark), it tell me this error:
2017-01-12 18:10:30,242 ERROR [HiveServer2-Background-Pool: Thread-72]: status.SparkJobMonitor (SessionState.java:printError(938)) - Status: Failed
2017-01-12 18:10:30,245 ERROR [HiveServer2-Background-Pool: Thread-72]: ql.Driver (SessionState.java:printError(938)) - FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.spark.SparkTask
2017-01-12 18:10:30,245 INFO [HiveServer2-Background-Pool: Thread-72]: ql.Driver (Driver.java:execute(1703)) - Completed executing command(queryId=hive_20170112181010_4f486eab-025e-4ac2-a071-4df7ca8b6843); Time taken: 1.095 seconds
2017-01-12 18:10:30,249 ERROR [HiveServer2-Background-Pool: Thread-72]: operation.Operation (SQLOperation.java:run(244)) - Error running hive query:
org.apache.hive.service.cli.HiveSQLException: Error while processing statement: FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.spark.SparkTask
at org.apache.hive.service.cli.operation.Operation.toSQLException(Operation.java:388)
at org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:189)
at org.apache.hive.service.cli.operation.SQLOperation.access$100(SQLOperation.java:76)
at org.apache.hive.service.cli.operation.SQLOperation$2$1.run(SQLOperation.java:241)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1698)
at org.apache.hive.service.cli.operation.SQLOperation$2.run(SQLOperation.java:254)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
my configuration in hive-site.xml:
<property>
<name>hive.enable.spark.execution.engine</name>
<value>true</value>
</property>