replacement for nextColumnsBatch in RCFile.Reader

2014-05-19 Thread John Zeng
Hi, All, I noticed ‘nextColumnsBatch’ is marked as ‘Deprecated’ in RCFile.Reader class. What is the method that will replace ‘nextColumnsBatch’? And why? Thanks John

java.lang.NoSuchFieldError: HIVE_ORC_FILE_MEMORY_POOL when inserting data to ORC table

2014-05-15 Thread John Zeng
Hi, All, I created a ORC table by doing this: add jar /home/dguser/hive-0.12.0/lib/hive-exec-0.12.0.jar; CREATE TABLE orc_UserDataTest2( PassportNumbers1 STRING, PassportNumbers2 STRING, TaxID STRING, CM11 STRING, CM13 STRING, CM15 STRING, Name STRING, EmailAddress STRING ) ROW FORMAT SERDE 'org

RE: java.lang.NoSuchFieldError: HIVE_ORC_FILE_MEMORY_POOL when inserting data to ORC table

2014-05-12 Thread John Zeng
Just an update: This error only happened on CDH4 environment (even I added hive-exec-0.12.0.jar to classpath). If I use CDH5, it works fine. John From: John Zeng [mailto:john.z...@dataguise.com] Sent: Sunday, May 11, 2014 5:54 PM To: user@hive.apache.org Subject: java.lang.NoSuchFieldError

RE: Hive dataload issue.

2014-05-12 Thread John Zeng
Is the extra 's' needed in your path: LOAD DATA INPATH '/users/dept.txt' overwrite into table DEPT; -Original Message- From: Muthukumar Somasundaram (ETS) [mailto:muthukum...@hcl.com] Sent: Monday, May 12, 2014 12:59 AM To: user@hive.apache.org Subject: Hive dataload issue. Hi I

java.lang.NoSuchFieldError: HIVE_ORC_FILE_MEMORY_POOL when inserting data to ORC table

2014-05-11 Thread John Zeng
Resending since this mailing list had issue to post message in last few days. From: John Zeng Sent: Friday, May 9, 2014 6:18 PM To: user@hive.apache.org Subject: java.lang.NoSuchFieldError: HIVE_ORC_FILE_MEMORY_POOL when inserting data to ORC table Hi, All, I created a ORC table by doing this

ArrayIndexOutOfBoundsException while writing MapReduce output as RCFile

2014-04-30 Thread John Zeng
That is exactly the fix. Thanks Yin.