You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Balázs Bence Sári (JIRA)" <ji...@apache.org> on 2016/06/06 17:16:21 UTC
[jira] [Updated] (AMBARI-17067) Microsoft-r install script should
use Ambari libraries instead of direct shell calls
[ https://issues.apache.org/jira/browse/AMBARI-17067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Balázs Bence Sári updated AMBARI-17067:
---------------------------------------
Attachment: diff1-trunk.patch
> 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.1
>
> 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)