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

(cherry picked from commit c9246f619104bff44dd453a4ffe70104d37fd781)
This commit is contained in:
Varun Saxena 2017-01-19 10:15:28 +05:30
parent aa09001a33
commit 8c81f7fc08
1 changed files with 3 additions and 3 deletions

View File

@ -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();
}