Review Request 41376: HIVE-12666 : PCRExprProcFactory.GenericFuncExprProcessor.process() aggressively removes dynamic partition pruner generated synthetic join predicates.

2015-12-14 Thread Hari Sankar Sivarama Subramaniyan

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41376/
---

Review request for hive and John Pullokkaran.


Repository: hive-git


Description
---

PCRExprProcFactory.GenericFuncExprProcessor.process() aggressively removes 
dynamic partition pruner generated synthetic join predicates.


Diffs
-

  
ql/src/java/org/apache/hadoop/hive/ql/optimizer/DynamicPartitionPruningOptimization.java
 c2749a8 
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/pcr/PcrExprProcFactory.java 
2ab1575 
  ql/src/test/results/clientpositive/tez/dynamic_partition_pruning.q.out 
b4d19ee 
  
ql/src/test/results/clientpositive/tez/vectorized_dynamic_partition_pruning.q.out
 2ec632a 

Diff: https://reviews.apache.org/r/41376/diff/


Testing
---


Thanks,

Hari Sankar Sivarama Subramaniyan



Review Request 41387: HIVE-12675: PerfLogger should log performance metrics at debug level

2015-12-14 Thread Hari Sankar Sivarama Subramaniyan

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41387/
---

Review request for hive, Ashutosh Chauhan and John Pullokkaran.


Repository: hive-git


Description
---

PerfLogger should log performance metrics at debug level. Please see the jira.


Diffs
-

  common/src/java/org/apache/hadoop/hive/ql/log/PerfLogger.java f6eb64b 

Diff: https://reviews.apache.org/r/41387/diff/


Testing
---


Thanks,

Hari Sankar Sivarama Subramaniyan



[jira] [Created] (HIVE-12674) HS2 Tez sessions should have maximum age

2015-12-14 Thread Sergey Shelukhin (JIRA)
Sergey Shelukhin created HIVE-12674:
---

 Summary: HS2 Tez sessions should have maximum age
 Key: HIVE-12674
 URL: https://issues.apache.org/jira/browse/HIVE-12674
 Project: Hive
  Issue Type: Bug
Reporter: Sergey Shelukhin
Assignee: Sergey Shelukhin


Certain tokens passed to AM by clients (e.g. an HDFS token) have maximum 
lifetime beyond which they cannot be renewed. We should cycle AMs after a 
configurable period to avoid problems with these.



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


Review Request 41377: HIVE-12528 don't start HS2 Tez sessions in a single thread

2015-12-14 Thread Sergey Shelukhin

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41377/
---

Review request for hive, Gunther Hagleitner and Siddharth Seth.


Repository: hive-git


Description
---

see JIRA


Diffs
-

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 31f0634 
  ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java 6e196e6 
  ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionPoolManager.java 
0d84340 
  ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java e1a8041 

Diff: https://reviews.apache.org/r/41377/diff/


Testing
---


Thanks,

Sergey Shelukhin



Re: Review Request 40589: Implement limit push down through union all in CBO

2015-12-14 Thread John Pullokkaran

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40589/#review110361
---



ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java (line 1071)


This should be added to previous hepplan invocation so that limit can be 
pushed as low as possible.

Ex: Limit-Sel-Union-Join-Proj-TS1
  TS2


- John Pullokkaran


On Dec. 14, 2015, 6:59 a.m., pengcheng xiong wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40589/
> ---
> 
> (Updated Dec. 14, 2015, 6:59 a.m.)
> 
> 
> Review request for hive and Ashutosh Chauhan.
> 
> 
> Repository: hive-git
> 
> 
> Description
> ---
> 
> HIVE-11775
> 
> 
> Diffs
> -
> 
>   common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 56a39df 
>   
> ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveSortUnionReduceRule.java
>  PRE-CREATION 
>   ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java a0d14dc 
>   ql/src/test/queries/clientpositive/cbo_SortUnionTransposeRule.q 
> PRE-CREATION 
>   ql/src/test/queries/clientpositive/limit_join_transpose.q 80430c6 
>   ql/src/test/queries/clientpositive/parquet_ppd_boolean.q 059da68 
>   ql/src/test/queries/clientpositive/parquet_ppd_char.q eaddcb4 
>   ql/src/test/queries/clientpositive/parquet_ppd_date.q 41d0d64 
>   ql/src/test/queries/clientpositive/parquet_ppd_decimal.q dfca486 
>   ql/src/test/queries/clientpositive/parquet_ppd_timestamp.q 1b9f6ff 
>   ql/src/test/queries/clientpositive/parquet_ppd_varchar.q 6449c6d 
>   ql/src/test/queries/clientpositive/tez_dynpart_hashjoin_3.q cecbbd7 
>   ql/src/test/results/clientpositive/cbo_SortUnionTransposeRule.q.out 
> PRE-CREATION 
>   ql/src/test/results/clientpositive/llap/constprog_dpp.q.out a1addb7 
>   ql/src/test/results/clientpositive/parquet_ppd_boolean.q.out 6e62ee4 
>   ql/src/test/results/clientpositive/parquet_ppd_char.q.out c1565f8 
>   ql/src/test/results/clientpositive/parquet_ppd_date.q.out 55231e9 
>   ql/src/test/results/clientpositive/parquet_ppd_decimal.q.out a30820e 
>   ql/src/test/results/clientpositive/parquet_ppd_timestamp.q.out 3b3e5b7 
>   ql/src/test/results/clientpositive/parquet_ppd_varchar.q.out 5a62e80 
>   ql/src/test/results/clientpositive/spark/temp_table.q.out 119d26d 
> 
> Diff: https://reviews.apache.org/r/40589/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> pengcheng xiong
> 
>



[jira] [Created] (HIVE-12675) PerfLogger should log performance metrics at debug level

2015-12-14 Thread Hari Sankar Sivarama Subramaniyan (JIRA)
Hari Sankar Sivarama Subramaniyan created HIVE-12675:


 Summary: PerfLogger should log performance metrics at debug level
 Key: HIVE-12675
 URL: https://issues.apache.org/jira/browse/HIVE-12675
 Project: Hive
  Issue Type: Bug
Reporter: Hari Sankar Sivarama Subramaniyan
Assignee: Hari Sankar Sivarama Subramaniyan


As more and more subcomponents are Hive (Tez, Optimizer) etc are using 
PerfLogger to track the performance metrics, it will be more meaningful to set 
the PerfLogger logging level to DEBUG. Otherwise, we will print the performance 
metrics unnecessarily for each and every query if the underlying subcomponent 
does not control the PerfLogging via a parameter.



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


Wish to work on an Open Source Project

2015-12-14 Thread Mihir Saxena
Hello Sir,
 I am newly being introduced to the open source community and I wish to
work on a project with your Organization. I would be glad if you could
associate me with any of your projects and assist me. Finding bugs in an
open source code contributes a lot in the community and I would love to do
the same.
   It would be great if you could provide me an open source project
with a problem statement and offer me to find bugs in it or something else
to link with your community.
I hold a good command on C,C++ and Java and can offer a bit in Python. Your
approval will help me get into the open source environment.
If I am contacting the wrong undersigned, please assist me the right link.

Please do reply.
Regards,
Mihir Saxena,
Pursuing B.E(Hons) Computer Science,
BITS Pilani.


HPLSQL Error

2015-12-14 Thread Pavan Kumar
./hplsql -e "select * from txn_ds_platter limit 1";
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hadoop/conf/Configuration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.apache.hive.hplsql.Exec.init(Exec.java:673)
at org.apache.hive.hplsql.Exec.run(Exec.java:635)
at org.apache.hive.hplsql.Hplsql.main(Hplsql.java:23)
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.conf.Configuration
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 15 more


Please help me..
Thanking You.


Re: Review Request 40589: Implement limit push down through union all in CBO

2015-12-14 Thread pengcheng xiong

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40589/
---

(Updated Dec. 15, 2015, 7:21 a.m.)


Review request for hive and Ashutosh Chauhan.


Changes
---

address John's comments.


Repository: hive-git


Description
---

HIVE-11775


Diffs (updated)
-

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 31f0634 
  
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveSortUnionReduceRule.java
 PRE-CREATION 
  ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java 36a12bf 
  ql/src/test/queries/clientpositive/cbo_SortUnionTransposeRule.q PRE-CREATION 
  ql/src/test/queries/clientpositive/limit_join_transpose.q 80430c6 
  ql/src/test/queries/clientpositive/parquet_ppd_boolean.q 059da68 
  ql/src/test/queries/clientpositive/parquet_ppd_char.q eaddcb4 
  ql/src/test/queries/clientpositive/parquet_ppd_date.q 41d0d64 
  ql/src/test/queries/clientpositive/parquet_ppd_decimal.q dfca486 
  ql/src/test/queries/clientpositive/parquet_ppd_timestamp.q 1b9f6ff 
  ql/src/test/queries/clientpositive/parquet_ppd_varchar.q 6449c6d 
  ql/src/test/queries/clientpositive/tez_dynpart_hashjoin_3.q cecbbd7 
  ql/src/test/results/clientpositive/cbo_SortUnionTransposeRule.q.out 
PRE-CREATION 
  ql/src/test/results/clientpositive/llap/constprog_dpp.q.out a1addb7 
  ql/src/test/results/clientpositive/parquet_ppd_boolean.q.out 6e62ee4 
  ql/src/test/results/clientpositive/parquet_ppd_char.q.out c1565f8 
  ql/src/test/results/clientpositive/parquet_ppd_date.q.out 55231e9 
  ql/src/test/results/clientpositive/parquet_ppd_decimal.q.out a30820e 
  ql/src/test/results/clientpositive/parquet_ppd_timestamp.q.out 3b3e5b7 
  ql/src/test/results/clientpositive/parquet_ppd_varchar.q.out 5a62e80 
  ql/src/test/results/clientpositive/spark/temp_table.q.out 119d26d 

Diff: https://reviews.apache.org/r/40589/diff/


Testing
---


Thanks,

pengcheng xiong



Allow other implementations of IMetaStoreClient in Hive

2015-12-14 Thread Austin Lee
Hi,

I would like to propose a change that would make it possible for users to
choose an implementation of IMetaStoreClient via HiveConf, i.e.
hive-site.xml.  Currently, in Hive the choice is hard coded to be
SessionHiveMetaStoreClient in org.apache.hadoop.hive.ql.metadata.Hive.
There is no other direct reference to SessionHiveMetaStoreClient other than
the hard coded class name in Hive.java and the QL component operates only
on the IMetaStoreClient interface so the change would be minimal and it
would be quite similar to how an implementation of RawStore is specified
and loaded in hive-metastore.  One use case this change would serve would
be one where a user wishes to use an implementation of this interface
without the dependency on the Thrift server.  I would appreciate the
community's input and feedback on this proposal.

Thank you,
Austin


[jira] [Created] (HIVE-12668) package script for LLAP was broken by recent config changes

2015-12-14 Thread Sergey Shelukhin (JIRA)
Sergey Shelukhin created HIVE-12668:
---

 Summary: package script for LLAP was broken by recent config 
changes
 Key: HIVE-12668
 URL: https://issues.apache.org/jira/browse/HIVE-12668
 Project: Hive
  Issue Type: Bug
Reporter: Sergey Shelukhin
Assignee: Sergey Shelukhin


I didn't realize that was part of Hive... the script needs to be updated.



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


Re: Wish to work on an Open Source Project

2015-12-14 Thread Alan Gates

Hi Mihir, welcome to open source.

See https://cwiki.apache.org/confluence/display/Hive/HowToContribute for 
a good overview of how to contribute to Hive.  One of the best ways to 
get started is to find a bug you'd like to fix and work on fixing it.  
You can find a list of open Hive bugs at 
https://issues.apache.org/jira/browse/HIVE.  Once you pick one to work 
on it is a good idea to comment on the JIRA that you're going to work on 
it so others know someone's working on it.  If you have questions as you 
go feel free to ask on this list.


Alan.


Mihir Saxena 
December 14, 2015 at 7:41
Hello Sir,
I am newly being introduced to the open source community and I wish to
work on a project with your Organization. I would be glad if you could
associate me with any of your projects and assist me. Finding bugs in an
open source code contributes a lot in the community and I would love to do
the same.
It would be great if you could provide me an open source project
with a problem statement and offer me to find bugs in it or something else
to link with your community.
I hold a good command on C,C++ and Java and can offer a bit in Python. 
Your

approval will help me get into the open source environment.
If I am contacting the wrong undersigned, please assist me the right link.

Please do reply.
Regards,
Mihir Saxena,
Pursuing B.E(Hons) Computer Science,
BITS Pilani.



Re: HPLSQL Error

2015-12-14 Thread Dmitry Tolpeko
Pavan,

Hadoop jars are not in the CLASSPATH. You can edit hplsql file (this is a
bash script) and specify proper locations for your Hadoop installation.

Dmitry

On Mon, Dec 14, 2015 at 6:34 AM, Pavan Kumar  wrote:

> ./hplsql -e "select * from txn_ds_platter limit 1";
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/hadoop/conf/Configuration
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at org.apache.hive.hplsql.Exec.init(Exec.java:673)
> at org.apache.hive.hplsql.Exec.run(Exec.java:635)
> at org.apache.hive.hplsql.Hplsql.main(Hplsql.java:23)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.hadoop.conf.Configuration
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> ... 15 more
>
>
> Please help me..
> Thanking You.
>


[jira] [Created] (HIVE-12669) Need a way to analyze tables in the background

2015-12-14 Thread Alan Gates (JIRA)
Alan Gates created HIVE-12669:
-

 Summary: Need a way to analyze tables in the background
 Key: HIVE-12669
 URL: https://issues.apache.org/jira/browse/HIVE-12669
 Project: Hive
  Issue Type: Improvement
  Components: Metastore
Reporter: Alan Gates
Assignee: Alan Gates


Currently analyze must be run by users manually.  It would be useful to have an 
option for certain or all tables to be automatically analyzed on a regular 
basis.  The system can do this in the background as a metastore thread (similar 
to the compactor threads).



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


[jira] [Created] (HIVE-12667) Add test case for HIVE-12473

2015-12-14 Thread Sergey Shelukhin (JIRA)
Sergey Shelukhin created HIVE-12667:
---

 Summary: Add test case for HIVE-12473
 Key: HIVE-12667
 URL: https://issues.apache.org/jira/browse/HIVE-12667
 Project: Hive
  Issue Type: Bug
Reporter: Gunther Hagleitner
Assignee: Gunther Hagleitner


HIVE-12473 has added an incorrect comment and also lacks a test case.



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


[jira] [Created] (HIVE-12666) PCRExprProcFactory.GenericFuncExprProcessor.process() aggressively removes dynamic partition pruner generated synthetic join predicates.

2015-12-14 Thread Hari Sankar Sivarama Subramaniyan (JIRA)
Hari Sankar Sivarama Subramaniyan created HIVE-12666:


 Summary: PCRExprProcFactory.GenericFuncExprProcessor.process() 
aggressively removes dynamic partition pruner generated synthetic join 
predicates.
 Key: HIVE-12666
 URL: https://issues.apache.org/jira/browse/HIVE-12666
 Project: Hive
  Issue Type: Bug
Reporter: Hari Sankar Sivarama Subramaniyan
Assignee: Hari Sankar Sivarama Subramaniyan


Introduced by HIVE-11634. The original idea in HIVE-11634 was to remove the IN 
partition conditions from the predicate list since the static dynamic 
partitioning would kick in and push these predicates down to metastore. 
However, the check is too aggressive and removes events such as below :
{code}
-Select Operator
-  expressions: UDFToDouble(UDFToInteger((hr / 2))) (type: 
double)
-  outputColumnNames: _col0
-  Statistics: Num rows: 1 Data size: 7 Basic stats: 
COMPLETE Column stats: NONE
-  Group By Operator
-keys: _col0 (type: double)
-mode: hash
-outputColumnNames: _col0
-Statistics: Num rows: 1 Data size: 7 Basic stats: 
COMPLETE Column stats: NONE
-Dynamic Partitioning Event Operator
-  Target Input: srcpart
-  Partition key expr: UDFToDouble(hr)
-  Statistics: Num rows: 1 Data size: 7 Basic stats: 
COMPLETE Column stats: NONE
-  Target column: hr
-  Target Vertex: Map 1
{code}



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


[jira] [Created] (HIVE-12671) Add documentation for HS2 service discovery

2015-12-14 Thread Vaibhav Gumashta (JIRA)
Vaibhav Gumashta created HIVE-12671:
---

 Summary: Add documentation for HS2 service discovery 
 Key: HIVE-12671
 URL: https://issues.apache.org/jira/browse/HIVE-12671
 Project: Hive
  Issue Type: Bug
  Components: HiveServer2, JDBC
Reporter: Vaibhav Gumashta
Assignee: Vaibhav Gumashta






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


[jira] [Created] (HIVE-12670) Fix tests failing due to invalid ConnectionDriverName

2015-12-14 Thread Mohit Sabharwal (JIRA)
Mohit Sabharwal created HIVE-12670:
--

 Summary: Fix tests failing due to invalid ConnectionDriverName
 Key: HIVE-12670
 URL: https://issues.apache.org/jira/browse/HIVE-12670
 Project: Hive
  Issue Type: Bug
Reporter: Mohit Sabharwal
Assignee: Mohit Sabharwal


Some unit tests fail when run outside the ptest environment (i.e. when run 
individually on the local box like mvn test -Dtest=TestSessionHooks) with the 
following error:

{code}
Caused by: org.datanucleus.exceptions.NucleusException: Attempt to invoke the 
"BONECP" plugin to create a ConnectionPool gave an error : The specified 
datastore driver ("hive-site.xml") was not found in the CLASSPATH. Please check 
your CLASSPATH specification, and the name of the driver.
{code}

This is because to support TestHiveConf, we override 
{{javax.jdo.option.ConnectionDriverName}} in  test hive-site file 
(common/src/test/resources/hive-site.xml). However, this override gets applied 
for all tests. The overriden value is invalid, which causes other tests that 
attempt to initialize CliService to fail.

Instead, we should use a property exclusively used for testing like 
{{hive.test.dummystats.aggregator}} so that overriding it does not affect other 
tests.

Not sure why these tests pass in ptest, presumably because some other test that 
comes before overrides {{javax.jdo.option.ConnectionDriverName}} to a sensible 
value.

Tests failing:

TestSessionHooks
TestPlainSaslHelper 
TestSessionGlobalInitFile



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


[jira] [Created] (HIVE-12672) Record last updated time for partition and table

2015-12-14 Thread Alan Gates (JIRA)
Alan Gates created HIVE-12672:
-

 Summary: Record last updated time for partition and table
 Key: HIVE-12672
 URL: https://issues.apache.org/jira/browse/HIVE-12672
 Project: Hive
  Issue Type: Sub-task
  Components: Metastore
Reporter: Alan Gates
Assignee: Alan Gates


Currently tables and partitions do not record when they were last updated.  
This makes it hard for the system to know where to look for recently changed 
tables and partitions that may need analyzed or other processing.



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


[GitHub] hive pull request: HIVE-12055 Stub out the row by row ORC writer.

2015-12-14 Thread omalley
Github user omalley closed the pull request at:

https://github.com/apache/hive/pull/56


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


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

2015-12-14 Thread Rajesh Balamohan (JIRA)
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.(JSONObject.java:185)
at org.codehaus.jettison.json.JSONObject.(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)