Created on 12-23-2016 04:34 PM - edited 08-18-2019 03:47 AM
Currently cloudbreak UI provides below screen to configure HDP repo. Does the cloudbreak-shell provide the same mechanism ? if so what would be the command ?
Thanks Santhosh
Created 12-26-2016 05:29 AM
below shell command works for me for both ambari and HDP repo
cluster create --version 2.X --stackRepoId HDP-2.X --stackBaseURL http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/2.x/BUILDS/2.X.X.0-154 --utilsRepoId HDP-UTILS-1.1.0.21 --utilsBaseURL http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos7 --stack HDP --verify true --os redhat7 --ambariRepoGpgKey http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/2.x/BUILDS/2.X.X.0-524/RPM-GPG-KEY/RPM-GP... --ambariRepoBaseURL http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/2.x/BUILDS/2.X.X.0-524 --ambariVersion 2.X.X.0-524 --enableSecurity true --kerberosMasterKey master --kerberosAdmin admin --kerberosPassword admin --wait true
Created 12-23-2016 04:58 PM
I think I found it, it is cluster create command
cloudbreak-shell>help cluster create Keyword: cluster create Description: Create a new cluster based on a blueprint and optionally a recipe Keyword: userName Help: Username of the Ambari server Mandatory: false Default if specified: '__NULL__' Default if unspecified: 'admin' Keyword: password Help: Password of the Ambari server Mandatory: false Default if specified: '__NULL__' Default if unspecified: 'admin' Keyword: description Help: Description of the blueprint Mandatory: false Default if specified: '__NULL__' Default if unspecified: '__NULL__' Keyword: ambariVersion Help: Ambari version: 2.4.0.0-748 Mandatory: false Default if specified: '__NULL__' Default if unspecified: '__NULL__' Keyword: ambariRepoBaseURL Help: Ambari repo base url: http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates Mandatory: false Default if specified: '__NULL__' Default if unspecified: '__NULL__' Keyword: ambariRepoGpgKey Help: Ambari repo GPG key url Mandatory: false Default if specified: '__NULL__' Default if unspecified: '__NULL__' Keyword: stack Help: Stack definition name, like HDP Mandatory: false Default if specified: '__NULL__' Default if unspecified: '__NULL__' Keyword: version Help: Stack definition version Mandatory: false Default if specified: '__NULL__' Default if unspecified: '__NULL__' Keyword: os Help: Stack OS to select package manager, default is RedHat Mandatory: false Default if specified: '__NULL__' Default if unspecified: '__NULL__' Keyword: stackRepoId Help: Stack repository id Mandatory: false Default if specified: '__NULL__' Default if unspecified: '__NULL__' Keyword: stackBaseURL Help: Stack url Mandatory: false Default if specified: '__NULL__' Default if unspecified: '__NULL__' Keyword: utilsRepoId Help: Stack utils repoId Mandatory: false Default if specified: '__NULL__' Default if unspecified: '__NULL__' Keyword: utilsBaseURL Help: Stack utils URL Mandatory: false Default if specified: '__NULL__' Default if unspecified: '__NULL__'
Created 12-26-2016 05:29 AM
below shell command works for me for both ambari and HDP repo
cluster create --version 2.X --stackRepoId HDP-2.X --stackBaseURL http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/2.x/BUILDS/2.X.X.0-154 --utilsRepoId HDP-UTILS-1.1.0.21 --utilsBaseURL http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos7 --stack HDP --verify true --os redhat7 --ambariRepoGpgKey http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/2.x/BUILDS/2.X.X.0-524/RPM-GPG-KEY/RPM-GP... --ambariRepoBaseURL http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/2.x/BUILDS/2.X.X.0-524 --ambariVersion 2.X.X.0-524 --enableSecurity true --kerberosMasterKey master --kerberosAdmin admin --kerberosPassword admin --wait true