ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-15777) Namenode startup does not detect HA when multiple nameservices defined
Date Fri, 22 Apr 2016 11:36:13 GMT

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

Dmytro Sen resolved AMBARI-15777.
---------------------------------
    Resolution: Fixed

Fixed in the scope of AMBARI-15507

> Namenode startup does not detect HA when multiple nameservices defined
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-15777
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15777
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>            Reporter: Alex Bush
>            Assignee: Dmytro Sen
>             Fix For: 2.4.0
>
>
> When specifying multiple nameservices in dfs.nameservices, the correct nameservice and
HA configuration is not detected resulting in a slow namenode startup and a message of:
> 'Must wait to leave safemode since High Availability is not enabled.'
> This message is seen in:
> https://github.com/apache/ambari/blob/6626796191833c77130302653d3afad5f4bf8aec/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py#L186
> And is caused by:
> https://github.com/apache/ambari/blob/291b7cbf5852db3fa37f4f180158d0958241e05b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py#L243
> dfs_ha_nameservices = default("/configurations/hdfs-site/dfs.nameservices", None)
> This line should take into account dfs.internal.nameservices and perhaps choosing the
first entry in dfs.nameservices if this field is comma separated and if dfs.internal.nameservices
is not set.
> The change should also be mirrored here:
> https://github.com/apache/ambari/blob/291b7cbf5852db3fa37f4f180158d0958241e05b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_windows.py#L45



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

Mime
View raw message