Hi all, I want to run a unit test by using hadoop-hdfs-2.9.2-tests.jar in hadoop-2.9.2/share/hadoop/hdfs.
1. It didn't work to run the followed command. (yarn jar hadoop-2.9.2/share/hadoop/hdfs/hadoop-hdfs-2.9.2-tests.jar TestWriteRead) The error message said that there is no main class name. 2. I also tried to manually compile the wordcount class and it failed. - javac -classpath ${HADOOP_CLASSPATH} -d 'hdfs-test/TestWriteRead-cp/' '/home/hduser/hdfs-test/TestWriteRead.java' - jar -cvf TestRW.jar -c TestWriteRead-cp . but it didn't work. How Can I run hdfs-tests.jar ?? Best Regards, Daegyu Han --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@hadoop.apache.org For additional commands, e-mail: user-h...@hadoop.apache.org