HBASE-13589 [WINDOWS] hbase.cmd script is broken
This commit is contained in:
parent
5e3127304d
commit
3d22c74cb4
|
@ -88,8 +88,8 @@ if "%hbase-command%"=="" (
|
||||||
goto :eof
|
goto :eof
|
||||||
)
|
)
|
||||||
|
|
||||||
set JAVA_HEAP_MAX=""
|
set JAVA_HEAP_MAX=
|
||||||
set JAVA_OFFHEAP_MAX=""
|
set JAVA_OFFHEAP_MAX=
|
||||||
|
|
||||||
rem check envvars which might override default args
|
rem check envvars which might override default args
|
||||||
if defined HBASE_HEAPSIZE (
|
if defined HBASE_HEAPSIZE (
|
||||||
|
@ -294,7 +294,7 @@ if not defined HBASE_SECURITY_LOGGER (
|
||||||
)
|
)
|
||||||
set HBASE_OPTS=%HBASE_OPTS% -Dhbase.security.logger="%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%
|
set java_arguments=%HEAP_SETTINGS% %HBASE_OPTS% -classpath "%CLASSPATH%" %CLASS% %hbase-command-arguments%
|
||||||
|
|
||||||
if defined service_entry (
|
if defined service_entry (
|
||||||
|
|
Loading…
Reference in New Issue