Member since
11-19-2018
13
Posts
0
Kudos Received
0
Solutions
01-10-2019
08:51 PM
Dear @Jay Kumar SenSharma As per your suggested video link https://www.youtube.com/watch?v=wHaVBoLwzwU i have done all network setup ...and installation of ambari server and ambari-agent...successfully by local repo ....- When i adding only master , there is error to register ..... see in ambari-agent log file ..... INFO 2019-01-10 08:35:21,750 main.py:145 - loglevel=logging.INFO INFO 2019-01-10 08:35:21,751 main.py:145 - loglevel=logging.INFO INFO 2019-01-10 08:35:21,751 main.py:145 - loglevel=logging.INFO INFO 2019-01-10 08:35:21,754 DataCleaner.py:39 - Data cleanup thread started INFO 2019-01-10 08:35:21,756 DataCleaner.py:120 - Data cleanup started INFO 2019-01-10 08:35:21,758 DataCleaner.py:122 - Data cleanup finished INFO 2019-01-10 08:35:21,820 PingPortListener.py:50 - Ping port listener started on port: 8670 INFO 2019-01-10 08:35:21,823 main.py:437 - Connecting to Ambari server at https://master.alethe.com:8440 (192.168.1.191) INFO 2019-01-10 08:35:21,824 NetUtil.py:70 - Connecting to https://master.alethe.com:8440/ca ERROR 2019-01-10 08:35:21,871 NetUtil.py:96 - [Errno 8] _ssl.c:504: EOF occurred in violation of protocol ERROR 2019-01-10 08:35:21,871 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details. WARNING 2019-01-10 08:35:21,871 NetUtil.py:124 - Server at https://master.alethe.com:8440 is not reachable, sleeping for 10 seconds... Also i have find the answer in below link https://community.hortonworks.com/questions/121978/openssl-compatibility.html?childToView=138080#answer-138080 By adding below config in [security] section of
vi /etc/ambari-agent/conf/ambari-agent.ini force_https_protocol=PROTOCOL_TLSv1_2 vi /etc/python/cert-verification.cfg [https] verify=disable but in my System /etc/python is not available , how to find /python/cert-verificatin.cfg to change the verify=disable My Operating System is Centos 7 HDP2.6.3 AND AMBARI2.6
... View more
Labels:
- Labels:
-
Apache Hadoop
01-08-2019
02:20 PM
Hi @Jay Kumar SenSharma As per your requirement all process is successful done i attached screenshot . please suggest how to see " Operation log " in ambari UI . i want to say that i can't find ambari-server 's files or directory in my server where my hdp2.6 with ambari is installed. when i triggered below command there is a message : No such file or directory .. tail : no files remaining ** tail -f /var/log/ambari-server/ambari-server.log ** screenshot-from-2018-12-31-16-40-04.png
... View more
01-08-2019
02:20 PM
Hi @Akhil S Naik Thanks For the Reply , after Triggered Your Command : ' tail -f /var/log/ambari-server/ambari-server.log ' there is No such file or directory tail : no files remaining And also , after clicked on Failed there is a message : Registration with the server failed for hdpnode1.hortonworks.com
... View more
01-08-2019
02:20 PM
Hi @Jay Kumar SenSharma please find below ambari -server log details... screenshot-from-2019-01-02-17-35-45.png...
... View more
01-08-2019
02:20 PM
@Jay Kumar SenSharma when i clicked on failed :screenshot-from-2019-01-02-15-50-34.png Registration log for hdpnode1.hortonworks.com
Registration with the server failed.
OK
... View more
01-08-2019
02:20 PM
@Geoffrey Shelton Okot Hi Sir Thanks For the reply ... Sir , You Are Absolutely Right , It is the first host in the cluster ...... also my cluster name is default "Sandbox" , if there is needed for Change this Please suggest the process.. i am new in Hadoop and it is my first experiment on hdp . Thanks screenshot-from-2018-12-31-12-27-12.pngscreenshot-from-2018-12-31-12-28-26.png
... View more
01-08-2019
02:20 PM
Hello @Jay Kumar SenSharma 1. I want 3 node cluster in our server .... please suggest which process is the best for multinode cluster . can i setup multinode cluster in installed single node cluster in sandbox....??? 2. yes ambari server host and its port 8080 is work fine except 8440 port 3. after the adding hostname "hdpnode1.hortonworks.com" in /etc/hosts ..... Registratin log saying : Registration log for hdpnode1.hortonworks.com
==========================
Creating target directory...
==========================
Command start time 2019-01-03 11:09:16
Connection to hdpnode1.hortonworks.com closed.
SSH command execution finished
host=hdpnode1.hortonworks.com, exitcode=0
Command end time 2019-01-03 11:09:16
==========================
Copying ambari sudo script...
==========================
Command start time 2019-01-03 11:09:16
scp /var/lib/ambari-server/ambari-sudo.sh
host=hdpnode1.hortonworks.com, exitcode=0
Command end time 2019-01-03 11:09:17
==========================
Copying common functions script...
==========================
Command start time 2019-01-03 11:09:17
scp /usr/lib/python2.6/site-packages/ambari_commons
host=hdpnode1.hortonworks.com, exitcode=0
Command end time 2019-01-03 11:09:17
==========================
Copying create-python-wrap script...
==========================
Command start time 2019-01-03 11:09:17
scp /var/lib/ambari-server/create-python-wrap.sh
host=hdpnode1.hortonworks.com, exitcode=0
Command end time 2019-01-03 11:09:17
==========================
Copying OS type check script...
==========================
Command start time 2019-01-03 11:09:17
scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=hdpnode1.hortonworks.com, exitcode=0
Command end time 2019-01-03 11:09:17
==========================
Running create-python-wrap script...
==========================
Command start time 2019-01-03 11:09:17
Connection to hdpnode1.hortonworks.com closed.
SSH command execution finished
host=hdpnode1.hortonworks.com, exitcode=0
Command end time 2019-01-03 11:09:18
==========================
Running OS type check...
==========================
Command start time 2019-01-03 11:09:18
Cluster primary/cluster OS family is redhat6 and local/current OS family is redhat7
Traceback (most recent call last):
File "/var/lib/ambari-agent/tmp/os_check_type1546513757.py", line 44, in <module>
main()
File "/var/lib/ambari-agent/tmp/os_check_type1546513757.py", line 40, in main
raise Exception("Local OS is not compatible with cluster primary OS family. Please perform manual bootstrap on this host.")
Exception: Local OS is not compatible with cluster primary OS family. Please perform manual bootstrap on this host.
Connection to hdpnode1.hortonworks.com closed.
SSH command execution finished
host=hdpnode1.hortonworks.com, exitcode=1
Command end time 2019-01-03 11:09:18
ERROR: Bootstrap of host hdpnode1.hortonworks.com fails because previous action finished with non-zero exit code (1)
ERROR MESSAGE: tcgetattr: Inappropriate ioctl for device
Connection to hdpnode1.hortonworks.com closed.
STDOUT: Cluster primary/cluster OS family is redhat6 and local/current OS family is redhat7
Traceback (most recent call last):
File "/var/lib/ambari-agent/tmp/os_check_type1546513757.py", line 44, in <module>
main()
File "/var/lib/ambari-agent/tmp/os_check_type1546513757.py", line 40, in main
raise Exception("Local OS is not compatible with cluster primary OS family. Please perform manual bootstrap on this host.")
Exception: Local OS is not compatible with cluster primary OS family. Please perform manual bootstrap on this host.
Connection to hdpnode1.hortonworks.com closed.
Also i want to say that my server ip where hdp2.6 -------.ova is installed is 192.168.1.190 ...when i connected from my local system to this ip
[root@hdpnode1 ~]# ssh root@192.168.1.190
Last login: Thu Jan 3 11:08:27 2019 from hdpnode1.hortonworks.com
[root@sandbox-host ~]#
it shows sandbox-host but here is nothing for hadoop or hdp or ambari server
and when i connected to root@172.17.0.2 here all hadoop daemons are running but as per you it is Sandbox which is suitable for a Single Node cluster only......Then how can achieve multinode cluster on hdp
[root@sandbox-hdp ~]# jps
8000 TagSynchronizer
8134 QuorumPeerMain
14214 -- process information unavailable
16011 RunJar
10060 JobHistoryServer
14476 LivyServer
14225 ZeppelinServer
11669 HistoryServer
21269 RunJar
22422
10520 RunJar
20953 DataNode
7323 -- process information unavailable
11100 ResourceManager
21475 NameNode
29608 AmbariServer
15080 Jps
8747 EmbeddedServer
28974 -- process information unavailable
9520 ApplicationHistoryServer
14705 NodeManager
9082 UnixAuthenticationService
20987 SparkSubmit
22652 SecondaryNameNode
16957 Bootstrap
[root@sandbox-hdp ~]#
... View more
01-08-2019
02:20 PM
Hi Everyone, I am gonna adding a new hosts in existing cluster ....All
Network Process are done successfully ...after then did't register new
hosts by AMBARI.... hdp version details : hdp 2.6 with ambari 2.6 Os - centso7 Please Suggest How to do , Your Help is Highly appreciated . screenshot-from-2018-12-28-18-17-06.pngscreenshot-from-2018-12-28-18-23-15.pngscreenshot-from-2018-12-28-18-40-11.png
... View more
Labels: