Member since
04-05-2017
7
Posts
0
Kudos Received
0
Solutions
05-16-2017
07:07 PM
Now that I think more about this, I guess that Unable to connect to: https://hadoop-m:8441/agent/v1/register/hadoop-m.c.hdp-1-163209.internal
started to occur when ambari server started to throw NPEs, which I detected right after (re)starting it, which I did right after I copied HUE to ambari's stack with: sudo git clone https://github.com/EsharEditor/ambari-hue-service.git /var/lib/ambari-server/resources/stacks/HDP/$VERSION/services/HUE (which are the very first steps of HUE installation guide via ambari). Regarding FQDNs, connectivity ambari server <-> ambari agents and handshake/registration ports (8440/8441). @hadoop-m $ more /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain610.132.0.4
hadoop-m.c.hdp-1-163209.internal hadoop-m # Added by Google
169.254.169.254 metadata.google.internal # Added by Google
$ hostname -f
hadoop-m.c.hdp-1-163209.internal
@hadoop-w-0 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.132.0.2 hadoop-w-0.c.hdp-1-163209.internal hadoop-w-0 # Added by Google
169.254.169.254 metadata.google.internal # Added by Google $ hostname -f
hadoop-w-0.c.hdp-1-163209.internal $ telnet hadoop-m 8440
Trying 10.132.0.4...
Connected to hadoop-m.
Escape character is '^]'. $ telnet hadoop-m 8441
Trying 10.132.0.4...
Connected to hadoop-m.
Escape character is '^]'.
$ openssl s_client -connect hadoop-m:8440
CONNECTED(00000003)
(... I removed lines ...)
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIFnDCCA4SgAwIBAgIBATAN (...I removed rest...)
$ openssl s_client -connect hadoop-m:8441
CONNECTED(00000003)
(... I removed lines ...)
-----BEGIN CERTIFICATE-----
MIIFnDCCA4SgAwIBAgIBAT (...I removed rest...)
@hadoop-w-1 $ more /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.132.0.3 hadoop-w-1.c.hdp-1-163209.internal hadoop-w-1 # Added by Google
169.254.169.254 metadata.google.internal # Added by Google $ hostname -f
hadoop-w-1.c.hdp-1-163209.internal
$ telnet hadoop-m 8440
Trying 10.132.0.4...
Connected to hadoop-m.
Escape character is '^]'. $ telnet hadoop-m 8441
Trying 10.132.0.4...
Connected to hadoop-m.
Escape character is '^]'. $ openssl s_client -connect hadoop-m:8440
CONNECTED(00000003)
(... I removed lines ...)
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIFnDCCA4SgAwIBAgIBATAN (...I removed rest...) $ openssl s_client -connect hadoop-m:8441
CONNECTED(00000003)
(... I removed lines ...)
-----BEGIN CERTIFICATE-----
MIIFnDCCA4SgAwIBAgIBAT (...I removed rest...) It looks as it should, doesn't it?
... View more
09-22-2017
09:31 AM
hi i added spark node in oozie workflow but getting this error all time { reason: Main class [org.apache.oozie.action.hadoop.SparkMain], exit code [101]
... View more