Member since
04-22-2016
931
Posts
46
Kudos Received
26
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1860 | 10-11-2018 01:38 AM | |
| 2220 | 09-26-2018 02:24 AM | |
| 2252 | 06-29-2018 02:35 PM | |
| 2931 | 06-29-2018 02:34 PM | |
| 6105 | 06-20-2018 04:30 PM |
06-17-2017
01:32 AM
I know I have a proxy issue some where but in order to find the issue I need to understand the flow. how does this jar file gets downloaded to a node from ambari server ? The log for testing the "hive" module from ambari console ,is not giving any detail and just that its couldn't download this jar file. its some kind of localized proxy issue since other operations worked fine so far . MYSQL connection error
2017-06-16 21:27:10,803 - Error downloading DBConnectionVerification.jar from Ambari Server resources. Check network access to Ambari Server.
HTTP Error 504: Gateway Timeout
... View more
Labels:
06-17-2017
12:51 AM
Jay you were right , I removed the agent and reinstalled and it fixed the issue.
... View more
06-16-2017
09:49 PM
I am installing HDP2.4 with ambari2.4 and I am getting these "file not found " errors , if I create a directory manually the process moves ahead n fails on other directories. apparently ambari install is expecting ambari-agent to be installed already? if that's the case I have never done this step manually before . so what i am missing ? i have installed the cluster before by just installing ambari-server and initiating the install from web. ==========================
Running setup agent script...
==========================
Command start time 2017-06-16 17:41:00
/usr/sbin/ambari-agent: line 97: ambari-sudo.sh: command not found
/usr/sbin/ambari-agent: line 99: ambari-sudo.sh: command not found
/usr/sbin/ambari-agent: line 100: ambari-sudo.sh: command not found
/usr/sbin/ambari-agent: line 101: ambari-sudo.sh: command not found
/usr/sbin/ambari-agent: line 102: ambari-sudo.sh: command not found
/usr/sbin/ambari-agent: line 103: ambari-sudo.sh: command not found
/usr/sbin/ambari-agent: line 104: ambari-sudo.sh: command not found
/usr/sbin/ambari-agent: line 105: ambari-sudo.sh: command not found
('INFO 2017-06-16 17:41:06,285 DataCleaner.py:39 - Data cleanup thread started
INFO 2017-06-16 17:41:06,286 DataCleaner.py:120 - Data cleanup started
INFO 2017-06-16 17:41:06,287 DataCleaner.py:122 - Data cleanup finished
INFO 2017-06-16 17:41:06,328 PingPortListener.py:50 - Ping port listener started on port: 8670
INFO 2017-06-16 17:41:06,330 main.py:349 - Connecting to Ambari server at https://hadoop1.tolls.dot.state.fl.us:8440 (10.100.44.17)
INFO 2017-06-16 17:41:06,330 NetUtil.py:65 - Connecting to https://hadoop1.tolls.dot.state.fl.us:8440/ca
INFO 2017-06-16 17:41:06,389 main.py:359 - Connected to Ambari server hadoop1.tolls.dot.state.fl.us
ERROR 2017-06-16 17:41:06,390 main.py:392 - Exiting with exception:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 387, in <module>
main(heartbeat_stop_callback)
File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 363, in main
controller = Controller(config, server_hostname, heartbeat_stop_callback)
File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 67, in __init__
self.version = self.read_agent_version(config)
File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 134, in read_agent_version
f = open(ver_file, "r")
IOError: [Errno 2] No such file or directory: \'/var/lib/ambari-agent/data/version\'
INFO 2017-06-16 17:41:07,060 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2017-06-16 17:41:07,069 Controller.py:141 - Server connection disconnected.
... View more
Labels:
06-15-2017
05:05 PM
i am trying to cleanup the existing cluster for new install but this script fails with the following error: [root@hadoop1 ambari_agent]# python HostCleanup.py --help
File "HostCleanup.py", line 111
except Exception, err:
^
SyntaxError: invalid syntax
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
06-13-2017
10:06 PM
I found this instruction on web but yum is not finding postgres [root@hadoop1 ~]# yum -y install postgressql
Loaded plugins: fastestmirror, priorities, protectbase, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
0 packages excluded due to repository protections
No package postgressql available.
Error: Nothing to do
[root@hadoop1 ~]#
... View more
Labels:
- Labels:
-
Security
06-12-2017
09:09 PM
is it possible to have two clusters running in Ambari? if yes how can I do that?
... View more
Labels:
06-12-2017
09:07 PM
hi Jay issue is fixed now , I did not need the proxy for the local repository and after removing the proxy access from the /etc/yum.conf I could install the Ambari repository
... View more
06-12-2017
08:15 PM
I disabled the proxy on the server but now though its still tries to access proxy first , it follows through and finds the repository but then the status is 0 ? I removed all repo files from the /etc/yum.repos.d folder [root@hadoop1 yum.repos.d]# yum repolist
Loaded plugins: fastestmirror, priorities, protectbase, refresh-packagekit, security
Loading mirror speeds from cached hostfile
http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 504 Gateway Timeout"
Trying other mirror.
http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 504 Gateway Timeout"
Trying other mirror.
repo id repo name status
ambari-2.4.2.0 ambari-2.4.2.0 0
repolist: 0
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]# pwd
/etc/yum.repos.d
[root@hadoop1 yum.repos.d]# ls
ambari.repo
[root@hadoop1 yum.repos.d]#
... View more
06-12-2017
07:06 PM
how is this url passing then through proxy ? http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.1.0
... View more
06-12-2017
06:51 PM
also if it was a proxy issue how can I access the public url and not the private one ? in output below , the first repo file (ambari.repo.bk) works . the second file (ambari.repo) does not . [root@hadoop1 yum.repos.d]# more ambari.repo.bk
#VERSION_NUMBER=2.4.1.0-22
[Updates-ambari-2.4.1.0]
name=ambari-2.4.1.0 - Updates
baseurl=http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.1.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]#
[root@hadoop1 yum.repos.d]# more ambari.repo
#VERSION_NUMBER=2.4.2.0-22
[ambari-2.4.2.0]
name=ambari-2.4.2.0
baseurl=http://hadoop1.tolls.dot.state.fl.us/AMBARI-2.4.2.0/centos6/2.4.2.0-136
gpgcheck=0
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
[root@hadoop1 yum.repos.d]#
... View more