[
https://issues.apache.org/jira/browse/STORM-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13991597#comment-13991597
]
ASF GitHub Bot commented on STORM-308:
--------------------------------------
Github user ChitturiPadma commented on a diff in the pull request:
https://github.com/apache/incubator-storm/pull/102#discussion_r12362693
--- Diff: bin/storm.cmd ---
@@ -106,6 +106,12 @@
:drpc
set CLASS=backtype.storm.daemon.drpc
set STORM_OPTS=%STORM_SERVER_OPTS% %STORM_OPTS%
+ %JAVA% -client -Dstorm.options= -Dstorm.conf.file= -cp %CLASSPATH%
backtype.storm.command.config_value drpc.childopts > temp.txt
+ FOR /F "tokens=1,* delims= " %%i in (temp.txt) do (
+ if %%i == VALUE: (
+ set JAVA_HEAP_MAX=%%j )
--- End diff --
Infact, storm python script doesn't use JAVA_HEAP_MAX. The .cmd files use
JAVA_HEAP_MAX as childopts value. If required, we could consider new variable
for childopts. My concern is....does JAVA_HEAP_MAX required ? If required, how
could we run storm daemons with both JAVA_HEAP_MAX and chilopts value specified
on the command line..as they both seem to be in same format as .. -Xmx%%%m
> Storm Windows: Add support for config_value to
> {supervisor,nimbus,ui,drpc,logviewer} childopts
> ----------------------------------------------------------------------------------------------
>
> Key: STORM-308
> URL: https://issues.apache.org/jira/browse/STORM-308
> Project: Apache Storm (Incubating)
> Issue Type: New Feature
> Environment: Windows
> Reporter: Padma Priya Chitturi
> Attachments: storm-308.patch, storm-config-308.patch
>
>
> Added fixes that would read config_values from storm.yaml for childopts
--
This message was sent by Atlassian JIRA
(v6.2#6252)