You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2017/12/08 22:48:00 UTC

[jira] [Created] (HBASE-19465) Required httpcore and httpclient jars not included in binary distribution

Andrew Purtell created HBASE-19465:
--------------------------------------

             Summary: Required httpcore and httpclient jars not included in binary distribution
                 Key: HBASE-19465
                 URL: https://issues.apache.org/jira/browse/HBASE-19465
             Project: HBase
          Issue Type: Bug
    Affects Versions: 1.4.0
            Reporter: Andrew Purtell
            Assignee: Andrew Purtell
             Fix For: 1.4.0


The httpcore and httpclient dependency jars are not included into the binary distribution. This means MR/YARN jobs will fail if launched from the binary tarball as distributed, including those running in "local mode", e.g. ITBLL:

{noformat}
2017-12-08 22:40:36,134 INFO  [LocalJobRunner Map Task Executor #0] mapred.LocalJobRunner: Finishing task: attempt_local936234315_0001_m_000003_0
2017-12-08 22:40:36,134 INFO  [Thread-23] mapred.LocalJobRunner: map task executor complete.
2017-12-08 22:40:36,147 WARN  [Thread-23] mapred.LocalJobRunner: job_local936234315_0001
java.lang.NoClassDefFoundError: org/apache/http/client/methods/HttpUriRequest
	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:546)
Caused by: java.lang.ClassNotFoundException: org.apache.http.client.methods.HttpUriRequest
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 1 more
Exception in thread "Thread-23" java.lang.NoClassDefFoundError: org/apache/http/client/methods/HttpUriRequest
	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:562)
Caused by: java.lang.ClassNotFoundException: org.apache.http.client.methods.HttpUriRequest
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 1 more
2017-12-08 22:40:37,078 INFO  [main] mapreduce.Job: Job job_local936234315_0001 failed with state FAILED due to: NA
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)