ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-17067) Microsoft-r install script should use Ambari libraries instead of direct shell calls
Date Thu, 14 Jul 2016 21:20:20 GMT

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

Yusaku Sako updated AMBARI-17067:
---------------------------------
    Fix Version/s:     (was: 2.4.1)
                   2.4.0

> Microsoft-r install script should use Ambari libraries instead of direct shell calls
> ------------------------------------------------------------------------------------
>
>                 Key: AMBARI-17067
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17067
>             Project: Ambari
>          Issue Type: Task
>          Components: contrib
>    Affects Versions: 2.4.0
>            Reporter: Balázs Bence Sári
>            Assignee: Balázs Bence Sári
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: diff1-trunk.patch
>
>
> In the install script of the management-pack we do everything using shell calls. Instead
we should use Ambari's python libraries.
> Example:
> {code}shell.call('sudo -u hdfs hadoop fs -mkdir -p /share'){code}
> As reference you can use the scripts of HDFS: [https://github.com/apache/ambari/tree/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts]
which make good use of Ambari libraries. Microsoft-R scripts should use just like these.



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

Mime
View raw message