Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2452 | 04-27-2020 03:48 AM | |
4890 | 04-26-2020 06:18 PM | |
3977 | 04-26-2020 06:05 PM | |
3221 | 04-13-2020 08:53 PM | |
4928 | 03-31-2020 02:10 AM |
03-21-2019
01:05 AM
@Saul Ramirez Looks like your Public_hostname for the agent is not right. As we see thsat the public_hostname is being taken as : \'publicHostname\': \'<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">\\r\
<html xmlns="http://www.w3.org/1999/xhtml">\\r\
<head>\\r\
<meta content="text/html; charset=utf-8" http-equiv="content-type" />\\r\
<meta content="no-cache" http-equiv="pragma" />\\r\
<title>waiting...</title>\\r\
<script type="text/javascript">\\r\ . Thats why you are getting too long column value for public_hostname org.eclipse.persistence.exceptions.DatabaseException\
Internal Exception: org.postgresql.util.PSQLException: ERROR: el valor es demasiado largo para el tipo character varying(255)\
Error Code: 0\
Call: UPDATE hosts SET total_mem = ?, host_attributes = ?, public_host_name = ? WHERE (host_id = ?)\
\\tbind => [4 parameters bound]\ . Can you please run the following command on yourt host which you re trying to add to see if it is returning correct FQDN? # hostname -f
You can refer to the following Article which i wrote sometime back to fidn the difference between Public_hostname and hostname and how to fix it: https://community.hortonworks.com/content/kbentry/42872/why-ambari-host-might-have-different-public-host-n.html
... View more
03-19-2019
05:55 AM
1 Kudo
@luan ha 1. How did you register the Repo URL on your ambari? Can you please share the registered repo version page from ambari UI? 2. Can you please share the file content: # cat /etc/apt/sources.list.d/ambari-hdp-1.list 3. Where exactly do you see this error? E: Malformed entry 1 in list file /etc/apt/sources.list.d/ambari-hdp-1.list 4. Are you using Local repo by any chance ( instead of public repos) ? .
... View more
03-15-2019
09:13 AM
@Paul Heinzlreiter Great to know that it resolved your issue. It will be great if you can mark this HCC thread as "Answered" by clicking on "Accept" button on the correct answer.
... View more
03-15-2019
08:05 AM
1 Kudo
@Michael Bronson On the problematic node where you are getting PortBindException ... can you please try running the following command to see if it is able to bind the port ? Following command will start Netcat process and will try to bind port 10016 # nc -l 10016 . Also please check the "/etc/hosts" file on your problematic host if it has multiple hostnames defined for the same host by any chance? If yes then can you change it? Or change the spark thrift server setting to use specific address instead of "0.0.0.0" and then see if it works? .
... View more
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