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

Journalnode restart step is required when edits dir is changed

    XMLWordPrintableJSON

Details

    Description

      Journal node does not create the edits directory in the right place because it is not restarted and hence does not load the new configurations resulting in the following error:

      2018-04-11 23:19:39,835 FATAL namenode.FSEditLog (JournalSet.java:mapJournalsAndReportErrors(390)) - Error: recoverUnfinalizedSegments failed for required journal (JournalAndSt
      ream(mgr=QJM to [10.240.0.23:8485, 10.240.0.32:8485, 10.240.0.95:8485], stream=null))
      org.apache.hadoop.hdfs.qjournal.client.QuorumException: Got too many exceptions to achieve quorum size 2/3. 3 exceptions thrown:
      10.240.0.23:8485: Journal Storage Directory root= /hadoop2/hdfs/journal/ns2; location= null not formatted
              at org.apache.hadoop.hdfs.qjournal.server.Journal.checkFormatted(Journal.java:500)
              at org.apache.hadoop.hdfs.qjournal.server.Journal.getLastPromisedEpoch(Journal.java:262)
      

      Need to add Restart All Journal nodes step right before the Format Namenode step in the wizard.

      Attachments

        Issue Links

          Activity

            People

              akovalenko Aleksandr Kovalenko
              akovalenko Aleksandr Kovalenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m