Hi
I am using Python 2.6. AM I missing any configurations?
rohith@host-10-18-130-110:~/os/zookeeper3.4.6/bin> python --version
Python 2.6
In slider-client.xml, I have configured below properties.
<property>
<name>HADOOP_CONF_DIR</name>
<value>/home/rohith/os/hadoop-2.7.2/etc/hadoop</value>
</property>
<property>
<name>hadoop.registry.zk.quorum</name>
<value>10.18.130.110:54000</value>
</property>
<property>
<name>hadoop.registry.zk.root</name>
<value>/registry</value>
</property>
<property>
<name>yarn.log-aggregation-enable</name>
<value>true</value>
</property>
Thanks & Regards
Rohith Sharma K S
P.S : Kinldy keep my personnal ID is CC. Offline office hours I will not be
able to access company network!!
-----Original Message-----
From: Jon Maron [mailto:[email protected]]
Sent: 28 October 2015 19:02
To: [email protected]
Subject: Re: Slider-agent can not be started
Any idea what python version the agent hosts are running? Version 2.7.9 has
issues, so the max version currently supported in 2.7.8.
— Jon
On Oct 28, 2015, at 6:27 AM, Rohith Sharma K S
<[email protected]<mailto:[email protected]>> wrote:
Hi folks,
Ping.. Any Idea on this why slider-agent cannot be connected to ZK?
I tried in develop branch, the same error is logging in slider agent!!
The ZK quorum in configured properly and ZK is running 10.18.130.110:54000
address. And I am using zookeeper-3.4.6.
Error log :
ERROR 2015-10-06 13:38:31,077 Registry.py:63 - Could not connect to zk registry
at /registry/users/rohith/services/org-apache-slider/t6 in quorum
10.18.130.110:54000. Error: 'NoneType' object has no attribute 'strip'
INFO 2015-10-06 13:38:31,078 Registry.py:69 - AM Host = , AM Secured Port = ,
ping port = INFO 2015-10-06 13:38:31,078 main.py:259 - Unable to extract AM
host details from ZK, retrying ...
Any help is appreciated☺
Thanks & Regards
Rohith Sharma K S
From: Rohith Sharma K S
Sent: 06 October 2015 14:39
To: '[email protected]<mailto:[email protected]>'
Subject: Slider-agent can not be started
Hi
I am trying to deploy HBase using Slider. I created HBase package with
Hadoop-2.6 distribution. I submitted job using “python slider create t6
--template appConfig.json --resources resources.json”.
Slider master started running but Hmaster launching is failed. In the
slider-agent.log which is attached has following error.
I hope I am missing some configurations, could anyone help to understand why
there is below error? How to resolve this issue? Full slider-agent.log I have
attached in the mail.
INFO 2015-10-06 13:38:21,067 main.py:259 - Unable to extract AM host details
from ZK, retrying ...
ERROR 2015-10-06 13:38:31,077 Registry.py:63 - Could not connect to zk registry
at /registry/users/rohith/services/org-apache-slider/t6 in quorum
10.18.130.110:54000. Error: 'NoneType' object has no attribute 'strip'
INFO 2015-10-06 13:38:31,078 Registry.py:69 - AM Host = , AM Secured Port = ,
ping port = INFO 2015-10-06 13:38:31,078 main.py:259 - Unable to extract AM
host details from ZK, retrying ...
INFO 2015-10-06 13:38:41,081 Controller.py:140 - Registering with the server at
https://localhost:8441/ws/v1/slider/agents/container_e04_1444115477719_0002_01_000016___HBASE_MASTER/register
with data '{"tags": "", "timestamp": 1444118921081, "expectedState": 0,
"responseId": -1, "actualState": 0, "logFolders": {}, "agentVersion": "1",
"allocatedPorts": {}, "appVersion": null, "publicHostname":
"host-10-18-130-110", "label":
"container_e04_1444115477719_0002_01_000016___HBASE_MASTER"}'
INFO 2015-10-06 13:38:41,081 security.py:89 - SSL Connect being called..
connecting to the server ERROR 2015-10-06 13:38:41,082 Controller.py:625 -
Exception raised Traceback (most recent call last):
File
"/home/rohith/os/tmp2.6/nm-local-dir/usercache/rohith/appcache/application_1444115477719_0002/filecache/24/slider-agent.tar.gz/slider-agent/agent/Controller.py",
line 619, in sendRequest
self.cachedconnect = security.CachedHTTPSConnection(self.config)
File
"/home/rohith/os/tmp2.6/nm-local-dir/usercache/rohith/appcache/application_1444115477719_0002/filecache/24/slider-agent.tar.gz/slider-agent/agent/security.py",
line 106, in __init__
self.connect()
File
"/home/rohith/os/tmp2.6/nm-local-dir/usercache/rohith/appcache/application_1444115477719_0002/filecache/24/slider-agent.tar.gz/slider-agent/agent/security.py",
line 111, in connect
self.httpsconn.connect()
File
"/home/rohith/os/tmp2.6/nm-local-dir/usercache/rohith/appcache/application_1444115477719_0002/filecache/24/slider-agent.tar.gz/slider-agent/agent/security.py",
line 49, in connect
sock=self.create_connection()
File
"/home/rohith/os/tmp2.6/nm-local-dir/usercache/rohith/appcache/application_1444115477719_0002/filecache/24/slider-agent.tar.gz/slider-agent/agent/security.py",
line 90, in create_connection
sock = socket.create_connection((self.host, self.port), 60)
File "/usr/lib64/python2.6/socket.py", line 512, in create_connection
Thanks & Regards
Rohith Sharma K S