|
@@ -122,7 +122,7 @@ call :updatepath %HADOOP_BIN_PATH%
|
|
)
|
|
)
|
|
)
|
|
)
|
|
|
|
|
|
- set corecommands=fs version jar checknative distcp daemonlog archive classpath
|
|
|
|
|
|
+ set corecommands=fs version jar checknative distcp daemonlog archive classpath credential key
|
|
for %%i in ( %corecommands% ) do (
|
|
for %%i in ( %corecommands% ) do (
|
|
if %hadoop-command% == %%i set corecommand=true
|
|
if %hadoop-command% == %%i set corecommand=true
|
|
)
|
|
)
|
|
@@ -182,6 +182,14 @@ call :updatepath %HADOOP_BIN_PATH%
|
|
set CLASS=org.apache.hadoop.util.Classpath
|
|
set CLASS=org.apache.hadoop.util.Classpath
|
|
goto :eof
|
|
goto :eof
|
|
|
|
|
|
|
|
+:credential
|
|
|
|
+ set CLASS=org.apache.hadoop.security.alias.CredentialShell
|
|
|
|
+ goto :eof
|
|
|
|
+
|
|
|
|
+:key
|
|
|
|
+ set CLASS=org.apache.hadoop.crypto.key.KeyShell
|
|
|
|
+ goto :eof
|
|
|
|
+
|
|
:updatepath
|
|
:updatepath
|
|
set path_to_add=%*
|
|
set path_to_add=%*
|
|
set current_path_comparable=%path%
|
|
set current_path_comparable=%path%
|
|
@@ -238,6 +246,8 @@ call :updatepath %HADOOP_BIN_PATH%
|
|
@echo archive -archiveName NAME -p ^<parent path^> ^<src^>* ^<dest^> create a hadoop archive
|
|
@echo archive -archiveName NAME -p ^<parent path^> ^<src^>* ^<dest^> create a hadoop archive
|
|
@echo classpath prints the class path needed to get the
|
|
@echo classpath prints the class path needed to get the
|
|
@echo Hadoop jar and the required libraries
|
|
@echo Hadoop jar and the required libraries
|
|
|
|
+ @echo credential interact with credential providers
|
|
|
|
+ @echo key manage keys via the KeyProvider
|
|
@echo daemonlog get/set the log level for each daemon
|
|
@echo daemonlog get/set the log level for each daemon
|
|
@echo or
|
|
@echo or
|
|
@echo CLASSNAME run the class named CLASSNAME
|
|
@echo CLASSNAME run the class named CLASSNAME
|