davidchiu created SOLR-7948:
-------------------------------
Summary: MapReduceIndexerTool of solr 5.2.1 doesn't work with
hadoop 2.7.1
Key: SOLR-7948
URL: https://issues.apache.org/jira/browse/SOLR-7948
Project: Solr
Issue Type: Bug
Components: contrib - MapReduce
Affects Versions: 5.2.1
Environment: OS:suse 11
JDK:java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
HADOOP:hadoop 2.7.1
SOLR:5.2.1
Reporter: davidchiu
When I used MapReduceIndexerTool of 5.2.1 to index files, I got follwoing
errors,but I used 4.9.0's MapReduceIndexerTool, it did work with hadoop 2.7.1.
Exception ERROR as following:
2015-08-20 11:19:57,335 INFO [main] mapreduce.Job
(Job.java:printTaskEvents(1406)) - Task Id :
attempt_1440040092614_0001_r_000002_0, Status : FAILED
Error: Bad return type
Exception Details:
Location:
org/apache/solr/client/solrj/impl/HttpClientUtil.createClient(Lorg/apache/solr/common/params/SolrParams;Lorg/apache/http/conn/ClientConnectionManager;)Lorg/apache/http/impl/client/CloseableHttpClient;
@62: areturn
Reason:
Type 'org/apache/http/impl/client/DefaultHttpClient' (current frame,
stack[0]) is not assignable to
'org/apache/http/impl/client/CloseableHttpClient' (from method signature)
Current Frame:
bci: @62
flags: { }
locals: { 'org/apache/solr/common/params/SolrParams',
'org/apache/http/conn/ClientConnectionManager',
'org/apache/solr/common/params/ModifiableSolrParams',
'org/apache/http/impl/client/DefaultHttpClient' }
stack: { 'org/apache/http/impl/client/DefaultHttpClient' }
Bytecode:
0000000: bb00 0359 2ab7 0004 4db2 0005 b900 0601
0000010: 0099 001e b200 05bb 0007 59b7 0008 1209
0000020: b600 0a2c b600 0bb6 000c b900 0d02 00bb
0000030: 0011 592b b700 124e 2d2c b800 102d b0
Stackmap Table:
append_frame(@47,Object[#127])
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]