-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50087/
-----------------------------------------------------------

(Updated July 18, 2016, 8:51 p.m.)


Review request for Ambari, Alexander Denissov, Jayush Luniya, Matt, and Tim 
Thorpe.


Bugs: AMBARI-17717
    https://issues.apache.org/jira/browse/AMBARI-17717


Repository: ambari


Description
-------

Ambari should have a script that users can run to add a custom service and 
repository to the stack or an existing cluster.

```
Lavs-MacBook-Pro:scripts ljain$ ./add_common_service.py -h
Usage: add_common_service.py [options]

Options:
  -h, --help            show this help message and exit
  -u USER, --user=USER  Ambari login username (Required)
  -p PASSWORD, --password=PASSWORD
                        Ambari login password. Providing password through
                        command line is not recommended. The script prompts
                        for the password.
  -t STACK, --stack=STACK
                        Stack Name and Version to be added (Required).(Eg:
                        HDP-2.4 or HDP-2.5)
  -s SERVICE, --service=SERVICE
                        Service Name and Version to be added.(Eg: HAWQ/2.0.0
                        or PXF/3.0.0)
  -r REPOURL, --repourl=REPOURL
                        Repository URL which points to the rpm packages
  -i REPOID, --repoid=REPOID
                        Repository ID of the new repository
  -o OSTYPE, --ostype=OSTYPE
                        OS for the new repository (Eg: redhat6)
```


Diffs (updated)
-----

  ambari-server/src/main/resources/scripts/add_common_service.py PRE-CREATION 

Diff: https://reviews.apache.org/r/50087/diff/


Testing
-------

Tested manually with various combinations


Thanks,

Lav Jain

Reply via email to