HADOOP-9831. Make checknative shell command accessible on Windows. Contributed by Chris Nauroth.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1512101 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c03c8fe199
commit
7705d57a78
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -14,5 +14,6 @@
|
||||
*.sh text eol=lf
|
||||
|
||||
*.bat text eol=crlf
|
||||
*.cmd text eol=crlf
|
||||
*.csproj text merge=union eol=crlf
|
||||
*.sln text merge=union eol=crlf
|
||||
|
@ -352,6 +352,8 @@ Release 2.1.1-beta - UNRELEASED
|
||||
HADOOP-9527. Add symlink support to LocalFileSystem on Windows.
|
||||
(Arpit Agarwal via cnauroth)
|
||||
|
||||
HADOOP-9831. Make checknative shell command accessible on Windows. (cnauroth)
|
||||
|
||||
Release 2.1.0-beta - 2013-08-06
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -119,7 +119,7 @@ call :updatepath %HADOOP_BIN_PATH%
|
||||
goto :eof
|
||||
)
|
||||
|
||||
set corecommands=fs version jar distcp daemonlog archive
|
||||
set corecommands=fs version jar checknative distcp daemonlog archive
|
||||
for %%i in ( %corecommands% ) do (
|
||||
if %hadoop-command% == %%i set corecommand=true
|
||||
)
|
||||
@ -157,6 +157,10 @@ call :updatepath %HADOOP_BIN_PATH%
|
||||
set CLASS=org.apache.hadoop.util.RunJar
|
||||
goto :eof
|
||||
|
||||
:checknative
|
||||
set CLASS=org.apache.hadoop.util.NativeLibraryChecker
|
||||
goto :eof
|
||||
|
||||
:distcp
|
||||
set CLASS=org.apache.hadoop.tools.DistCp
|
||||
set CLASSPATH=%CLASSPATH%;%TOOL_PATH%
|
||||
@ -222,6 +226,7 @@ call :updatepath %HADOOP_BIN_PATH%
|
||||
@echo fs run a generic filesystem user client
|
||||
@echo version print the version
|
||||
@echo jar ^<jar^> run a jar file
|
||||
@echo checknative [-a^|-h] check native hadoop and compression libraries availability
|
||||
@echo distcp ^<srcurl^> ^<desturl^> copy file or directories recursively
|
||||
@echo archive -archiveName NAME -p ^<parent path^> ^<src^>* ^<dest^> create a hadoop archive
|
||||
@echo classpath prints the class path needed to get the
|
||||
|
Loading…
Reference in New Issue
Block a user