You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by GitBox <gi...@apache.org> on 2019/04/01 22:50:04 UTC

[GitHub] [sqoop] taklwu opened a new pull request #77: SQOOP-3435 Avoid NullPointerException due to different JSONObject library in classpath

taklwu opened a new pull request #77: SQOOP-3435 Avoid NullPointerException due to different JSONObject library in classpath
URL: https://github.com/apache/sqoop/pull/77
 
 
   
   
   Sqoop is expecting the classpath to have org.json [1] as the dependency
   but if one uses HADOOP_CLASSPATH to initialize sqoop executor
   with com.tdunning open json [2] as the resolution of org.json.JSONObject.
   it failed with NullPointerException
   
   1. https://mvnrepository.com/artifact/org.json/json/20090211
   2. https://github.com/tdunning/open-json/blob/rc1.8/src/main/java/org/json/JSONObject.java#L141-L155

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services