You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Max Bridgewater <ma...@gmail.com> on 2015/02/10 03:20:52 UTC

Newbie unable to run Storm on Windows

Hi Folks,

I am trying to run Storm on a Windows machine. I compiled the trunk and all
the samples without problem. Executing the samples, however results in
STORM complaining about STORM_HOME not being set properly.

I tried adding STORM_HOME at the beginning of to the storm.bat file. Then I
added it at the command line level, and then I added it in the environment
variables in Control Panel. None of this helped.

During all these attempts I had a log instruction at the beginning of the
storm.bat file and it clearly prints the value of the set variable  as I
would expect it to. But the STORM script complains nonetheless.

Here is the message I get:

Error: STORM_HOME is not set correctly. Please set your STORM_HOME variable
to the absolute path of the directory that contains the storm distribution.

STORM is deployed to the following directory, which is the exact one I set
as STORM_HOME: D:\Development\Workspaces\github\storm
To run the topology, I go to:

D:\Development\Workspaces\github\storm\examples\storm-starter

And issue the command:

..\..\bin\storm jar
target\storm-starter-0.10.0-SNAPSHOT-jar-with-dependencies.jar
storm.starter.ExclamationTopology

What am I missing?

Re: Newbie unable to run Storm on Windows

Posted by Max Bridgewater <ma...@gmail.com>.
Thanks alot. I got 0.9.3 running. Let me play with it a bit more and get
familiar with Storm in general.

On Mon, Feb 9, 2015 at 10:35 PM, P. Taylor Goetz <pt...@gmail.com> wrote:

> Trunk/master (i.e. 0.10.x) is currently in active development, and not yet
> released.
>
> One of the current focus areas is Windows support. If you have the time
> and resources, we'd encourage any feedback you could provide.
>
> Otherwise, I'd encourage you to use an official release.
>
>
> On Feb 9, 2015, at 9:20 PM, Max Bridgewater <ma...@gmail.com>
> wrote:
>
> Hi Folks,
>
> I am trying to run Storm on a Windows machine. I compiled the trunk and
> all the samples without problem. Executing the samples, however results in
> STORM complaining about STORM_HOME not being set properly.
>
> I tried adding STORM_HOME at the beginning of to the storm.bat file. Then
> I added it at the command line level, and then I added it in the
> environment variables in Control Panel. None of this helped.
>
> During all these attempts I had a log instruction at the beginning of the
> storm.bat file and it clearly prints the value of the set variable  as I
> would expect it to. But the STORM script complains nonetheless.
>
> Here is the message I get:
>
> Error: STORM_HOME is not set correctly. Please set your STORM_HOME
> variable to the absolute path of the directory that contains the storm
> distribution.
>
> STORM is deployed to the following directory, which is the exact one I set
> as STORM_HOME: D:\Development\Workspaces\github\storm
> To run the topology, I go to:
>
> D:\Development\Workspaces\github\storm\examples\storm-starter
>
> And issue the command:
>
> ..\..\bin\storm jar target\storm-starter-0.10.0-SNAPSHOT-jar-with-dependencies.jar storm.starter.ExclamationTopology
>
> What am I missing?
>
>

Re: Newbie unable to run Storm on Windows

Posted by "P. Taylor Goetz" <pt...@gmail.com>.
Trunk/master (i.e. 0.10.x) is currently in active development, and not yet released.

One of the current focus areas is Windows support. If you have the time and resources, we'd encourage any feedback you could provide.

Otherwise, I'd encourage you to use an official release.


> On Feb 9, 2015, at 9:20 PM, Max Bridgewater <ma...@gmail.com> wrote:
> 
> Hi Folks,
> 
> I am trying to run Storm on a Windows machine. I compiled the trunk and all the samples without problem. Executing the samples, however results in STORM complaining about STORM_HOME not being set properly.
> 
> I tried adding STORM_HOME at the beginning of to the storm.bat file. Then I added it at the command line level, and then I added it in the environment variables in Control Panel. None of this helped.
> 
> During all these attempts I had a log instruction at the beginning of the storm.bat file and it clearly prints the value of the set variable  as I would expect it to. But the STORM script complains nonetheless.
> 
> Here is the message I get:
> 
> Error: STORM_HOME is not set correctly. Please set your STORM_HOME variable to the absolute path of the directory that contains the storm distribution.
> 
> STORM is deployed to the following directory, which is the exact one I set as STORM_HOME: D:\Development\Workspaces\github\storm
> 
> To run the topology, I go to:
> D:\Development\Workspaces\github\storm\examples\storm-starter
> 
> And issue the command:
> 
> ..\..\bin\storm jar target\storm-starter-0.10.0-SNAPSHOT-jar-with-dependencies.jar storm.starter.ExclamationTopology
> What am I missing?