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

Exceptions encountered in Ambari Views are missing in ambari-server.log

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.2
    • Component/s: None
    • Labels:

      Description

      When an exception is encountered in the Ambari View (say Ambari Slider View), it shows up as a banner with red-text in the top. However there are instances when there is no corresponding log or stack trace dumped in /var/log/ambari-server/ambari-server.log. This happens even if the ambari-server log level is bumped up to DEBUG.

      This behavior was primarily noticed in a secured cluster.

      Please see attached screenshots as reference to the exception seen in the View UI.

      1. AMBARI-12249_branch-2.1.patch
        15 kB
        DIPAYAN BHOWMICK
      2. Ambari_View_UI_Exception_2.png
        65 kB
        Gour Saha
      3. Ambari_View_UI_Exception_1.png
        57 kB
        Gour Saha

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #483 (See https://builds.apache.org/job/Ambari-branch-2.1/483/)
          AMBARI-12249. Exceptions encountered in Ambari Views are missing in ambari-server.log (Dipayan Bhowmick via srimanth) (sgunturi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1180d02e1638f119f662f479fa5d75b9b433f186)

          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppJmxHelper.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/AmbariHttpClient.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsAlerts.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/Metric.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppMetricsHelper.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/BaseHttpClient.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppTypesResourceProvider.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsConfiguration.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppMasterClient.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/SliderAppsResource.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsResourceProvider.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #483 (See https://builds.apache.org/job/Ambari-branch-2.1/483/ ) AMBARI-12249 . Exceptions encountered in Ambari Views are missing in ambari-server.log (Dipayan Bhowmick via srimanth) (sgunturi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1180d02e1638f119f662f479fa5d75b9b433f186 ) contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppJmxHelper.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/AmbariHttpClient.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsAlerts.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/Metric.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppMetricsHelper.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/BaseHttpClient.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppTypesResourceProvider.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsConfiguration.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppMasterClient.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/SliderAppsResource.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsResourceProvider.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-trunk-Commit #3392 (See https://builds.apache.org/job/Ambari-trunk-Commit/3392/)
          AMBARI-12249. Exceptions encountered in Ambari Views are missing in ambari-server.log (Dipayan Bhowmick via srimanth) (sgunturi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9c452e8bba216f5d4f8d9ae6178fd3ff972a46b6)

          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsResourceProvider.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/Metric.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/BaseHttpClient.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/SliderAppsResource.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppTypesResourceProvider.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppJmxHelper.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/AmbariHttpClient.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppMasterClient.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppMetricsHelper.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsConfiguration.java
          • contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsAlerts.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Ambari-trunk-Commit #3392 (See https://builds.apache.org/job/Ambari-trunk-Commit/3392/ ) AMBARI-12249 . Exceptions encountered in Ambari Views are missing in ambari-server.log (Dipayan Bhowmick via srimanth) (sgunturi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9c452e8bba216f5d4f8d9ae6178fd3ff972a46b6 ) contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsResourceProvider.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/Metric.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/BaseHttpClient.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/SliderAppsResource.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppTypesResourceProvider.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppJmxHelper.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/AmbariHttpClient.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppMasterClient.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/rest/client/SliderAppMetricsHelper.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsConfiguration.java contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsAlerts.java
          Hide
          srimanth.gunturi Srimanth Gunturi added a comment -

          Committed to trunk and branch-2.1

          Show
          srimanth.gunturi Srimanth Gunturi added a comment - Committed to trunk and branch-2.1
          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/12753833/AMBARI-12249_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/slider.

          Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3709//testReport/
          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3709//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/12753833/AMBARI-12249_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/slider. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3709//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3709//console This message is automatically generated.

            People

            • Assignee:
              dipayanb DIPAYAN BHOWMICK
              Reporter:
              gsaha Gour Saha
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development