tez-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hitesh Shah (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TEZ-3445) java.lang.NoClassDefFoundError: org/apache/hadoop/service/AbstractService
Date Fri, 23 Sep 2016 14:59:21 GMT

     [ https://issues.apache.org/jira/browse/TEZ-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hitesh Shah resolved TEZ-3445.
------------------------------
    Resolution: Invalid

> java.lang.NoClassDefFoundError: org/apache/hadoop/service/AbstractService
> -------------------------------------------------------------------------
>
>                 Key: TEZ-3445
>                 URL: https://issues.apache.org/jira/browse/TEZ-3445
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.8.4
>         Environment: hadoop2.6.0 tez-0.8.4
>            Reporter: panzhiwei
>
> i am integration tez-0.8.4  on hadoop2.6.0,settings like this:
> 1、download tez-0.8.4-src and build 
> 2、download hadoop-2.6.0-src and build
> 3、hadoop fs -mkdir /data/tez,than put tez-0.8.4-minimal to the  /data/tez
> 4、hadoop fs -mkdir /data/hadoop,than put hadoop-2.6.0.tar.zg to /data/hadoop
> 5、create tez-site.xml at /data/conf/,
> <configuration>
>  <property>
>    <name>tez.lib.uris</name>
>    <value>${fs.defaultFS}/data/tez/tez-0.8.4-minimal,${fs.defaultFS}/data/tez/tez-0.8.4-minimal/lib</value>
>  </property>
>  <property>
>    <name>tez.use.cluster.hadoop-libs</name>
>    <value>true</value>
>  </property>
> </configuration>
> 6、local setting
> export TEZ_JARS=/opt/tez-0.8.4-minimal
> export TEZ_CONF_DIR=$TEZ_JARS/conf
> exportHADOOP_CLASSPATH=${TEZ_CONF_DIR}:${TEZ_JARS}/*:${TEZ_JARS}/lib/*
> than submit a mapreduce job,the error like this :
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/service/AbstractService
> 	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 sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.service.AbstractService
> 	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)
> 	... 13 more



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

Mime
View raw message