[ 
https://issues.apache.org/jira/browse/HDFS-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768391#action_12768391
 ] 

Erik Steffl commented on HDFS-587:
----------------------------------

How to run these test from command line:

./hadoop/bin/hadoop jar ./hadoop/hadoop-hdfs-hdfswithmr-test-0.21.0-dev.jar 
TestDFSIO -Dmapred.job.queue.name=anotherQueue -write

./hadoop/bin/hadoop jar ./hadoop/hadoop-hdfs-hdfswithmr-test-0.21.0-dev.jar 
DFSCIOTest -Dmapred.job.queue.name=anotherQueue -write

./hadoop/bin/hadoop jar ./hadoop/hadoop-hdfs-hdfswithmr-test-0.21.0-dev.jar 
DistributedFSCheck -Dmapred.job.queue.name=anotherQueue -write

This test is not part of this bug, it did use Configured and Tools already 
(i.e. no need to run it): ./hadoop/bin/hadoop jar 
./hadoop/hadoop-hdfs-hdfswithmr-test-0.21.0-dev.jar filebench

./hadoop/bin/hadoop jar ./hadoop/hadoop-hdfs-0.21.0-dev.jar 
org.apache.hadoop.fs.loadGenerator.StructureGenerator -maxDepth 10 -minWidth 1 
-maxWidth 10 -numOfFiles 5 -avgFileSize 2 -outDir /homes/steffl/tmp -seed 1000 
# doesn't use queue, no mapreduce

./hadoop/bin/hadoop jar ./hadoop/hadoop-hdfs-0.21.0-dev.jar 
org.apache.hadoop.fs.loadGenerator.TestLoadGenerator # doesn't use queue, no 
mapreduce

./hadoop/bin/hadoop jar ./hadoop/hadoop-hdfs-hdfswithmr-test-0.21.0-dev.jar 
nnbench -Dmapred.job.queue.name=anotherQueue -operation create_write

./hadoop/bin/hadoop jar ./hadoop/hadoop-hdfs-hdfswithmr-test-0.21.0-dev.jar  
NNBenchWithoutMR -Dmapred.job.queue.name=anotherQueue -operation create_write


Version 0.20 specifics:

  - different jar: hadoop-0.20.2-dev-test.jar

  - as far as I can tell there is no way to run NNBenchWithoutMR in 0.20, even 
in 0.21 it had to be added to HdfsWithMRTestDriver.java (don't know how it was 
ran before)

> Test programs support only default queue.
> -----------------------------------------
>
>                 Key: HDFS-587
>                 URL: https://issues.apache.org/jira/browse/HDFS-587
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>            Reporter: Sreekanth Ramakrishnan
>            Assignee: Erik Steffl
>         Attachments: jira.HDFS-587.branch-0.20-internal.1.patch, 
> jira.HDFS-587.branch-0.20-internal.patch, jira.HDFS-587.branch-0.21.patch
>
>
> Following test programs  always run on "default" queue even when other queues 
> are passed as job parameter.
> DFSCIOTest
> DistributedFSCheck
> TestDFSIO
> Filebench
> Loadgen
> Nnbench

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to