bvaradar commented on issue #1787:
URL: https://github.com/apache/hudi/issues/1787#issuecomment-662166742


   @asheeshgarg : JSONException class is coming from 
https://mvnrepository.com/artifact/org.json/json There is licensing issue and 
hence not part of hudi bundle packages. The underlying issue is due to  Hive 
1.x vs 2.x ( See 
https://issues.apache.org/jira/browse/HUDI-150?jql=text%20~%20%22org.json%22%20and%20project%20%3D%20%22Apache%20Hudi%22%20)
  
   
   Spark Hive integration still brings in hive 1.x jars which depends on 
org.json.  I believe this was provided in user's environment and hence we have 
not seen folks complaining about this issue. 
   
   Even though this is not Hudi issue per se, let me check a jar with 
compatible license : https://mvnrepository.com/artifact/com.tdunning/json/1.8 
and if it works, we will add to 0.6 bundles after discussing with community. 
Meanwhile, can you add the json jar ( 
https://mvnrepository.com/artifact/com.tdunning/json/1.8 or 
https://mvnrepository.com/artifact/org.json/json) in your classpath and this 
should resolve the issue.
   
   Tracking Jira: https://issues.apache.org/jira/browse/HUDI-1117


----------------------------------------------------------------
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:
[email protected]


Reply via email to