You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2015/12/14 21:24:46 UTC

[jira] [Resolved] (AMBARI-14307) RU: Kafka broker restart failed on downgrade from HDP 2.3 to 2.2 due to circular symlink of /etc/hadoop/conf

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

Alejandro Fernandez resolved AMBARI-14307.
------------------------------------------
    Resolution: Fixed

Pushed to trunk,
commit 55b84c55bcaa79df8955a2249abb4b1f63b0364c

Pushed to branch-2.2,
commit 150ea0cceea3560b1bc1351ea49ce281fb1010bb

> RU: Kafka broker restart failed on downgrade from HDP 2.3 to 2.2 due to circular symlink of /etc/hadoop/conf
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-14307
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14307
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Alejandro Fernandez
>            Assignee: Alejandro Fernandez
>            Priority: Blocker
>             Fix For: 2.2.0
>
>         Attachments: AMBARI-14307.branch-2.2.patch, AMBARI-14307.trunk.patch
>
>
> * Ambari 2.2 at hash for AMBARI-14237 (e15d1e0fb3777f79cb473cf5de0f7a6bf30e63bd)
> * HDP 2.2.8.0 with HDFS, YARN/MR, ZK, Kafka 
> * RU from  to 2.3.4.0 and reach the Finalize screen.
> * Then downgrade,
> Kafka broker restart failed on downgrade
> {code}
> Traceback (most recent call last):
>   File \"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py\", line 39, in <module>
>     BeforeStartHook().execute()
>   File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 217, in execute
>     method(env)
>   File \"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py\", line 36, in hook
>     create_topology_script_and_mapping()
>   File \"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/rack_awareness.py\", line 69, in create_topology_script_and_mapping
>     create_topology_mapping()
>   File \"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/rack_awareness.py\", line 36, in create_topology_mapping
>     group=params.user_group) 
>   File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 154, in __init__
>     self.env.run()
>   File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", line 158, in run
>     self.run_action(resource, action)
>   File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", line 121, in run_action
>     provider_action()
>   File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\", line 144, in action_create
>     raise Fail(\"Applying %s failed, looped symbolic links found while resolving %s\" % (self.resource, path))
> resource_management.core.exceptions.Fail: Applying Directory['/etc/hadoop/conf'] failed, looped symbolic links found while resolving /etc/hadoop/conf
> Error: Error: Unable to run the custom hook script ['/usr/bin/python2', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py', 'START', '/var/lib/ambari-agent/data/command-2873.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START', '/var/lib/ambari-agent/data/structured-out-2873.json', 'INFO', '/var/lib/ambari-agent/tmp']
> {code}
> This failed because /etc/hadoop/conf is now a circular symlink



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