Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Commit

Permalink
fix : allow to submit more topos
Browse files Browse the repository at this point in the history
  • Loading branch information
冯开霞00024505 committed Feb 4, 2017
1 parent 625f8a2 commit 685c54a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jstorm-core/src/main/java/backtype/storm/StormSubmitter.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ public static boolean topologyNameExists(NimbusClient client, Map conf, String n
private static String path = null;

private static void submitJar(NimbusClient client, Map conf) {
String submittedJar = null;
// if (submittedJar == null) {
try {
LOG.info("Jar not uploaded to master yet. Submitting jar...");
Expand All @@ -229,7 +228,7 @@ private static void submitJar(NimbusClient client, Map conf) {
}

if (localJar != null) {
submittedJar = submitJar(conf, localJar, uploadLocation, client);
submitJar(conf, localJar, uploadLocation, client);
} else {
// no client jar, but with lib jar
client.getClient().finishFileUpload(uploadLocation);
Expand Down

1 comment on commit 685c54a

@longdafeng
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你这个代码老了, 麻烦同步到最新的代码,再提交修改, 另外,如果注释掉的代码就直接删掉好了

Please sign in to comment.