Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-17067

Microsoft-r install script should use Ambari libraries instead of direct shell calls

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • contrib
    • None

    Description

      In the install script of the management-pack we do everything using shell calls. Instead we should use Ambari's python libraries.
      Example:

      shell.call('sudo -u hdfs hadoop fs -mkdir -p /share')

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bsari Balázs Bence Sári
            bsari Balázs Bence Sári
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment