[
https://issues.apache.org/jira/browse/HUDI-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinoth Chandar updated HUDI-142:
--------------------------------
Status: New (was: Open)
> GCS: Hoodie-CLI failing with NoSuchMethodError:
> -----------------------------------------------
>
> Key: HUDI-142
> URL: https://issues.apache.org/jira/browse/HUDI-142
> Project: Apache Hudi (incubating)
> Issue Type: Bug
> Components: CLI
> Reporter: Balaji Varadarajan
> Priority: Minor
> Labels: gcs-parity
>
> “””
> 19/05/08 02:54:39 WARN util.NativeCodeLoader: Unable to load native-hadoop
> library for your platform... using builtin-java classes where applicable
> Command failed java.lang.NoSuchMethodError:
> org.apache.hadoop.hdfs.DFSUtil.getRandom()Ljava/util/Random;
> Exception in thread "Spring Shell" java.lang.NoSuchMethodError:
> org.apache.hadoop.hdfs.DFSUtil.getRandom()Ljava/util/Random;
>
> “””
>
> _Status_: Can be fixed by making hoodie-cli as fat-jar. Suggested workaround
> for now is to include HADOOP_HOME/lib/* in classpath along with
> hoodie-utilities-bundle and remove hoodie-cli/target/lib/* from classpath
--
This message was sent by Atlassian Jira
(v8.3.4#803005)