YARN-8413. Flow activity page is failing with 'Timeline server failed with an error'. Contributed by Sunil Govindan.
(cherry picked from commit 95303f50d3467fd9bc64e504c9e64a64f118b25f) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ba0a8f87 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ba0a8f87 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ba0a8f87 Branch: refs/remotes/origin/branch-3.1 Commit: ba0a8f87928c3f5702159b19dbc18e9bcf74765f Parents: af0309d Author: Rohith Sharma K S <rohithsharm...@apache.org> Authored: Tue Jun 12 17:14:22 2018 +0530 Committer: Rohith Sharma K S <rohithsharm...@apache.org> Committed: Tue Jun 12 17:23:28 2018 +0530 ---------------------------------------------------------------------- .../hadoop-yarn-ui/src/main/webapp/app/initializers/loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/ba0a8f87/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/initializers/loader.js ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/initializers/loader.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/initializers/loader.js index 01daa7a..6642869 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/initializers/loader.js +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/initializers/loader.js @@ -105,7 +105,7 @@ function updateConfigs(application) { $.ajax({ type: 'GET', dataType: 'json', - async: true, + async: false, context: this, url: getTimeLineURL(rmhost, isHttpsSchemeEnabled), success: function(data) { --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org