Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12783

Ambari Views: Capacity Scheduler View - Downloaded xml with configs is not actually proper xml

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.2
    • Component/s: ambari-views
    • Labels:
      None

      Description

      When downloading current capacity scheduler configs as xml file, resulting file is not proper xml as it does not have xml header "<?xml version="1.0"?>" and root element.
      So it is not possible to parse it using xml tools.
      It is possible to generate this file with proper header and root element to be able to parse it with any xml tool.

      1. AMBARI-12783_branch-2.1.patch
        1 kB
        Nitiraj Singh Rathore

        Issue Links

          Activity

          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12750777/AMBARI-12783_branch-2.1.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in contrib/views/capacity-scheduler.

          Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3594//testReport/
          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3594//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12750777/AMBARI-12783_branch-2.1.patch against trunk revision . +1 @author . The patch does not contain any @author tags. -1 tests included . The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in contrib/views/capacity-scheduler. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3594//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3594//console This message is automatically generated.
          Hide
          u39kun Yusaku Sako added a comment -

          Committed to trunk and branch-2.1.

          Show
          u39kun Yusaku Sako added a comment - Committed to trunk and branch-2.1.
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-trunk-Commit #3356 (See https://builds.apache.org/job/Ambari-trunk-Commit/3356/)
          AMBARI-12783. Ambari Views: Capacity Scheduler View - Downloaded xml with configs is not actually proper xml. (Nitiraj Singh Rathore via yusaku) (yusaku: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bcd5cfb66c40788f77ad27b7fa4c1e8f1feb1adb)

          • contrib/views/capacity-scheduler/src/main/resources/ui/app/store.js
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Ambari-trunk-Commit #3356 (See https://builds.apache.org/job/Ambari-trunk-Commit/3356/ ) AMBARI-12783 . Ambari Views: Capacity Scheduler View - Downloaded xml with configs is not actually proper xml. (Nitiraj Singh Rathore via yusaku) (yusaku: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bcd5cfb66c40788f77ad27b7fa4c1e8f1feb1adb ) contrib/views/capacity-scheduler/src/main/resources/ui/app/store.js
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #450 (See https://builds.apache.org/job/Ambari-branch-2.1/450/)
          AMBARI-12783. Ambari Views: Capacity Scheduler View - Downloaded xml with configs is not actually proper xml. (Nitiraj Singh Rathore via yusaku) (yusaku: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=68a770a911dcc6d92942a1180fef893c7d48d236)

          • contrib/views/capacity-scheduler/src/main/resources/ui/app/store.js
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #450 (See https://builds.apache.org/job/Ambari-branch-2.1/450/ ) AMBARI-12783 . Ambari Views: Capacity Scheduler View - Downloaded xml with configs is not actually proper xml. (Nitiraj Singh Rathore via yusaku) (yusaku: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=68a770a911dcc6d92942a1180fef893c7d48d236 ) contrib/views/capacity-scheduler/src/main/resources/ui/app/store.js

            People

            • Assignee:
              nitiraj.rathore Nitiraj Singh Rathore
              Reporter:
              nitiraj.rathore Nitiraj Singh Rathore
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development