HDFS Forum

Cannot do Stress Testing

  • #43604


    I am unable to find the jars hadoop-test-* in the HDP2.0.* versions and hence not able to do the performance checks (like commands TESTDFSIO). Please let me know where these jars wil be available or how can theses kinds of tests be done in HDP 2.0


to create new topics or reply. | New User Registration

  • Author
  • #43666
    Prem Jain

    I have the same issue. Cant find the jar file to run the benchmarks.

    Divya Tuduma

    It is present under the directory /usr/lib/hadoop-mapreduce and the jar is : hadoop-mapreduce-examples- Hope it helped.



    I was able to find the JARS, but still unable to execute the commands. I tried doing the testing in both HDP 2.0.2 and HDP 2.0.6 but getting the ‘No such method error’. Below is the error , please let me know if there is a solution.

    # hadoop jar /usr/lib/hadoop-0.20-mapreduce/hadoop-test.jar TestDFSIO -write -nrFiles 10 -fileSize 100
    java.lang.NoSuchMethodError: org.apache.hadoop.util.ProgramDriver.driver([Ljava/lang/String;)I
    at org.apache.hadoop.test.AllTestDriver.main(AllTestDriver.java:81)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:212)

    Tom Stewart

    Use the locate command with xargs if you have both:

    [ads@zlabads23 hadoop-mapreduce]$ locate hadoop-mapreduce*.jar | xargs grep DFS
    Binary file /usr/lib/hadoop-mapreduce/hadoop-mapreduce-client-jobclient- matches

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.