ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Di Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-17951) Introduce validation of hostgroup mapping for active/standby namenode
Date Wed, 10 Aug 2016 17:44:20 GMT

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

Di Li updated AMBARI-17951:
---------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> Introduce validation of hostgroup mapping for active/standby namenode
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-17951
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17951
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server, blueprints
>    Affects Versions: trunk
>            Reporter: Amruta Borkar
>            Assignee: Amruta Borkar
>             Fix For: trunk
>
>         Attachments: AMBARI-17951-v2, AMBARI-17951-v3.patch, AMBARI-17951-v4.patch
>
>
> Ambari allows user to specify following properties when Namenode HA is enabled, but does
not validate for correct mapping.
>   "dfs_ha_initial_namenode_active" : "hostname or hostgroup reference",
>   "dfs_ha_initial_namenode_standby" : "hostname or hostgroup referenceā€
> If the values for above properties are mentioned incorrectly following exception is thrown
and NAMENODE fails to start.
> 2016-07-27 18:54:43,522 WARN  namenode.FSNamesystem (FSNamesystem.java:loadFromDisk(692))
- Encountered exception loading fsimage
> java.io.IOException: NameNode is not formatted.
>         at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:225)
>         at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1015)
>         at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:690)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:688)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:752)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:992)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:976)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1686)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1754)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message