hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19465) Required httpcore and httpclient jars not included in binary distribution
Date Fri, 08 Dec 2017 22:55:00 GMT

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

Andrew Purtell commented on HBASE-19465:
----------------------------------------

Dropping httpcore and httpclient jars (httpcore-4.2.5.jar and httpclient-4.2.5.jar from Hadoop
2.7.4) by hand into lib/ does resolve the observed failure. 

> 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)

Mime
View raw message