Aleksandr Kovalenko created AMBARI-23559:
--------------------------------------------

             Summary: Journalnode restart step is required when edits dir is 
changed
                 Key: AMBARI-23559
                 URL: https://issues.apache.org/jira/browse/AMBARI-23559
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
    Affects Versions: 2.7.0
            Reporter: Aleksandr Kovalenko
            Assignee: Aleksandr Kovalenko
             Fix For: 2.7.0


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:

{code}
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)
{code}

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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to