hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S.L" <simpleliving...@gmail.com>
Subject Hadoop 2.2 HttpCleint Jar Mismatch
Date Wed, 11 Dec 2013 16:26:11 GMT
Hello experts,

I am consistently running into this excepition , googling tells me that
this is because of the Jar mismatch between Hadoop and the Nutch Job , with
Hadoop2.2 using older version of the HttpClient.

I am not able to figure out how I could make  Hadoop 2.2 pickup the jars
from the sumitted job (which is using the old map reduce API) , can some
one who has gone thru this before let me know ? Thanks.

2013-12-10 23:00:09,396 INFO [FetcherThread]
org.apache.nutch.fetcher.Fetcher: fetch of http://www.xyz.com/ failed
with: java.lang.NoSuchMethodError:
org.apache.http.impl.conn.SchemeRegistryFactory.createSystemDefault()Lorg/apache/http/conn/scheme/SchemeRegistry;
	at org.apache.http.impl.client.SystemDefaultHttpClient.createClientConnectionManager(SystemDefaultHttpClient.java:118)
	at org.apache.http.impl.client.AbstractHttpClient.getConnectionManager(AbstractHttpClient.java:445)
	at org.apache.solr.client.solrj.impl.HttpClientUtil.setMaxConnections(HttpClientUtil.java:179)
	at org.apache.solr.client.solrj.impl.HttpClientConfigurer.configure(HttpClientConfigurer.java:33)
	at org.apache.solr.client.solrj.impl.HttpClientUtil.configureClient(HttpClientUtil.java:115)
	at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(HttpClientUtil.java:105)
	at org.apache.solr.client.solrj.impl.HttpSolrServer.<init>(HttpSolrServer.java:154)
	at org.apache.solr.client.solrj.impl.HttpSolrServer.<init>(HttpSolrServer.java:127)

Mime
View raw message