You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Aleksandr Kovalenko (JIRA)" <ji...@apache.org> on 2018/05/30 15:28:00 UTC

[jira] [Resolved] (AMBARI-23559) Journalnode restart step is required when edits dir is changed

     [ https://issues.apache.org/jira/browse/AMBARI-23559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksandr Kovalenko resolved AMBARI-23559.
------------------------------------------
    Resolution: Fixed

> 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
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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)