Github user WangTaoTheTonic commented on the pull request:

    https://github.com/apache/spark/pull/7118#issuecomment-139136144
  
    I tested this patch, but got this error when executing "show databases;" 
using beeline,
    
    >>15/09/10 15:11:02 INFO SessionState: Created HDFS directory: 
/tmp/hive/root/fc5c8bbe-0e63-49f1-8286-ec51c4432b94/_tmp_space.db
    15/09/10 15:11:02 INFO HiveSessionImpl: Operation log session directory is 
created: /tmp/root/operation_logs/fc5c8bbe-0e63-49f1-8286-ec51c4432b94
    15/09/10 15:11:26 ERROR SparkExecuteStatementOperation: Error running hive 
query as user : root
    java.lang.NullPointerException
            at 
org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperation$$anon$1$$anon$2.run(SparkExecuteStatementOperation.scala:164)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAs(Subject.java:415)
            at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
            at 
org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperation$$anon$1.run(SparkExecuteStatementOperation.scala:182)
            at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
            at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
            at java.util.concurrent.FutureTask.run(FutureTask.java:166)
            at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
            at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
            at java.lang.Thread.run(Thread.java:722)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to