You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Hitesh Shah (JIRA)" <ji...@apache.org> on 2013/06/17 02:43:20 UTC

[jira] [Comment Edited] (TEZ-249) Setting output committer causes class not found exception

    [ https://issues.apache.org/jira/browse/TEZ-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13684873#comment-13684873 ] 

Hitesh Shah edited comment on TEZ-249 at 6/17/13 12:42 AM:
-----------------------------------------------------------

Requires the jar containing NullOutputCommitter ( the hive-exec jar I believe ) to be a local resource for the AM.
                
      was (Author: hitesh):
    Requires the jar containing NullOutputCommitter ( one of the hive jars I believe ) to be a local resource for the AM.
                  
> Setting output committer causes class not found exception
> ---------------------------------------------------------
>
>                 Key: TEZ-249
>                 URL: https://issues.apache.org/jira/browse/TEZ-249
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Gunther Hagleitner
>
>  conf.set("mapred.output.committer.class", NullOutputCommitter.class.getName());
> We've localized the hive jar, but this still causes a class not found exception.
> java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.hive.ql.exec.NullOutputCommitter not found
> 	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1657)
> 	at org.apache.hadoop.mapred.MRVertexOutputCommitter.getOutputCommitter(MRVertexOutputCommitter.java:87)
> 	at org.apache.hadoop.mapred.MRVertexOutputCommitter.init(MRVertexOutputCommitter.java:134)
> 	at org.apache.tez.dag.app.dag.impl.VertexImpl$InitTransition.transition(VertexImpl.java:858)
> 	at org.apache.tez.dag.app.dag.impl.VertexImpl$InitTransition.transition(VertexImpl.java:790)
> 	at org.apache.hadoop.yarn.state.StateMachineFactory$MultipleInternalArc.doTransition(StateMachineFactory.java:382)
> 	at org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:299)
> 	at org.apache.hadoop.yarn.state.StateMachineFactory.access$300(StateMachineFactory.java:43)
> 	at org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:445)
> 	at org.apache.tez.dag.app.dag.impl.VertexImpl.handle(VertexImpl.java:629)
> 	at org.apache.tez.dag.app.dag.impl.VertexImpl.handle(VertexImpl.java:115)
> 	at org.apache.tez.dag.app.DAGAppMaster$VertexEventDispatcher.handle(DAGAppMaster.java:956)
> 	at org.apache.tez.dag.app.DAGAppMaster$VertexEventDispatcher.handle(DAGAppMaster.java:948)
> 	at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:130)
> 	at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:77)
> 	at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.hive.ql.exec.NullOutputCommitter not found
> 	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1625)
> 	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1649)
> 	... 15 more
> Caused by: java.lang.ClassNotFoundException: Class org.apache.hadoop.hive.ql.exec.NullOutputCommitter not found
> 	at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:1531)
> 	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1623)
> 	... 16 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira