Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2713 | 04-27-2020 03:48 AM | |
| 5272 | 04-26-2020 06:18 PM | |
| 4441 | 04-26-2020 06:05 PM | |
| 3566 | 04-13-2020 08:53 PM | |
| 5370 | 03-31-2020 02:10 AM |
05-18-2017
05:45 PM
@Subrahmanya Oruganti' Please find the Supported Operating System Details: http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_support-matrices/content/ch_matrices-ambari.html - I am afraid that Linux-Mint is not in the Tested/Supported Operating Systems list. Hence ambari is not able to locate the Repository for this Operating system and hence it is failing. Please take a look at: https://github.com/apache/ambari/blob/release-2.5.0/ambari-common/src/main/python/ambari_commons/os_utils.py#L170-L171
... View more
05-18-2017
10:20 AM
@nshelke
Were you able to run the select query to findout the problematic resource? select*from adminresourcetype where resource_type_id IN (select resource_type_id from adminresource where resource_id =58); .
... View more
05-18-2017
09:48 AM
@nshelke
If you are using embedded postgres DB the you should try: # psql -U ambari ambari
Password for user ambari: bigdata
. psql => command -U ambari => is the username ambari => is the DB name It will ask for password, Where we can try using the ambari's default password as "bigdata" If the password is changed then we can check the file. # grep 'server.jdbc.user.passwd' /etc/ambari-server/conf/ambari.properties
server.jdbc.user.passwd=/etc/ambari-server/conf/password.dat
# cat /etc/ambari-server/conf/password.dat
bigdata
.
... View more
05-18-2017
09:04 AM
@nshelke
I corrected the respurce id as 58 in the command. resource_id in(58);
... View more
05-18-2017
09:02 AM
1 Kudo
@nshelke Zeppelin View is removed from ambari 2.5 but looks like a reference stays there. So please check if the "resource_id = 58" is pointing to Zeppelin View? You can do this by running the following query on ambari DB. select * from adminresourcetype where resource_type_id IN (select resource_type_id from adminresource where resource_id = 58); If that is the case then please Take Ambari DB Dump and then run the following commands to clean the Zeppelin View reference: DELETE FROM adminprivilege where resource_id in (58);
DELETE FROM adminresource where resource_id in (58);
Then restart Ambari Server # ambari-server stop
# ambari-server start .
... View more
05-18-2017
08:56 AM
2 Kudos
@nshelke Do you also see a NullPointerException something like following in your ambari server log? java.lang.NullPointerException
at org.apache.ambari.server.security.authorization.PermissionHelper.getPermissionLabels . Can you please share the complete stackTrace in that case?
... View more
05-18-2017
02:58 AM
@Jay Goebel
Sorry i missed to see your response. The Md5Sum results are listed in the Hortonworks WebSite for different installers: https://hortonworks.com/downloads/#sandbox - As the Sandbox size is large so sometimes while downloading it it might get corrupted. So checking the checksum before importing it to VirtualBox is always a good idea. Following is the way how we can check it. On MAC $ md5 HDP_2.6_virtualbox_19_04_2017_20_02_55_hdp_ambari_2_5_0_5_1.ov On Linux $ md5sum HDP_2.6_virtualbox_19_04_2017_20_02_55_hdp_ambari_2_5_0_5_1.ov . But as recommended earlier it will be best to try reimporting the sandbox to VirtualBox again can be a quick test.
... View more
05-17-2017
09:52 AM
@Sushant
Also regarding your query on getting ambari CRITICAL alerts list please try:
curl -u username:password -i -H 'X-Requested-By:ambari' -X GET http://erie1.example.com:8080/api/v1/clusters/ErieCluster/alerts?fields=*&Alert/state.in(CRITICAL)
OR
curl -u username:password -i -H 'X-Requested-By:ambari' -X GET http://erie1.example.com:8080/api/v1/clusters/ErieCluster/alerts?fields=*&Alert/state=CRITICAL .
... View more
05-17-2017
09:44 AM
@Sushant
If the original query that you asked as part of this thread is resolved and the previously provided updates helped you in answering your query then please mark this thread as "Accept" , that way it helps the community users to find a specific query and it's specific answer quickly.
I will suggest it will be great if oyu open a new Thread in HCC for your new query related to Alert.
... View more
05-17-2017
02:44 AM
@Jay Goebel Please check if the md5sum of the sandbox is correct. Also do re-importing the sandbox to VirtualBox helps?
... View more