ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-7407) Move service configs to /etc/ for versioned RPM's
Date Mon, 22 Sep 2014 22:10:33 GMT

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

Alejandro Fernandez commented on AMBARI-7407:
---------------------------------------------

The service checks for HDFS and MR are failing on HDP 1.3.2 (and potentially other stacks)
since service_check.py calls

{code}
ExecuteHadoop(...
                  conf_dir=params.conf_dir
    )
{code}

Yet, providers/execute_hadoop.py expects

{code}
Execute (...
        path        = self.resource.bin_dir
      )
{code}

If I change it to,
{code}
Execute (...
        path        = self.resource.bin_dir if hasattr(self.resource, "bin_dir") and self.resource.bin_dir
is not None else self.resource.conf_dir
      )
{code}
then it works, but we should agree on a consistent variable name, either bin_dir or conf_dir.

> Move service configs to /etc/ for versioned RPM's
> -------------------------------------------------
>
>                 Key: AMBARI-7407
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7407
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 1.7.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>             Fix For: 1.7.0
>
>
> + Move WebHCat files to Hive directory
> + create symbolic link /usr/hdp/current for /usr/hdp/2.9.9.9-xxx



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

Mime
View raw message