You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by hu...@apache.org on 2018/07/07 07:58:18 UTC
[incubator-heron] 02/03: update filename
This is an automated email from the ASF dual-hosted git repository.
huijun pushed a commit to branch huijunw/aurorametadata
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
commit 9abd04a5d105c767b819ebea7f5c82ebcaffa33c
Author: Huijun Wu <hu...@twitter.com>
AuthorDate: Sat Jul 7 00:18:03 2018 -0700
update filename
---
.../java/org/apache/heron/scheduler/aurora/AuroraCLIController.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/heron/schedulers/src/java/org/apache/heron/scheduler/aurora/AuroraCLIController.java b/heron/schedulers/src/java/org/apache/heron/scheduler/aurora/AuroraCLIController.java
index 3870d14..5cd710a 100644
--- a/heron/schedulers/src/java/org/apache/heron/scheduler/aurora/AuroraCLIController.java
+++ b/heron/schedulers/src/java/org/apache/heron/scheduler/aurora/AuroraCLIController.java
@@ -42,7 +42,7 @@ class AuroraCLIController implements AuroraController {
private final String jobSpec;
private final boolean isVerbose;
- private final String auroraFilename;
+ private String auroraFilename;
AuroraCLIController(
String jobName,
@@ -69,7 +69,7 @@ class AuroraCLIController implements AuroraController {
if (!extra.isEmpty()) {
for (String field : extra.keySet()) {
if (field.equals(AuroraContext.JOB_TEMPLATE)) {
- auroraFilename.replace("heron.aurora", extra.get(field));
+ auroraFilename = auroraFilename.replace("heron.aurora", extra.get(field));
} else {
auroraCmd.add("--bind");
auroraCmd.add(String.format("%s=%s", field, extra.get(field)));