-
Notifications
You must be signed in to change notification settings - Fork 158
Description
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.