You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@griffin.apache.org by gu...@apache.org on 2018/11/16 02:23:53 UTC

incubator-griffin git commit: [SERVICE] JobInstace setJobInstanceIdAndUri, update instance.setAppU…

Repository: incubator-griffin
Updated Branches:
  refs/heads/master c0a387de6 -> 466c71b80


[SERVICE] JobInstace setJobInstanceIdAndUri, update instance.setAppU…

GRIFFIN-211 [Service] JobInstance appUrl error

Author: justACT <xi...@163.com>

Closes #454 from justACT/newmaster.


Project: http://git-wip-us.apache.org/repos/asf/incubator-griffin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-griffin/commit/466c71b8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-griffin/tree/466c71b8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-griffin/diff/466c71b8

Branch: refs/heads/master
Commit: 466c71b80161f1f4047a14fa511c656277acfd24
Parents: c0a387d
Author: justACT <xi...@163.com>
Authored: Fri Nov 16 10:23:04 2018 +0800
Committer: William Guo <gu...@apache.org>
Committed: Fri Nov 16 10:23:04 2018 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/griffin/core/job/JobServiceImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/466c71b8/service/src/main/java/org/apache/griffin/core/job/JobServiceImpl.java
----------------------------------------------------------------------
diff --git a/service/src/main/java/org/apache/griffin/core/job/JobServiceImpl.java b/service/src/main/java/org/apache/griffin/core/job/JobServiceImpl.java
index 4768efc..69f965f 100644
--- a/service/src/main/java/org/apache/griffin/core/job/JobServiceImpl.java
+++ b/service/src/main/java/org/apache/griffin/core/job/JobServiceImpl.java
@@ -604,7 +604,7 @@ public class JobServiceImpl implements JobService {
                     ()));
             instance.setAppId(appId == null ? null : appId.toString());
             instance.setAppUri(appId == null ? null : env
-                .getProperty("yarn.uri") + " /cluster/app/ " + appId);
+                .getProperty("yarn.uri") + "/cluster/app/" + appId);
             instanceRepo.save(instance);
         }
     }