[
https://issues.apache.org/jira/browse/AMBARI-15950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hurley updated AMBARI-15950:
-------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> HDFS /etc/hadoop/conf Points To Wrong Location After Adding Host
> ----------------------------------------------------------------
>
> Key: AMBARI-15950
> URL: https://issues.apache.org/jira/browse/AMBARI-15950
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.2.2
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Priority: Blocker
> Fix For: 2.2.2
>
> Attachments: AMBARI-15950.patch
>
>
> STR:
> - Install cluster on HDP 2.3
> - Add a host with DataNode after cluster has been installed
> {code}
> [root@os-r6-orydgs-upg-sanity-211-5 /]# ls -la /etc/hadoop/
> total 24
> drwxr-xr-x. 4 root root 4096 Apr 18 04:49 .
> drwxr-xr-x. 114 root root 12288 Apr 18 10:53 ..
> drwxr-xr-x. 3 root root 4096 Apr 18 04:49 2.3.4.0-3485
> lrwxrwxrwx. 1 root root 35 Apr 18 04:49 conf ->
> /usr/hdp/current/hadoop-client/conf
> drwxr-xr-x. 2 root root 4096 Apr 18 04:49 conf.install
> {code}
> For hosts was added after cluster creation:
> {code}
> [root@os-r6-orydgs-upg-sanity-211-2 ~]# ls -la /etc/hadoop
> total 16
> drwxr-xr-x. 4 root root 4096 Apr 18 09:34 .
> drwxr-xr-x. 80 root root 4096 Apr 18 09:35 ..
> drwxr-xr-x. 3 root root 4096 Apr 18 09:34 2.3.4.0-3485
> lrwxrwxrwx. 1 root root 23 Apr 18 09:34 conf -> /etc/hadoop/conf.backup
> drwxr-xr-x. 2 root root 4096 Apr 18 10:36 conf.backup
> {code}
> This causes the {{/etc/<component>/conf}} folder to point indefinitely to the
> {{/etc/<component>/conf.backup}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)