You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Anuroopa George (JIRA)" <ji...@apache.org> on 2014/08/01 19:35:38 UTC
[jira] [Resolved] (OOZIE-1960) Cannot create a Hive table in ORC
format using the Hive action of Oozie
[ https://issues.apache.org/jira/browse/OOZIE-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anuroopa George resolved OOZIE-1960.
------------------------------------
Resolution: Fixed
This is not an issue.We faced it because Oozie shared lib for Hive was not upgraded to hive .12
> Cannot create a Hive table in ORC format using the Hive action of Oozie
> -----------------------------------------------------------------------
>
> Key: OOZIE-1960
> URL: https://issues.apache.org/jira/browse/OOZIE-1960
> Project: Oozie
> Issue Type: Bug
> Affects Versions: 4.0.0
> Environment: CDH5-Hive.12,Oozie 4.0,
> Reporter: Anuroopa George
> Fix For: 4.0.0
>
>
> CREATE TABLE schema1.test (col1 BIGINT,col2 BIGINT )
> ROW FORMAT DELIMITED
> FIELDS TERMINATED BY '|'
> STORED AS ORC;
> Above query works fine when submitted through Hive command prompt.But fails with the following error when submitted through Hive action of Oozie
> ARN: Error getting Hadoop Job IDs executed by Hive
> java.lang.NullPointerException
> at java.io.File.<init>(File.java:277)
> at org.apache.oozie.action.hadoop.HiveMain.writeExternalChildIDs(HiveMain.java:287)
> at org.apache.oozie.action.hadoop.HiveMain.run(HiveMain.java:265)
> at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:38)
> at org.apache.oozie.action.hadoop.HiveMain.main(HiveMain.java:64)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:226)
> at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
> at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:417)
> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:332)
> at org.apache.hadoop.mapred.Child$4.run(Child.java:268)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:415)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)
> at org.apache.hadoop.mapred.Child.main(Child.java:262)
> Intercepting System.exit(-101)
>
> <<< Invocation of Main class completed <<<
>
> Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.HiveMain], exit code [-101]
--
This message was sent by Atlassian JIRA
(v6.2#6252)