Github user ChitturiPadma commented on a diff in the pull request:

    https://github.com/apache/incubator-storm/pull/102#discussion_r12363001
  
    --- 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
    
    
    On Tue, May 6, 2014 at 8:39 PM, Robert (Bobby) Evans <
    [email protected]> wrote:
    
    > In 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 )
    >
    > Why JAVA_HEAP_MAX? I can see that it works, but it is not an intuitive
    > place to put them at all. And what happens if someone else sets
    > JAVA_HEAP_MAX. This will stomp on it.
    >
    > —
    > Reply to this email directly or view it on 
GitHub<https://github.com/apache/incubator-storm/pull/102/files#r12329242>
    > .
    >


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to