|
@@ -47,7 +47,7 @@ if "%1" == "--config" (
|
|
goto print_usage
|
|
goto print_usage
|
|
)
|
|
)
|
|
|
|
|
|
- set hdfscommands=dfs namenode secondarynamenode journalnode zkfc datanode dfsadmin haadmin fsck balancer jmxget oiv oev fetchdt getconf groups snapshotDiff lsSnapshottableDir cacheadmin
|
|
|
|
|
|
+ set hdfscommands=dfs namenode secondarynamenode journalnode zkfc datanode dfsadmin haadmin fsck balancer jmxget oiv oev fetchdt getconf groups snapshotDiff lsSnapshottableDir cacheadmin mover
|
|
for %%i in ( %hdfscommands% ) do (
|
|
for %%i in ( %hdfscommands% ) do (
|
|
if %hdfs-command% == %%i set hdfscommand=true
|
|
if %hdfs-command% == %%i set hdfscommand=true
|
|
)
|
|
)
|
|
@@ -150,6 +150,11 @@ goto :eof
|
|
set CLASS=org.apache.hadoop.hdfs.tools.CacheAdmin
|
|
set CLASS=org.apache.hadoop.hdfs.tools.CacheAdmin
|
|
goto :eof
|
|
goto :eof
|
|
|
|
|
|
|
|
+:mover
|
|
|
|
+ set CLASS=org.apache.hadoop.hdfs.server.mover.Mover
|
|
|
|
+ set HADOOP_OPTS=%HADOOP_OPTS% %HADOOP_MOVER_OPTS%
|
|
|
|
+ goto :eof
|
|
|
|
+
|
|
@rem This changes %1, %2 etc. Hence those cannot be used after calling this.
|
|
@rem This changes %1, %2 etc. Hence those cannot be used after calling this.
|
|
:make_command_arguments
|
|
:make_command_arguments
|
|
if "%1" == "--config" (
|
|
if "%1" == "--config" (
|
|
@@ -198,6 +203,7 @@ goto :eof
|
|
@echo lsSnapshottableDir list all snapshottable dirs owned by the current user
|
|
@echo lsSnapshottableDir list all snapshottable dirs owned by the current user
|
|
@echo Use -help to see options
|
|
@echo Use -help to see options
|
|
@echo cacheadmin configure the HDFS cache
|
|
@echo cacheadmin configure the HDFS cache
|
|
|
|
+ @echo mover run a utility to move block replicas across storage types
|
|
@echo.
|
|
@echo.
|
|
@echo Most commands print help when invoked w/o parameters.
|
|
@echo Most commands print help when invoked w/o parameters.
|
|
|
|
|