Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am using the tHDFSList to list out the content of a HDFS directory using Talend Data Fabric. However, when I run the job, I received following component. Detailed error is attached.
[WARN ] 12:37:18 org.apache.hadoop.util.NativeCodeLoader- Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
log4j:ERROR Could not instantiate class [org.apache.hadoop.metrics.jvm.EventCounter].
Hello,
It looks like there is an improper library issue. org.apache.hadoop.metrics.jvm.EventCounter seems to be deprecated and maybe no more available in Hadoop 3.
Are you getting this issue in V 7.3.1? Could you please check your cluster Hadoop version and your job lib folder to see if somehow it contains some Hadoop 2 jars please?
We have seen that you've raised a support case already. Please wait for talend support team response to see if any patch will be delivered to fix this issue.
Best regards
Sabrina
Hello,
It looks like there is an improper library issue. org.apache.hadoop.metrics.jvm.EventCounter seems to be deprecated and maybe no more available in Hadoop 3.
Are you getting this issue in V 7.3.1? Could you please check your cluster Hadoop version and your job lib folder to see if somehow it contains some Hadoop 2 jars please?
We have seen that you've raised a support case already. Please wait for talend support team response to see if any patch will be delivered to fix this issue.
Best regards
Sabrina
Hi, yes. use new patches resolved the issue. thanks.
Hello,
Great the new patch works. Feel free to let us know if there is any further help we can give.
Best regards
Sabrina
Hi,
I have same problem in Talend Open Studio. Currently, I have used tHiveInput component in Talend Open Studio 8.0.1.
Error message is down below.
log4j:ERROR Could not instantiate class [org.apache.hadoop.metrics.jvm.EventCounter].
java.lang.ClassNotFoundException: org.apache.hadoop.metrics.jvm.EventCounter
How can I solve this problem? How do I apply new patches for my job?
Regards,
9ins
And my job's lib directory files is like below.
I have been working on my job in Hive 3.1.0 by HortonWorks. As you can see, I clearly used Hadoop 3.x libraries in my job.
Please let me know why exectly this problem was happened and How to fix this problem gently.
Regards,
9ins