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

Ensure appropriate defaults are set for yarn.timeline-service.leveldb-state-store.path and mapreduce.jobhistory.recovery.store.leveldb.path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: stacks
    • Labels:
      None

      Description

      These two properties should not have equal values. It can be like below:

      yarn.timeline-service.leveldb-state-store.path = /grid/0/hadoop/yarn/timeline
      mapreduce.jobhistory.recovery.store.leveldb.path = /grid/0/hadoop/mapreduce/jhs
      

      From the patch (AMBARI-12276), it also prints warning msgs if two properties are not equal, which is not correct.

       "The mapred-site.xml property mapreduce.jobhistory.recovery.store.leveldb.path should be set. Please note that \"mapreduce.jobhistory.recovery.store.leveldb.path\" should be set equal to \"yarn.timeline-service.leveldb-state-store.path\" for consistency.");
      

        Attachments

        1. AMBARI-12365.patch
          8 kB
          Sumit Mohanty

          Issue Links

            Activity

              People

              • Assignee:
                sumitmohanty Sumit Mohanty
                Reporter:
                sumitmohanty Sumit Mohanty
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: