Member since
08-19-2016
3
Posts
0
Kudos Received
0
Solutions
10-17-2017
01:29 PM
We got similar issue and I'd like to share how we were troubleshooting this. Hope it could be helpful for somebody.
The root cause in our case was pretty trivial, we used password in local language. Those characters were unreadable by Python. Below you can find steps that helped us to understand the problem:
1. Add logging to
activity.py file # add "print v.encode('utf-8')" to line 386 of /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/scripts/activity.py file<br>
2. Remove corresponding pyc file to let Python catch up the changes sudo rm /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/scripts/activity.pyc 3. Retry installation process, in logs you should see the string which causes the problem 4. Rollback custom changes in the script and remove pyc file
... View more
08-22-2016
04:27 PM
I was confused by "community features", I thought there is an available prepackaged Spark standalone Ambari service and it is possible to integrate it with existing Ambari installation easily. But looks like all this stuff needs to be done manually.. Anyway now it seems to be much more clear to me, thank for the reply!
... View more
08-19-2016
08:11 PM
I'm looking for a way to install Spark in standalone mode using Ambari. For HDP 2.3 it was not possible: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_spark-quickstart/content/ch_introduction-spark-quickstart.html. But looks like for HDP 2.4 it is possible: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_HDP_RelNotes/content/community_features.html. Could anyone, please, confirm it is really possible and clarify how to do it. Thanks.
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Spark