[ 
https://issues.apache.org/jira/browse/MAPREDUCE-987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418405#comment-13418405
 ] 

Alejandro Abdelnur commented on MAPREDUCE-987:
----------------------------------------------

Ahmed, a couple of Nits in the docs:

*1* 

The sentence:

+  The CLI MiniCLuster can
+  start a full Hadoop cluster including the <<<Yarn>>> <<<ResourceManager>>>,
+  <<<NodeManager(s)>>>, and <<<HDFS>>> <<<NameNode>>> and <<<DataNode(s)>>>, in
+  addition to the <<<MapReduce>>> <<<JobHistoryServer>>>.

it is a bit too complex, why not just replace it with:

The CLI MiniCluster starts both a YARN/MapReduce & HDFS clusters.

*2*

Instead using VERSION and a paragraph explaining what VERSION has to be 
replaced with, you can use ${project.version}, within *.apt.vm files you can 
use Maven variables.


                
> Exposing MiniDFS and MiniMR clusters as a single process command-line
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-987
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-987
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: build, test
>            Reporter: Philip Zeyliger
>            Assignee: Philip Zeyliger
>            Priority: Minor
>         Attachments: HDFS-621-0.20-patch, HDFS-621.patch, 
> MAPREDUCE-987.patch, MAPREDUCE-987.patch, MAPREDUCE-987_branch-1.0.patch, 
> MAPREDUCE-987_rev2.patch, MAPREDUCE-987_rev3.patch
>
>
> It's hard to test non-Java programs that rely on significant mapreduce 
> functionality.  The patch I'm proposing shortly will let you just type 
> "bin/hadoop jar hadoop-hdfs-hdfswithmr-test.jar minicluster" to start a 
> cluster (internally, it's using Mini{MR,HDFS}Cluster) with a specified number 
> of daemons, etc.  A test that checks how some external process interacts with 
> Hadoop might start minicluster as a subprocess, run through its thing, and 
> then simply kill the java subprocess.
> I've been using just such a system for a couple of weeks, and I like it.  
> It's significantly easier than developing a lot of scripts to start a 
> pseudo-distributed cluster, and then clean up after it.  I figure others 
> might find it useful as well.
> I'm at a bit of a loss as to where to put it in 0.21.  hdfs-with-mr tests 
> have all the required libraries, so I've put it there.  I could conceivably 
> split this into "minimr" and "minihdfs", but it's specifically the fact that 
> they're configured to talk to each other that I like about having them 
> together.  And one JVM is better than two for my test programs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to