yahoo / storm-yarn

Storm-yarn enables Storm clusters to be deployed into machines managed by Hadoop YARN.
Other
417 stars 161 forks source link

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

Open worthyl opened 10 years ago

worthyl commented 10 years ago

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 commented 10 years ago

I threw together https://github.com/yahoo/storm-yarn/pull/69 if you could test it out for me and comment on the pull request that would be awesome.

—Bobby

From: worthyl notifications@github.com<mailto:notifications@github.com> Reply-To: yahoo/storm-yarn reply@reply.github.com<mailto:reply@reply.github.com> Date: Tuesday, February 25, 2014 at 9:39 AM To: yahoo/storm-yarn storm-yarn@noreply.github.com<mailto:storm-yarn@noreply.github.com> 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/yahoo/storm-yarn/issues/68.