hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From varunsax...@apache.org
Subject hadoop git commit: Addendum for YARN-6064. Support fromId for flowRuns and flow/flowRun apps REST API's
Date Thu, 19 Jan 2017 05:11:14 GMT
Repository: hadoop
Updated Branches:
  refs/heads/YARN-5355-branch-2 2fec95b57 -> c11078fd2


Addendum for YARN-6064. Support fromId for flowRuns and flow/flowRun apps REST API's

(cherry picked from commit c9246f619104bff44dd453a4ffe70104d37fd781)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/c11078fd
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c11078fd
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c11078fd

Branch: refs/heads/YARN-5355-branch-2
Commit: c11078fd2932d491a6c3ceff6f6050dfb59057a0
Parents: 2fec95b
Author: Varun Saxena <varunsaxena@apache.org>
Authored: Thu Jan 19 10:15:28 2017 +0530
Committer: Varun Saxena <varunsaxena@apache.org>
Committed: Thu Jan 19 10:18:53 2017 +0530

----------------------------------------------------------------------
 .../storage/reader/ApplicationEntityReader.java                | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c11078fd/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/reader/ApplicationEntityReader.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/reader/ApplicationEntityReader.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/reader/ApplicationEntityReader.java
index 8a331c3..4e8286d 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/reader/ApplicationEntityReader.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/reader/ApplicationEntityReader.java
@@ -375,9 +375,9 @@ class ApplicationEntityReader extends GenericEntityReader {
       Long flowRunId = context.getFlowRunId();
       if (flowRunId == null) {
         AppToFlowRowKey appToFlowRowKey = new AppToFlowRowKey(
-            context.getClusterId(), getFilters().getFromId());
-        FlowContext flowContext =
-            lookupFlowContext(appToFlowRowKey, hbaseConf, conn);
+            getFilters().getFromId());
+        FlowContext flowContext = lookupFlowContext(appToFlowRowKey,
+            context.getClusterId(), hbaseConf, conn);
         flowRunId = flowContext.getFlowRunId();
       }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message