Also, if we use storm and therefore storm.py, then there is an error on line 92 where the python script checks for java instead of java.exe on Windows. Filed issue 2178 (version problem) and 2179 (java home detection).
JAVA_CMD = 'java' if not JAVA_HOME else os.path.join(JAVA_HOME, 'bin', 'java') <--- should check for java.exe on Windows On Mon, Oct 31, 2016 at 2:41 PM, moodysma sma <moody...@gmail.com> wrote: > It looks like STORM_DEBUG isn't applicable to "classpath help version" on > line 54 so it doesn't do anything. STORM_DEBUG is used on line 119 but a > call to jump to :version is made on line 59. > > set shellcommands=classpath help version > for %%i in ( %shellcommands% ) do ( > if %storm-command% == %%i set shellcommand=true > ) > if defined shellcommand ( > * call :%storm-command% %** > goto :eof > ) > > The actual code at :version doesn't do anything since it doesn't call a > command executable: > :version > set CLASS=org.apache.storm.utils.VersionInfo > set STORM_OPTS=%STORM_CLIENT_OPTS% %STORM_OPTS% > goto :eof > > I echoed %STORM_OPTS% in any case: > > -client -Dstorm.options= -Dstorm.home=E:\3rdParty\apache-storm-1.0.2 > -Djava.libr > ary.path=/usr/local/lib:/opt/local/lib:/usr/lib;E:\ > programming\Java\jdk1.8.0_111 > \bin;E:\programming\Java\jdk1.8.0_111\lib;E:\programming\ > Java\jdk1.8.0_111\jre\b > in;E:\programming\Java\jdk1.8.0_111\jre\lib -Dlog4j.configurationFile=" > file:///l > og4j2\cluster.xml" -Dstorm.log.dir=E:\3rdParty\apache-storm-1.0.2\logs > > > > > On Mon, Oct 31, 2016 at 1:48 PM, Bobby Evans <ev...@yahoo-inc.com.invalid> > wrote: > >> Hmm if nothing is being printed out it really feels like it is a problem >> in the storm.cmd file itself. Could you set STORM_DEBUG? It should print >> out what command is being run. >> The only other thing I can think of is that some of the config setup code >> ahead of this is failing some how. >> >> - Bobby >> >> On Monday, October 31, 2016, 6:21:32 AM CDT, moodysma sma < >> moody...@gmail.com> wrote:I checked it on two different Windows >> environments: Windows 10, Windows 7. >> The problem arises when downstream libs like streamparse check the >> version, >> they fail because they get back an empty/null string. I'm using >> storm.cmd. >> >> >> >> On Mon, Oct 31, 2016 at 11:59 AM, Bobby Evans <ev...@yahoo-inc.com.invalid >> > >> wrote: >> >> > That is really odd. I just downloaded it and got the following on my >> > mac. It looks like it is a windows bug. >> > >> > $ ./bin/storm version >> > ... >> > Storm 1.0.2 >> > URL https://git-wip-us.apache.org/repos/asf/storm.git -r >> > 54f319fd56c33437364c550a800ac9e6fe058b95 >> > Branch (no branch) >> > Compiled by tgoetz on 2016-07-26T19:12Z >> > From source with checksum 6c9bb8146b6db34f79a65df37d853fac >> > please file a JIRA at https://issues.apache.org/jira under the STORM >> > project and hopefully someone will take a look at it. There is nothing >> in >> > the java code that looks windows specific. Are you using storm or >> > storm.cmd? >> > - Bobby >> > >> > On Monday, October 31, 2016, 5:43:34 AM CDT, moodysma sma < >> > moody...@gmail.com> wrote:Hi, I am using the latest prebuilt release: >> > Storm 1.0.2 zip file. >> > Zookeeper 3.4.9. Java 1.8.0_111. >> > >> > >> > http://www.apache.org/dyn/closer.lua/storm/apache-storm- >> > 1.0.2/apache-storm-1.0.2.zip >> > >> > On Mon, Oct 31, 2016 at 10:53 AM, Bobby Evans >> <ev...@yahoo-inc.com.invalid >> > > >> > wrote: >> > >> > > What version of storm are you using? How was it packaged? In newer >> > > versions of storm the version is packaged in a properties file inside >> the >> > > storm-core jar. >> > > - Bobby >> > > >> > > On Sunday, October 30, 2016, 10:35:15 AM CDT, moodysma sma < >> > > moody...@gmail.com> wrote:When I type: "storm version" I get nothing >> > > back, The UI, nimbus, >> > > supervisor seem to be working but I think my install might not be >> > correct. >> > > Any ideas why version doesn't return anything? >> > > >> > >> > >