Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.0
-
None
-
None
Description
show table extended in jira like 'sam*' will throw NPE with following error:
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)
In order to have a correct returned result, the HIVE-1363 needs to be resolved as well
Attachments
Attachments
Issue Links
- is related to
-
SENTRY-455 Fixed Unit Tests: TestDbOperations#testIndexTable
- Resolved
- requires
-
HIVE-1363 'SHOW TABLE EXTENDED LIKE' command does not strip single/double quotes
- Closed