[ 
https://issues.apache.org/jira/browse/HADOOP-6383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780767#action_12780767
 ] 

Ravi Phulari commented on HADOOP-6383:
--------------------------------------

Also it will be great to have bin/start-dnc.sh and bin/stop-dnc.sh. 

Purpose of bin/start-dnc.sh 
1) Start simulated data node cluster with given number of simulated data nodes 
and pre injected blocks in each DNC.
2) Start name node with edit log created for pre injected blocks.

Purpose of bin/stop-dnc.sh 
1) Stop Namenode and DNC. 

> Add simulated data node cluster start/stop commands in hadoop-dameon.sh .
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-6383
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6383
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Ravi Phulari
>
> Currently there are no commands supported for starting or stopping simulated 
> data node clusters.
> To start simulated data node cluster we need to export extra class paths 
> required for DataNodeCluster.
>  
> {noformat}
> bin/hadoop-daemon.sh start org.apache.hadoop.hdfs.DataNodeCluster  -simulated 
> -n $DATANODE_PER_HOST -inject $STARTING_BLOCK_ID $BLOCKS_PER_DN  
> {noformat}
> {noformat}
> bin/hadoop-daemon.sh stop org.apache.hadoop.hdfs.DataNodeCluster  -simulated  
> {noformat}
> For better user interface we should add DataNodeCluster start stop option in 
> hadoop-daemon.sh

-- 
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