Ronald, the error is: Unable to connect to: https://hadoopie.:8441/agent/v1/register/hdp2a-d3. Please, make sure you have firewall disabled. Are you using supported version of Java? Thank you! Sasha ...
HDP on Linux – Installation Forum
Yet another registration failure / SSLError thread
I too am having issues with node registration using ambari:
(5 node cluster)
(‘INFO 2013-04-26 11:13:33,922 security.py:49 – SSL Connect being called.. connecting to the server
INFO 2013-04-26 11:13:33,984 Controller.py:103 – Unable to connect to: https://hadoopie.:8441/agent/v1/register/hdp2a-d3.
Traceback (most recent call last):
File “/usr/lib/python2.6/site-packages/ambari_agent/Controller.py”, line 88, in registerWithServer
response = self.sendRequest(self.registerUrl, data)
File “/usr/lib/python2.6/site-packages/ambari_agent/Controller.py”, line 237, in sendRequest
self.cachedconnect = security.CachedHTTPSConnection(self.config)
File “/usr/lib/python2.6/site-packages/ambari_agent/security.py”, line 77, in __init__
File “/usr/lib/python2.6/site-packages/ambari_agent/security.py”, line 82, in connect
File “/usr/lib/python2.6/site-packages/ambari_agent/security.py”, line 66, in connect
File “/usr/lib64/python2.6/ssl.py”, line 338, in wrap_socket
File “/usr/lib64/python2.6/ssl.py”, line 120, in __init__
File “/usr/lib64/python2.6/ssl.py”, line 279, in do_handshake
SSLError: [Errno 8] _ssl.c:490: EOF occurred in violation of protocol
11:17:01,192 WARN nio:651 – javax.net.ssl.SSLHandshakeException: General SSLEngine problem
11:17:07,232 WARN nio:651 – javax.net.ssl.SSLHandshakeException: General SSLEngine problem
FQDNS are being used, /etc/hosts are the same across all nodes.
NTP is configured and nodes are in sync + ambari-server.
All nodes are built the same, ssh keys are set up for passphraseless logon, pdsh is working.
Searched the forums, did not find any obvious mistakes or solutions.
[root@hadoopie ~]# date;pdsh -a date
Fri Apr 26 11:22:53 EDT 2013
hdp2a-d3: Fri Apr 26 11:22:53 EDT 2013
hdp2a-d2: Fri Apr 26 11:22:53 EDT 2013
hdp2a-d1: Fri Apr 26 11:22:53 EDT 2013
hdp2a-n1: Fri Apr 26 11:22:53 EDT 2013
hdp2a-n2: Fri Apr 26 11:22:53 EDT 2013
Running on: CentOS release 6.3 (Final) – 2.6.32-279.el6.x86_64
I ran ambari-server with java debugging for SSL, saw this in the logs:
qtp1302313510-33, fatal error: 46: General SSLEngine problem
sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
%% Invalidated: [Session-1, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA]
qtp1302313510-33, SEND TLSv1 ALERT: fatal, description = certificate_unknown
qtp1302313510-33, WRITE: TLSv1 Alert, length = 2
qtp1302313510-33, fatal: engine already closed. Rethrowing javax.net.ssl.SSLHandshakeException: General SSLEngine problem
I would be grateful for any assistance as I am demoing HDP.
Support from the Experts
A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.
Become HDP Certified
Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world