hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-6607) describe extended on a view fails with NPE
Date Mon, 10 Mar 2014 21:52:50 GMT
Eugene Koifman created HIVE-6607:
------------------------------------

             Summary: describe extended on a view fails with NPE
                 Key: HIVE-6607
                 URL: https://issues.apache.org/jira/browse/HIVE-6607
             Project: Hive
          Issue Type: Bug
          Components: WebHCat
    Affects Versions: 0.12.0
            Reporter: Eugene Koifman
            Assignee: Eugene Koifman


STEPS TO REPRODUCE:
Create a table called 'sample_08'
Create a view of the table. From hive command line, please run:
hive> create view sample_09 as select * from sample_08 ;
ACTUAL BEHAVIOR:
Run the following command in the browser:
http://localhost:50111/templeton/v1/ddl/database/default/table/sample_09?format=extended
It fails with the following exception:
{"errorDetail":"org.apache.hadoop.hive.ql.metadata.HiveException: Exception while processing
show table status\n\tat org.apache.hadoop.hive.ql.exec.DDLTask.showTableStatus(DDLTask.java:2707)\n\tat
org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:343)\n\tat org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:151)\n\tat
org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:65)\n\tat org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1437)\n\tat
org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1215)\n\tat org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1043)\n\tat
org.apache.hadoop.hive.ql.Driver.run(Driver.java:911)\n\tat org.apache.hive.hcatalog.cli.HCatDriver.run(HCatDriver.java:43)\n\tat
org.apache.hive.hcatalog.cli.HCatCli.processCmd(HCatCli.java:259)\n\tat org.apache.hive.hcatalog.cli.HCatCli.processLine(HCatCli.java:213)\n\tat
org.apache.hive.hcatalog.cli.HCatCli.main(HCatCli.java:172)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\n\tat
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\n\tat
java.lang.reflect.Method.invoke(Method.java:597)\n\tat org.apache.hadoop.util.RunJar.main(RunJar.java:212)\nCaused
by: java.lang.NullPointerException\n\tat org.apache.hadoop.hive.ql.metadata.formatting.JsonMetaDataFormatter.putFileSystemsStats(JsonMetaDataFormatter.java:264)\n\tat
org.apache.hadoop.hive.ql.metadata.formatting.JsonMetaDataFormatter.makeOneTableStatus(JsonMetaDataFormatter.java:218)\n\tat
org.apache.hadoop.hive.ql.metadata.formatting.JsonMetaDataFormatter.makeAllTableStatus(JsonMetaDataFormatter.java:170)\n\tat
org.apache.hadoop.hive.ql.metadata.formatting.JsonMetaDataFormatter.showTableStatus(JsonMetaDataFormatter.java:153)\n\tat
org.apache.hadoop.hive.ql.exec.DDLTask.showTableStatus(DDLTask.java:2702)\n\t... 16 more\n","error":"FAILED:
Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Exception while
processing show table status","sqlState":"08S01","errorCode":40000,"database":"default","table":"sample_09"}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message