Browse Source

HDFS-14000. RBF: Documentation should reflect right scripts for v3.0 and above. Contributed by CR Hota.

(cherry picked from commit 7347fa2df3cfd48857f4ded3539a60101d026daf)
Inigo Goiri 6 years ago
parent
commit
30b65ea18f

+ 2 - 2
hadoop-hdfs-project/hadoop-hdfs-rbf/src/site/markdown/HDFSRouterFederation.md

@@ -179,11 +179,11 @@ The rest of the options are documented in [hdfs-rbf-default.xml](../hadoop-hdfs-
 
 Once the Router is configured, it can be started:
 
-    [hdfs]$ $HADOOP_PREFIX/sbin/hadoop-daemon.sh --script $HADOOP_PREFIX/bin/hdfs start dfsrouter
+    [hdfs]$ $HADOOP_PREFIX/bin/hdfs --daemon start dfsrouter
 
 And to stop it:
 
-    [hdfs]$ $HADOOP_PREFIX/sbin/hadoop-daemon.sh --script $HADOOP_PREFIX/bin/hdfs stop dfsrouter
+    [hdfs]$ $HADOOP_PREFIX/bin/hdfs --daemon stop dfsrouter
 
 ### Mount table management