You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2014/09/08 06:03:28 UTC
[jira] [Created] (SENTRY-423) Hive command "SHOW TABLE EXTENDED
LIKE... " failed with NPE
Chaoyu Tang created SENTRY-423:
----------------------------------
Summary: Hive command "SHOW TABLE EXTENDED LIKE... " failed with NPE
Key: SENTRY-423
URL: https://issues.apache.org/jira/browse/SENTRY-423
Project: Sentry
Issue Type: Bug
Affects Versions: 1.4.0
Reporter: Chaoyu Tang
show table extended in jira like 'sam*' will throw NPE with following error:
{code}
2014-09-05 07:21:12,921 ERROR org.apache.hadoop.hive.ql.Driver: FAILED: NullPointerException null
java.lang.NullPointerException
at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.getUnescapedName(BaseSemanticAnalyzer.java:401)
at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.getUnescapedName(BaseSemanticAnalyzer.java:397)
at org.apache.sentry.binding.hive.HiveAuthzBindingHook.extractTable(HiveAuthzBindingHook.java:241)
at org.apache.sentry.binding.hive.HiveAuthzBindingHook.preAnalyze(HiveAuthzBindingHook.java:167)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:452)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:352)
at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:995)
at org.apache.hadoop.hive.ql.Driver.compileAndRespond(Driver.java:988)
at org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:98)
at org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:163)
at org.apache.hive.service.cli.session.HiveSessionImpl.runOperationWithLogCapture(HiveSessionImpl.java:514)
at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementInternal(HiveSessionImpl.java:222)
at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:204)
at org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:168)
at org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:316)
at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1373)
at org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1358)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$TUGIAssumingProcessor.process(HadoopThriftAuthBridge20S.java:608)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:244)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
{code}
In order to have a correct returned result, the HIVE-1363 needs to be resolved as well
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)