Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8413

Flow activity page is failing with "Timeline server failed with an error"

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.1
    • 3.2.0, 3.1.1
    • yarn-ui-v2
    • None
    • Reviewed

    Description

      Flow activity page is fail to load with "Timeline server failed with an error"

      This page uses incorrect flow call "https://localhost:8188/ws/v2/timeline/flows?_=1528755339836" and it is failing to load.

      1) Its using localhost instead ATS v2 hostname
      2) Its using ATS v1.5 http port instead ATS v2 https port

      The correct rest call is "https://<atsv2 host>:<atsv2 https port>/ws/v2/timeline/flows?_=1528755339836"

      Attachments

        1. YARN-8413.001.patch
          1 kB
          Sunil G

        Activity

          sunilg Sunil G added a comment -

          Setting async to false means that the statement you are calling has to complete before the next statement in your function can be called. If you set async: true then that statement will begin it's execution and the next statement will be called regardless of whether the async statement has completed yet.

          The statement we look here is to be sync. Hence marking it as false. Attached v1 patch.

          rohithsharma please help to review.

          sunilg Sunil G added a comment - Setting async to false means that the statement you are calling has to complete before the next statement in your function can be called. If you set async: true then that statement will begin it's execution and the next statement will be called regardless of whether the async statement has completed yet. The statement we look here is to be sync. Hence marking it as false. Attached v1 patch. rohithsharma please help to review.
          genericqa genericqa added a comment -
          +1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 32s Docker mode activated.
                Prechecks
          +1 @author 0m 0s The patch does not contain any @author tags.
                trunk Compile Tests
          +1 mvninstall 25m 54s trunk passed
          +1 shadedclient 36m 50s branch has no errors when building and testing our client artifacts.
                Patch Compile Tests
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 shadedclient 12m 24s patch has no errors when building and testing our client artifacts.
                Other Tests
          +1 asflicense 0m 23s The patch does not generate ASF License warnings.
          50m 37s



          Subsystem Report/Notes
          Docker Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:abb62dd
          JIRA Issue YARN-8413
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12927425/YARN-8413.001.patch
          Optional Tests asflicense shadedclient
          uname Linux e1a5a8d5df66 3.13.0-139-generic #188-Ubuntu SMP Tue Jan 9 14:43:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/patchprocess/precommit/personality/provided.sh
          git revision trunk / 2b2f672
          maven version: Apache Maven 3.3.9
          Max. process+thread count 304 (vs. ulimit of 10000)
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/21009/console
          Powered by Apache Yetus 0.8.0-SNAPSHOT http://yetus.apache.org

          This message was automatically generated.

          genericqa genericqa added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 32s Docker mode activated.       Prechecks +1 @author 0m 0s The patch does not contain any @author tags.       trunk Compile Tests +1 mvninstall 25m 54s trunk passed +1 shadedclient 36m 50s branch has no errors when building and testing our client artifacts.       Patch Compile Tests +1 whitespace 0m 0s The patch has no whitespace issues. +1 shadedclient 12m 24s patch has no errors when building and testing our client artifacts.       Other Tests +1 asflicense 0m 23s The patch does not generate ASF License warnings. 50m 37s Subsystem Report/Notes Docker Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:abb62dd JIRA Issue YARN-8413 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12927425/YARN-8413.001.patch Optional Tests asflicense shadedclient uname Linux e1a5a8d5df66 3.13.0-139-generic #188-Ubuntu SMP Tue Jan 9 14:43:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/patchprocess/precommit/personality/provided.sh git revision trunk / 2b2f672 maven version: Apache Maven 3.3.9 Max. process+thread count 304 (vs. ulimit of 10000) modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui Console output https://builds.apache.org/job/PreCommit-YARN-Build/21009/console Powered by Apache Yetus 0.8.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.

          +1 lgtm

          rohithsharma Rohith Sharma K S added a comment - +1 lgtm
          hudson Hudson added a comment -

          FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #14403 (See https://builds.apache.org/job/Hadoop-trunk-Commit/14403/)
          YARN-8413. Flow activity page is failing with 'Timeline server failed (rohithsharmaks: rev 95303f50d3467fd9bc64e504c9e64a64f118b25f)

          • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/initializers/loader.js
          hudson Hudson added a comment - FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #14403 (See https://builds.apache.org/job/Hadoop-trunk-Commit/14403/ ) YARN-8413 . Flow activity page is failing with 'Timeline server failed (rohithsharmaks: rev 95303f50d3467fd9bc64e504c9e64a64f118b25f) (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/initializers/loader.js

          committed to trunk/branch-3.1.. thanks to sunilg for the patch

          rohithsharma Rohith Sharma K S added a comment - committed to trunk/branch-3.1.. thanks to sunilg for the patch

          People

            sunilg Sunil G
            yeshavora Yesha Vora
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: