Created on 11-11-2016 08:25 PM - edited 08-18-2019 03:27 AM
Hi,
When use Ambari Blueprint to auto install HDP2.5.0 including SmartSense, the ActivityAnalysis admin password is not configured by "default_password" in blueprint. The component is failed to start, and have to manually set the password.
Ambari version is V2.4.1.0. This bug should be fixed.
Regards,
Wendell
Created 12-09-2016 07:58 PM
Thanks wbu,
What version of Ambari are you using? I'm guessing 2.4.x
I created https://issues.apache.org/jira/browse/AMBARI-19155 on your behalf.
Created 12-09-2016 07:58 PM
Thanks wbu,
What version of Ambari are you using? I'm guessing 2.4.x
I created https://issues.apache.org/jira/browse/AMBARI-19155 on your behalf.
Created 12-10-2016 12:07 PM
Created 12-20-2016 02:12 PM
In case of Blueprint install you need to add the below property to configuration list, to set this password for SmartSense:
"activity-zeppelin-shiro": { "properties": { "users.admin": "YOUR_SECRET_ADMIN_PASSWORD" } }
Created 12-20-2016 10:15 PM
Hi @wbu,
@Alejandro Fernandez's and
are both correct.
The main problem is that SmartSense's Ambari Stack definitions are not included in the default stack definitions. Generally, the configuration properties that are passwords are marked with metadata to indicate that a given property is of type "PASSWORD". This metadata is used by the Blueprints processor in order to determine which properties can be set with the value of "default_password", which is set in the Cluster Creation Template.
In the current release (Ambari 2.4), the only way to resolve this would be to use @smagyari's recommendation, and set the password directly. Generally, we recommend that passwords only be included in the Cluster Creation Template, since Ambari does not persist that document.
Hope this helps!
Created 12-20-2016 10:55 PM
Hi
@rnettleton and @Attila Kanto and @smagyari
Your solution is fine for manually provision the cluster with blueprint. But within current version cloudbreak, there's no way to add a template. You can only either inherit "default_password" configured in cloudbreak UI or add "users.admin" in your blueprint which is less secured.
Regards,
Wendell
Created 12-31-2016 05:32 PM
Hi @smagyari
I did try to add users.admin in the blueprint. The password still needs to be manually added on the UI.
{ "hst-server-conf": { "properties": { "customer.account.name": "Hortonworks PS EMEA", "agent.request.processing.timeout": "7200", "client.threadpool.size.max": "40", "server.storage.dir": "/var/lib/smartsense/hst-server/data", "gateway.registration.port": "9450", "gateway.port": "9451", "customer.notification.email": "ps_test@hortonworks.com", "agent.request.syncup.interval": "180", "gateway.host": "embedded", "server.port": "9000", "server.tmp.dir": "/var/lib/smartsense/hst-server/tmp", "customer.smartsense.id": "A-88888888-C-88888888", "users.admin": "admin" } } },
Can you please double check whether there's a bug in Ambari?
Regards,
Wendell
Created 01-02-2017 02:44 PM
Hi @wbu
Right the problem here is that 'users.admin' property must be set on 'activity-zeppelin-shiro' config type not on 'hst-server-conf'. I've tried it and seems to work fine.
BR
Sandor