[
https://issues.apache.org/jira/browse/AMBARI-17067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317679#comment-15317679
]
Hudson commented on AMBARI-17067:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #5015 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/5015/])
AMBARI-17067. Microsoft-r install script should use Ambari libraries (sgunturi:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=edc3ac53833a3e212b0567cc683353275667b9f6])
* contrib/management-packs/microsoft-r_mpack/src/main/resources/mpack.json
*
contrib/management-packs/microsoft-r_mpack/src/main/resources/common-services/MICROSOFT_R/8.0.0/package/scripts/microsoft_r.py
> 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)