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

MapRed history server is shown as stopped after downgrade

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.2
    • Component/s: ambari-server
    • Labels:
      None

      Description

      RU precheck requires "mapreduce.jobhistory.recovery.store.class" property to be set in the mapred-site.xml with value "org.apache.hadoop.mapreduce.v2.hs.HistoryServerLeveldbStateStoreService"

      With this value set, the HDP 2.2 level MapRed history server can not start. It shows an err about class org.apache.hadoop.mapreduce.v2.hs.HistoryServerLeveldbStateStoreService does not exist.

      When downgrading, the mapred properties added to pass the RU precheck needs to be removed.

        Activity

        Hide
        dili Di Li added a comment -

        The tests done to reproduce the err were base on the assumption that HDP 2.2 to HDP 2.3 RU needed to have the three mapred properties configured.
        They properties, based on the latest tests, were for HDP 2.3 only (as indicated by the minimum version defined in the "MapReduce2JobHistoryStatePreservingCheck" class on the server side.

        The changes proposed in this review is not needed for the HDP 2.2 to HDP 2.3 RU.

        Show
        dili Di Li added a comment - The tests done to reproduce the err were base on the assumption that HDP 2.2 to HDP 2.3 RU needed to have the three mapred properties configured. They properties, based on the latest tests, were for HDP 2.3 only (as indicated by the minimum version defined in the "MapReduce2JobHistoryStatePreservingCheck" class on the server side. The changes proposed in this review is not needed for the HDP 2.2 to HDP 2.3 RU.
        Hide
        dili Di Li added a comment -

        The tests done to reproduce the err were base on the assumption that HDP 2.2 to HDP 2.3 RU needed to have the three mapred properties configured.
        They properties, based on the latest tests, were for HDP 2.3 only (as indicated by the minimum version defined in the "MapReduce2JobHistoryStatePreservingCheck" class on the server side.

        The changes proposed in this review is not needed for the HDP 2.2 to HDP 2.3 RU.

        Show
        dili Di Li added a comment - The tests done to reproduce the err were base on the assumption that HDP 2.2 to HDP 2.3 RU needed to have the three mapred properties configured. They properties, based on the latest tests, were for HDP 2.3 only (as indicated by the minimum version defined in the "MapReduce2JobHistoryStatePreservingCheck" class on the server side. The changes proposed in this review is not needed for the HDP 2.2 to HDP 2.3 RU.
        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/12750171/AMBARI-12751.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 failed these unit tests in ambari-server:

        org.apache.ambari.server.api.services.PersistKeyValueImplTest
        org.apache.ambari.server.controller.AmbariManagementControllerTest

        Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3579//testReport/
        Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3579//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/12750171/AMBARI-12751.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 failed these unit tests in ambari-server: org.apache.ambari.server.api.services.PersistKeyValueImplTest org.apache.ambari.server.controller.AmbariManagementControllerTest Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3579//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3579//console This message is automatically generated.

          People

          • Assignee:
            dili Di Li
            Reporter:
            dili Di Li
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development