Nick Dimiduk created PHOENIX-2516:
-------------------------------------

             Summary: Jets3t version misspatch while using bulkload of s3 files
                 Key: PHOENIX-2516
                 URL: https://issues.apache.org/jira/browse/PHOENIX-2516
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.7.0
            Reporter: Nick Dimiduk


Using the new JSON loader to ingest files from S3, I'm encountering the 
following exception:

{noformat}
Caused by: java.lang.NoSuchFieldError: connPerRoute
        at 
org.jets3t.service.utils.RestUtils$ThreadSafeConnManager.createConnectionPool(RestUtils.java:640)
 ~[jets3t-0.9.0.jar:na]
        at 
org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager.<init>(ThreadSafeClientConnManager.java:103)
 ~[httpclient-4.0.1.jar:4.0.1]
        at 
org.jets3t.service.utils.RestUtils$ThreadSafeConnManager.<init>(RestUtils.java:618)
 ~[jets3t-0.9.0.jar:na]
        at 
org.jets3t.service.utils.RestUtils$ConnManagerFactory.newInstance(RestUtils.java:603)
 ~[jets3t-0.9.0.jar:na]
        at 
org.apache.http.impl.client.DefaultHttpClient.createClientConnectionManager(DefaultHttpClient.java:242)
 ~[httpclient-4.0.1.jar:4.0.1]
        at 
org.apache.http.impl.client.AbstractHttpClient.getConnectionManager(AbstractHttpClient.java:312)
 ~[httpclient-4.0.1.jar:4.0.1]
        at 
org.apache.http.impl.client.DefaultHttpClient.createHttpContext(DefaultHttpClient.java:254)
 ~[httpclient-4.0.1.jar:4.0.1]
        at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:618)
 ~[httpclient-4.0.1.jar:4.0.1]
        at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
 ~[httpclient-4.0.1.jar:4.0.1]
        at 
org.jets3t.service.impl.rest.httpclient.RestStorageService.performRequest(RestStorageService.java:334)
 ~[jets3t-0.9.0.jar:na]
        ... 37 common frames omitted
{noformat}

Looks like our version of Pig (0.13.0-h2) depends on jets3t 0.7.1, while our 
Hadoop dependency (2.5.1) is on jets3t 0.9.0.



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

Reply via email to