[
https://issues.apache.org/jira/browse/STORM-2178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15623005#comment-15623005
]
Saad Ahmed commented on STORM-2178:
-----------------------------------
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
> version not being returned on Windows
> -------------------------------------
>
> Key: STORM-2178
> URL: https://issues.apache.org/jira/browse/STORM-2178
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Affects Versions: 1.0.0, 1.0.1, 1.0.2
> Environment: Windows 7, Windows 10
> Reporter: Saad Ahmed
>
> "storm.cmd version" returns blank string.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)