Support Questions
Find answers, ask questions, and share your expertise

Getting error from HDFS client


Hello Community,


I am getting an error whenever I attempt to move data back and forth between a hdfs client and my cluster. That is, I can run commands such as "hadoop fs -ls" successfully, but when I try to run "copyToLocal", "moveFromLocal", or "cat," I get this error.  The error follows. The full error trace is at the bottom of this post. 



Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.fs.FsServerDefaults.<init>(JIISIZJLorg/apache/hadoop/util/DataChecksum$Type;)V


I have ensured that both my cluster and the rpm's on the afflicted host are both at 5.12.0

hadoop-hdfs-2.6.0+cdh5.12.0+2512-1.cdh5.12.0.p0.38.el7.x86_64 on the client to be exact. 


I have tried multiple versions of Java on the client, including Oracle jdk 1.8 and openjdk 1.8. The server is running the Oracle 1.7 JDK that came with Cloudera.