Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to benchmark hadoop on k8s-cluster #76

Open
shashank855 opened this issue Sep 9, 2019 · 1 comment
Open

Unable to benchmark hadoop on k8s-cluster #76

shashank855 opened this issue Sep 9, 2019 · 1 comment

Comments

@shashank855
Copy link

shashank855 commented Sep 9, 2019

  • I have deployed HDFS on k8s-cluster following the HDFS repo readme. I have used OpenEBS for the HDFS volumes. All components are running fine.
  • Now I want to benchmark hdfs. I tried using TeraGen, I exec inside hdfs client pod, went to path /opt/hadoop-2.7.2/share/hadoop/hdfs and run this command: hadoop jar hadoop-hdfs-2.7.2-tests.jar TestDFSIO -write -nrFiles 1 -fileSize 1000 . But it didn't worked and the folowing output.
root@my-hdfs-client-544d894fc7-vnljw:/opt/hadoop-2.7.2/share/hadoop/hdfs# hadoop jar hadoop-hdfs-2.7.2.jar TestDFSIO -write -nrFiles 1 -fileSize 1000
Exception in thread "main" java.lang.ClassNotFoundException: TestDFSIO
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:348)
	at org.apache.hadoop.util.RunJar.run(RunJar.java:214)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)

I don't khow how to proceed. I didn't found any steps or reference docs on the official github repo.

@thucnd55
Copy link

Hello shashank855 .
How about Benchmark hdfs on K8s now ? I'm try to benchmark it ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants