Welcome to the Cloudera Community

Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!

Who agreed with this topic

Problem distributing CDH parcel to manager host

avatar
Contributor

The new parcels could be distributed to all hosts exept the manager host.

 

The cloudera-scm-agent.log has the following info:

 

[24/Jul/2017 10:57:32 +0000] 7377 Thread-13 downloader INFO Starting download of: https://hadoop-name-01.xxx.xxx:7183/cmf/parcel/download/CDH-5.12.0-1.cdh5.12.0.p0.29-precise.parcel
[24/Jul/2017 10:57:32 +0000] 7377 Thread-13 downloader INFO /home/cloudera-manager/parcel-cache/CDH-5.12.0-1.cdh5.12.0.p0.29-precise.parcel.part exists, add Range header: bytes=0-
[24/Jul/2017 10:57:32 +0000] 7377 Thread-13 downloader ERROR HTTP error during download
Traceback (most recent call last):
File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.12.0-py2.7.egg/cmf/downloader.py", line 108, in download
response = self.fetch_url(request)
File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.12.0-py2.7.egg/cmf/downloader.py", line 79, in fetch_url
return cmf.https.ssl_url_opener.open(request)
File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.12.0-py2.7.egg/cmf/https.py", line 179, in open
return self.opener(*pargs, **kwargs)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.12.0-py2.7.egg/cmf/https.py", line 214, in http_error_default
raise e
HTTPError: HTTP Error 400: Bad Request
[24/Jul/2017 10:57:32 +0000] 7377 Thread-13 downloader INFO Finished download [ url: https://hadoop-name-01.xxx.xxx:7183/cmf/parcel/download/CDH-5.12.0-1.cdh5.12.0.p0.29-precise.parcel, state: exception, total_bytes: 0, downloaded_bytes: 0, start_time: 2017-07-24 10:57:32, download_end_time: , end_time: 2017-07-24 10:57:32, code: 400, exception_msg: HTTP Error 400: Bad Request, path: None ]
[24/Jul/2017 10:57:40 +0000] 7377 MainThread agent INFO Flood daemon (re)start attempt
[24/Jul/2017 10:57:41 +0000] 7377 MainThread agent ERROR Failed starting flood: <Fault 40: 'ABNORMAL_TERMINATION: flood'> 

 

---- end of log ------

 

 

i could fix the problem by rebuilding the pythion environment on the maneger node.

using the following  command: virtualenv /usr/lib/cmf/agent/build/env

 

i'm not sure what caused the problem or if this is the correct solution but atleast distribution of the parcels works correctly  now.

Who agreed with this topic