You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2013/07/18 20:04:50 UTC
[jira] [Comment Edited] (AMBARI-2684) Circular dependency issue
when run directories are sub directories of NNdata dirs.
[ https://issues.apache.org/jira/browse/AMBARI-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13712552#comment-13712552 ]
Sumit Mohanty edited comment on AMBARI-2684 at 7/18/13 6:03 PM:
----------------------------------------------------------------
[~dmitriusan], can you describe how to interpret the back-to-back list of Anchors, first one seems redundant? I am no puppet expert so curious.
{code}
Anchor['hdp-hadoop::begin'] -> Hdp-hadoop::Service['datanode'] -> Anchor['hdp-hadoop::end']
Anchor['hdp-hadoop::begin'] -> Hdp-hadoop::Datanode::Create_data_dirs<||> -> Hdp-hadoop::Service['datanode'] -> Anchor['hdp-hadoop::end']
{code}
was (Author: sumitmohanty):
[~dmitriusan], can you describe how to interpret the back-to-back list of Anchors? I am no puppet expert so curious.
{code}
Anchor['hdp-hadoop::begin'] -> Hdp-hadoop::Service['datanode'] -> Anchor['hdp-hadoop::end']
Anchor['hdp-hadoop::begin'] -> Hdp-hadoop::Datanode::Create_data_dirs<||> -> Hdp-hadoop::Service['datanode'] -> Anchor['hdp-hadoop::end']
{code}
> Circular dependency issue when run directories are sub directories of NNdata dirs.
> ----------------------------------------------------------------------------------
>
> Key: AMBARI-2684
> URL: https://issues.apache.org/jira/browse/AMBARI-2684
> Project: Ambari
> Issue Type: Bug
> Components: agent
> Affects Versions: 1.2.5
> Reporter: Dmitry Lysnichenko
> Assignee: Dmitry Lysnichenko
> Priority: Critical
> Fix For: 1.2.5
>
> Attachments: AMBARI-2684.patch
>
>
> Circular dependency issue when run directories are sub directories of NNdata dirs.
> {code}
> [1;35merr: Could not apply complete catalog: Found 1 dependency cycle:
> (Class[Hdp-hadoop] => Hdp-hadoop::Namenode::Create_name_dirs[/deployment/hadoop,/deployment/hadoopbak] => Hdp::Directory_recursive_create[/deployment/hadoop] => Hdp::Directory[/deployment/hadoop] => File[/deployment/hadoop] => File[/deployment/hadoop/run] => Hdp::Directory[/deployment/hadoop/run] => Hdp::Directory_recursive_create[/deployment/hadoop/run] => Class[Hdp-hadoop])
> Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz[0m
> [0;36mnotice: Finished catalog run in 0.68 seconds[0m
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira