Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2825 | 04-27-2020 03:48 AM | |
| 5479 | 04-26-2020 06:18 PM | |
| 4662 | 04-26-2020 06:05 PM | |
| 3704 | 04-13-2020 08:53 PM | |
| 5604 | 03-31-2020 02:10 AM |
03-14-2019
08:46 PM
@Paul Heinzlreiter As we see that the ambari agent log is stuck exactly at : "Data cleanup finished" so i am suspecting that it might be stuck there due to "fuser". Sometimes it gets stuck and in such cases we need to reboot the agent host. Can you please check if agent is stuck at fuser # ps -flye | grep fuser | grep D
# ps -flye | grep fuser The "D" state means Uninterruptible Sleep State. The Command "fuser" is used by ambari-agent. The ambari-agent does not start properly because fuser might get stuck in uninterrupted sleep state. Similar Issue in HCC article: To resolve from this issue reboot the server. https://community.hortonworks.com/content/supportkb/182955/ambari-agent-loses-heartbeat-and-ambari-agent-log.html
... View more
03-14-2019
08:18 AM
@heta desai Good to know that the issue is resolved by using the browser in Incognito Mode to avoid caching issue. It will be wonderful if you can mark the answer this HCC thread as "Answered" by clicking the "Accepted" button on the correct answer that way it will be useful for other users facing the same issue.
... View more
03-14-2019
08:03 AM
@heta desai Also it might be related to browser caching issue as well. So can you please try using the "Incognito Mode in Gogle Chrome" (Firefox: Private Mode) when you switch from one ambari version to another in the same browser. NOTE: you can not run two HDP sandbox instances at the same time on the same laptop as it will cause port conflicts.
... View more
03-14-2019
08:02 AM
@heta desai Can you please share the screenshot of the error that you are getting? Also please share the "/var/log/ambari-server/ambari-server.log" output as soon as you see the ""server error".
... View more
03-14-2019
07:35 AM
@heta desai You mentioned that "i can not open Ambari UI. It shows Server error." Can you please share the exact error that you are getting? Also where do you see the error in Browser or in some logs?
... View more
03-14-2019
01:47 AM
@Deepak SANAGAPALLI Ambari simply makes the following Python call to check if it is able to create directories inside the failing directory with 0755 permission or not? https://github.com/apache/ambari/blob/release-2.7.3/ambari-server/src/main/python/ambari_server/serverConfiguration.py#L438-L448
... View more
03-14-2019
01:44 AM
@Deepak SANAGAPALLI The following kind of message indicates some filesystem issue: Unable to access /var/log/ambari-server directory. Confirm the directory is created and is writable by Ambari Server user account 'root' . So please check if you have the mentioned directory created and you are able to create some dummy files inside that dir. # echo "Test" > /var/log/ambari-server/test.log
# mkdir -p /var/log/ambari-server/one Check if somehow the "/var/log" filesystem has become read-only by any chance? May be rebooting the host will help in such cases. Also please check if the file "ambari.properties" is showing correct username there: # grep 'ambari-server.user' /etc/ambari-server/conf/ambari.properties
ambari-server.user=root .
... View more
03-14-2019
01:35 AM
1 Kudo
@Jes Chergui Hortonworks Sandbox is a learning single host cluster setup for testing and learning purpose. Thats the reason a hostname was chosen that way. Sandbox is a dockerized container. So is there any specific reason you would like to change/customize the Hostname ? You can do that but we wanted to know what is the requirement ? Ambari allows to perform the hostname changes to new hostname as described in the following doc. So when you make the required hostname changes at the docker & "/etc/hosts" file then you might also want to check the following doc: # ambari-server update-host-names host_names_changes.json https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-administration/content/ch_changing_host_names.html Followed by the instructions mentioned for formatZK and HDFS.
... View more
03-12-2019
11:07 AM
@Ruslan Fialkovsky What is the age of your ambari managed cluster (like 6 monthds old / 1 year old / 2 year old) ? After months of operation on larger clusters, the Ambari Server may begin to accrue a large amount of historical data in the database. This can cause UI performance degradation. In some old clusters we see that there are lots of old "alert_history" (old operational logs) or old alert notification data entries present in the database that causes slowness, As with time these entries grows much on the database. So the DB dump size also grows and the DB queries can respond slow results. We can use the following command to perform some DB cleanup. # ambari-server db-purge-history --cluster-name DataLake --from-date 2018-12-15 Reference: https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-administration/content/purging-ambari-server-history.html .
... View more
03-12-2019
09:02 AM
2 Kudos
@Ruslan Fialkovsky The following HCC article explains some of the points to check for Cluster API slow response scenario. Can you please check if that is helpful for you to troubleshoot the issue? Section: Ambari API Response Time Check https://community.hortonworks.com/articles/131670/ambari-server-performance-tuning-troubleshooting-c.html
... View more