My Bad!!! I was pointing to wrong jar..sorry for this...
On Thu, Mar 13, 2014 at 4:11 PM, Bikash Gupta <[email protected]>wrote: > Hi, > > Running Kmeans in cluster of CDH 4.6 I have a new issue with commons-io > compatibility > > Exception in thread "main" java.lang.NoSuchMethodError: > org.apache.commons.io.IOUtils.closeQuietly(Ljava/io/Closeable;)V > at > org.apache.hadoop.hdfs.DFSInputStream.getBlockReader(DFSInputStream.java:1107) > at > org.apache.hadoop.hdfs.DFSInputStream.blockSeekTo(DFSInputStream.java:539) > at > org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:738) > at > org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:782) > at java.io.DataInputStream.readFully(DataInputStream.java:195) > at java.io.DataInputStream.readFully(DataInputStream.java:169) > at > org.apache.hadoop.io.SequenceFile$Reader.init(SequenceFile.java:1800) > at > org.apache.hadoop.io.SequenceFile$Reader.initialize(SequenceFile.java:1765) > at > org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1714) > at > org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1728) > at > org.apache.mahout.common.iterator.sequencefile.SequenceFileValueIterator.<init>(SequenceFileValueIterator.java:56) > at > org.apache.mahout.clustering.iterator.ClusterIterator.isConverged(ClusterIterator.java:207) > at > org.apache.mahout.clustering.iterator.ClusterIterator.iterateMR(ClusterIterator.java:188) > at > org.apache.mahout.clustering.kmeans.KMeansDriver.buildClusters(KMeansDriver.java:217) > at > org.apache.mahout.clustering.kmeans.KMeansDriver.run(KMeansDriver.java:140) > at > org.apache.mahout.clustering.kmeans.KMeansDriver.run(KMeansDriver.java:103) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > > Any suggestion? > > -- > Thanks & Regards > Bikash Gupta > -- Thanks & Regards Bikash Kumar Gupta
