You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Rajesh Balamohan (JIRA)" <ji...@apache.org> on 2015/12/15 00:15:46 UTC

[jira] [Created] (HIVE-12673) Orcfiledump throws NPE when no files are available

Rajesh Balamohan created HIVE-12673:
---------------------------------------

             Summary: Orcfiledump throws NPE when no files are available
                 Key: HIVE-12673
                 URL: https://issues.apache.org/jira/browse/HIVE-12673
             Project: Hive
          Issue Type: Bug
            Reporter: Rajesh Balamohan


{noformat}


Exception in thread "main" java.lang.NullPointerException
	at org.codehaus.jettison.json.JSONTokener.more(JSONTokener.java:106)
	at org.codehaus.jettison.json.JSONTokener.next(JSONTokener.java:116)
	at org.codehaus.jettison.json.JSONTokener.nextClean(JSONTokener.java:170)
	at org.codehaus.jettison.json.JSONObject.<init>(JSONObject.java:185)
	at org.codehaus.jettison.json.JSONObject.<init>(JSONObject.java:293)
	at org.apache.hadoop.hive.ql.io.orc.JsonFileDump.printJsonMetaData(JsonFileDump.java:197)
	at org.apache.hadoop.hive.ql.io.orc.FileDump.main(FileDump.java:107)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
{noformat}

hive --orcfiledump -j -p /tmp/orc/inventory/inv_date_sk=2452654



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)