Addendum for YARN-6064. Support fromId for flowRuns and flow/flowRun apps REST API's
This commit is contained in:
parent
6f65cf27bb
commit
5e0acee75e
|
@ -375,9 +375,9 @@ class ApplicationEntityReader extends GenericEntityReader {
|
||||||
Long flowRunId = context.getFlowRunId();
|
Long flowRunId = context.getFlowRunId();
|
||||||
if (flowRunId == null) {
|
if (flowRunId == null) {
|
||||||
AppToFlowRowKey appToFlowRowKey = new AppToFlowRowKey(
|
AppToFlowRowKey appToFlowRowKey = new AppToFlowRowKey(
|
||||||
context.getClusterId(), getFilters().getFromId());
|
getFilters().getFromId());
|
||||||
FlowContext flowContext =
|
FlowContext flowContext = lookupFlowContext(appToFlowRowKey,
|
||||||
lookupFlowContext(appToFlowRowKey, hbaseConf, conn);
|
context.getClusterId(), hbaseConf, conn);
|
||||||
flowRunId = flowContext.getFlowRunId();
|
flowRunId = flowContext.getFlowRunId();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue