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

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 2.1.0
    • 2.1.0
    • stacks
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: