Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New apache-storm-0.9.1-incubating.zip throws "Can not find storm home entry" #68

Open
worthyl opened this issue Feb 25, 2014 · 1 comment

Comments

@worthyl
Copy link

worthyl commented Feb 25, 2014

Use of the new apache-storm-0.9.1-incubating.zip file throws the following error:

Exception in thread "main" java.lang.RuntimeException: Can not find storm home entry in storm zip file.
at com.yahoo.storm.yarn.Util.getStormHomeInZip(Util.java:115)
at com.yahoo.storm.yarn.StormOnYarn.launchApp(StormOnYarn.java:242)
at com.yahoo.storm.yarn.StormOnYarn.launchApplication(StormOnYarn.java:372)
at com.yahoo.storm.yarn.LaunchCommand.process(LaunchCommand.java:69)
at com.yahoo.storm.yarn.Client.execute(Client.java:142)
at com.yahoo.storm.yarn.Client.main(Client.java:148)

Looking at the Util.getStormHomeInZip suggests the cause is due to the new naming convention "apache-storm-0.9.1" vs the previous format of "storm-0.9.1". getStormHomeInZip is looking for the home directory to begin with storm-.

I got around this by downloading the apache-storm-0.9.1-incubating.zip, extracting to a directory on my laptop, then renaming the root directory to storm-0.9.1-incubating before rezipping back up.

Real fix is to update getStormHomeInZip to search for a directory which contains storm- and not begin storm-version.

@revans2
Copy link
Collaborator

revans2 commented Feb 25, 2014

I threw together #69 if you could test it out for me and comment on the pull request that would be awesome.

—Bobby

From: worthyl <[email protected]mailto:[email protected]>
Reply-To: yahoo/storm-yarn <[email protected]mailto:[email protected]>
Date: Tuesday, February 25, 2014 at 9:39 AM
To: yahoo/storm-yarn <[email protected]mailto:[email protected]>
Subject: [storm-yarn] New apache-storm-0.9.1-incubating.zip throws "Can not find storm home entry" (#68)

Use of the new apache-storm-0.9.1-incubating.zip file throws the following error:

Exception in thread "main" java.lang.RuntimeException: Can not find storm home entry in storm zip file.
at com.yahoo.storm.yarn.Util.getStormHomeInZip(Util.java:115)
at com.yahoo.storm.yarn.StormOnYarn.launchApp(StormOnYarn.java:242)
at com.yahoo.storm.yarn.StormOnYarn.launchApplication(StormOnYarn.java:372)
at com.yahoo.storm.yarn.LaunchCommand.process(LaunchCommand.java:69)
at com.yahoo.storm.yarn.Client.execute(Client.java:142)
at com.yahoo.storm.yarn.Client.main(Client.java:148)

Looking at the Util.getStormHomeInZip suggests the cause is due to the new naming convention "apache-storm-0.9.1" vs the previous format of "storm-0.9.1". getStormHomeInZip is looking for the home directory to begin with storm-.

I got around this by downloading the apache-storm-0.9.1-incubating.zip, extracting to a directory on my laptop, then renaming the root directory to storm-0.9.1-incubating before rezipping back up.

Real fix is to update getStormHomeInZip to search for a directory which contains storm- and not begin storm-version.


Reply to this email directly or view it on GitHubhttps://github.com//issues/68.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants