Skip to content

Commit

Permalink
Merge pull request #69 from revans2/incubator
Browse files Browse the repository at this point in the history
Changed regex to match apache storm releases now too.
  • Loading branch information
revans2 committed Jan 25, 2016
2 parents 551ab73 + b683166 commit c6936cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/yahoo/storm/yarn/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static String getStormHomeInZip(FileSystem fs, Path zip, String stormVersion) th
ZipEntry entry = zipInputStream.getNextEntry();
while (entry != null) {
String entryName = entry.getName();
if (entryName.matches("^storm(-" + stormVersion + ")?/")) {
if (entryName.matches("^(apache-)?storm(-" + stormVersion + ")?/")) {
fsInputStream.close();
return entryName.replace("/", "");
}
Expand Down

0 comments on commit c6936cf

Please sign in to comment.