text stringlengths 0 834k |
|---|
FOR /F ""delims="" %%i in (%CMD_TEMP_FILE%) do ( |
FOR /F ""tokens=1,* delims= "" %%a in (""%%i"") do ( |
if %%a == VALUE: ( |
set CHILDOPTS=%%b |
call :set_childopts) |
) |
) |
goto :eof |
:nimbus |
set CLASS=org.apache.storm.daemon.nimbus |
set STORM_OPTS=%STORM_OPTS% -Ddaemon.name=nimbus |
""%JAVA%"" -client -Dstorm.options= -Dstorm.conf.file= -cp ""%CLASSPATH%"" org.apache.storm.command.config_value nimbus.childopts > %CMD_TEMP_FILE% |
FOR /F ""delims="" %%i in (%CMD_TEMP_FILE%) do ( |
FOR /F ""tokens=1,* delims= "" %%a in (""%%i"") do ( |
if %%a == VALUE: ( |
set CHILDOPTS=%%b |
call :set_childopts) |
) |
) |
goto :eof |
:rebalance |
set CLASS=org.apache.storm.command.rebalance |
set STORM_OPTS=%STORM_CLIENT_OPTS% %STORM_OPTS% |
goto :eof |
:remoteconfvalue |
set CLASS=org.apache.storm.command.config_value |
set STORM_OPTS=%STORM_CLIENT_OPTS% %STORM_OPTS% |
goto :eof |
:repl |
set CLASS=clojure.main |
set STORM_OPTS=%STORM_CLIENT_OPTS% %STORM_OPTS% |
goto :eof |
:shell |
set CLASS=org.apache.storm.command.shell_submission |
set STORM_OPTS=%STORM_CLIENT_OPTS% %STORM_OPTS% |
goto :eof |
:supervisor |
set CLASS=org.apache.storm.daemon.supervisor.Supervisor |
set STORM_OPTS=%STORM_OPTS% -Ddaemon.name=supervisor |
""%JAVA%"" -client -Dstorm.options= -Dstorm.conf.file= -cp ""%CLASSPATH%"" org.apache.storm.command.config_value supervisor.childopts > %CMD_TEMP_FILE% |
FOR /F ""delims="" %%i in (%CMD_TEMP_FILE%) do ( |
FOR /F ""tokens=1,* delims= "" %%a in (""%%i"") do ( |
if %%a == VALUE: ( |
set CHILDOPTS=%%b |
call :set_childopts) |
) |
) |
goto :eof |
:ui |
set CLASS=org.apache.storm.ui.core |
set STORM_OPTS=%STORM_OPTS% -Ddaemon.name=ui |
set CLASSPATH=%CLASSPATH%;%STORM_HOME% |
""%JAVA%"" -client -Dstorm.options= -Dstorm.conf.file= -cp ""%CLASSPATH%"" org.apache.storm.command.config_value ui.childopts > %CMD_TEMP_FILE% |
FOR /F ""delims="" %%i in (%CMD_TEMP_FILE%) do ( |
FOR /F ""tokens=1,* delims= "" %%a in (""%%i"") do ( |
if %%a == VALUE: ( |
set CHILDOPTS=%%b |
call :set_childopts) |
) |
) |
goto :eof |
:version |
set CLASS=org.apache.storm.utils.VersionInfo |
set STORM_OPTS=%STORM_CLIENT_OPTS% %STORM_OPTS% |
goto :eof |
:makeServiceXml |
set arguments=%* |
@echo ^<service^> |
@echo ^<id^>storm_%storm-command%^</id^> |
@echo ^<name^>storm_%storm-command%^</name^> |
@echo ^<description^>This service runs Storm %storm-command%^</description^> |
@echo ^<executable^>%JAVA%^</executable^> |
@echo ^<arguments^>%arguments%^</arguments^> |
@echo ^</service^> |
goto :eof |
:make_command_arguments |
if ""%2"" == """" goto :eof |
set _count=0 |
set _shift=1 |
for %%i in (%*) do ( |
set /a _count=!_count!+1 |
if !_count! GTR %_shift% ( |
if not defined _arguments ( |
set _arguments=%%i |
) else ( |
set _arguments=!_arguments! %%i |
) |
) |
) |
set storm-command-arguments=%_arguments% |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.