ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19282) HA HDFS propreties may be written in different case, which prevents operations
Date Thu, 22 Dec 2016 17:25:58 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-19282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15770599#comment-15770599
] 

Hudson commented on AMBARI-19282:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #571 (See [https://builds.apache.org/job/Ambari-branch-2.5/571/])
AMBARI-19282. HA HDFS propreties may be written in different case, which (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0dd6356a6efab73d1c4381346165aab258a4b4d2])
* (edit) ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_windows.py
* (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
* (edit) ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py
* (edit) ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py


> HA HDFS propreties may be written in different case, which prevents operations
> ------------------------------------------------------------------------------
>
>                 Key: AMBARI-19282
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19282
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19282.patch
>
>
> In the command json file the hostname is in lower case, while in HA mode the
> hdfs-site property dfs.namenode.rpc-address.{dfs_ha_nameservices}.{nn_id} may
> have upper case parts, which prevents the /common-
> services/HDFS/<version>/package/scripts/params_linux.py file at line 300 from
> identifying the namenode_id, as it tries to find the hostname in the proprety,
> and their case doesn't match.
> Either it should be fixed that the dfs.namenode.rpc-
> address.{dfs_ha_nameservices}.{nn_id} should be always in lower case too or
> the params_linux.py should identify the namenode_id by trying to find the
> hostname in the property ignoring case.



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

Mime
View raw message