HBASE-13589 [WINDOWS] hbase.cmd script is broken

This commit is contained in:
Enis Soztutar 2015-04-28 17:15:53 -07:00
parent 5e3127304d
commit 3d22c74cb4
1 changed files with 6 additions and 6 deletions

View File

@ -88,8 +88,8 @@ if "%hbase-command%"=="" (
goto :eof
)
set JAVA_HEAP_MAX=""
set JAVA_OFFHEAP_MAX=""
set JAVA_HEAP_MAX=
set JAVA_OFFHEAP_MAX=
rem check envvars which might override default args
if defined HBASE_HEAPSIZE (
@ -118,8 +118,8 @@ if "%in_dev_env%"=="true" (
)
if not exist "%cached_classpath_filename%" (
echo "As this is a development environment, we need %cached_classpath_filename% to be generated from maven (command: mvn install -DskipTests)"
goto :eof
echo "As this is a development environment, we need %cached_classpath_filename% to be generated from maven (command: mvn install -DskipTests)"
goto :eof
)
for /f "delims=" %%i in ('type "%cached_classpath_filename%"') do set CLASSPATH=%CLASSPATH%;%%i
@ -251,7 +251,7 @@ if defined service_entry (
set HBASE_LOG_PREFIX=hbase-%hbase-command%-%COMPUTERNAME%
set HBASE_LOGFILE=!HBASE_LOG_PREFIX!.log
if not defined HBASE_ROOT_LOGGER (
set HBASE_ROOT_LOGGER=INFO,DRFA
set HBASE_ROOT_LOGGER=INFO,DRFA
)
set HBASE_SECURITY_LOGGER=INFO,DRFAS
set loggc=!HBASE_LOG_DIR!\!HBASE_LOG_PREFIX!.gc
@ -294,7 +294,7 @@ if not defined HBASE_SECURITY_LOGGER (
)
set HBASE_OPTS=%HBASE_OPTS% -Dhbase.security.logger="%HBASE_SECURITY_LOGGER%"
set HEAP_SETTINGS="%JAVA_HEAP_MAX% %JAVA_OFFHEAP_MAX%"
set HEAP_SETTINGS=%JAVA_HEAP_MAX% %JAVA_OFFHEAP_MAX%
set java_arguments=%HEAP_SETTINGS% %HBASE_OPTS% -classpath "%CLASSPATH%" %CLASS% %hbase-command-arguments%
if defined service_entry (