accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3656) tool.sh fails to launch mapreduce job due to java.lang.NoClassDefFoundError: org/apache/htrace/Trace
Date Tue, 10 Mar 2015 19:40:38 GMT
Josh Elser created ACCUMULO-3656:
------------------------------------

             Summary: tool.sh fails to launch mapreduce job due to java.lang.NoClassDefFoundError:
org/apache/htrace/Trace
                 Key: ACCUMULO-3656
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3656
             Project: Accumulo
          Issue Type: Bug
          Components: scripts
            Reporter: Josh Elser
            Assignee: Billie Rinaldi
            Priority: Blocker
             Fix For: 1.7.0


{noformat}
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/htrace/Trace
        at org.apache.accumulo.core.trace.Tracer.traceInfo(Tracer.java:29)
        at org.apache.accumulo.core.client.impl.ConnectorImpl$1.execute(ConnectorImpl.java:70)
        at org.apache.accumulo.core.client.impl.ConnectorImpl$1.execute(ConnectorImpl.java:67)
        at org.apache.accumulo.core.client.impl.ServerClient.executeRaw(ServerClient.java:97)
        at org.apache.accumulo.core.client.impl.ServerClient.execute(ServerClient.java:60)
        at org.apache.accumulo.core.client.impl.ConnectorImpl.<init>(ConnectorImpl.java:67)
        at org.apache.accumulo.core.client.ZooKeeperInstance.getConnector(ZooKeeperInstance.java:247)
        at org.apache.accumulo.core.client.mapreduce.AccumuloOutputFormat.checkOutputSpecs(AccumuloOutputFormat.java:541)
        at org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:562)
        at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:432)
        at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1296)
        at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1293)
        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:1628)
        at org.apache.hadoop.mapreduce.Job.submit(Job.java:1293)
        at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1314)
        at org.apache.accumulo.examples.simple.mapreduce.WordCount.run(WordCount.java:91)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.accumulo.examples.simple.mapreduce.WordCount.main(WordCount.java:96)
        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.hadoop.util.RunJar.run(RunJar.java:221)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: java.lang.ClassNotFoundException: org.apache.htrace.Trace
        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)
        ... 26 more
{noformat}

Looks like htrace-core.jar doesn't make it on HADOOP_CLASSPATH and libjars.



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

Mime
View raw message