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

Exception when running Slider view - java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/api/protocolrecords/GetLabelsToNodesResponse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.5.0
    • trunk, 2.5.0
    • contrib
    • None

    Description

      When a Slider view is executed, the following error is thrown.

      15 Dec 2016 10:11:15,645 WARN [ambari-client-thread-28] [SLIDER 2.0.0 S1] SliderAppsViewControllerImpl:847 - Unable to create SliderClient
      java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/api/protocolrecords/GetLabelsToNodesResponse

      This is because the version of hadoop-yarn-api jar under /var/lib/ambari-server/resources/views/work/SLIDER

      {2.0.0}

      is 2.6.0.
      The GetLabelsToNodesResponse class was added in 2.7.0 version.

      Attachments

        1. SliderViewExecutionError.jpg
          38 kB
          Sangeeta Ravindran
        2. AMBARI-19218_1216.patch
          0.6 kB
          Sangeeta Ravindran

        Issue Links

          Activity

            People

              sangeetar Sangeeta Ravindran
              sangeetar Sangeeta Ravindran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: