You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by ChitturiPadma <gi...@git.apache.org> on 2014/05/07 08:20:12 UTC

[GitHub] incubator-storm pull request: STORM-308 Add support for config_val...

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---