使用CM 5.5.1 urlopen错误的新安装[Errno 22]参数无效

时间:2015-12-25 07:12:50

标签: cloudera-cdh cloudera-manager

我正在使用Cloudera Manager 5.5.1在运行CentOS 6.6的3节点集群上尝试全新安装,但是在名为“安装选定地块”的第7步中,我收到错误消息

<urlopen error [Errno 22] Invalid argument> - server1.mydomain.com
<urlopen error [Errno 22] Invalid argument> - server2.mydomain.com
<urlopen error [Errno 22] Invalid argument> - server3.mydomain.com

我不确定问题是什么,如果这是一个已知问题,有人可以告诉我吗?

经过进一步调查,我在log scm-agent.log中看到以下错误

[25/Dec/2015 08:16:10 +0000] 18222 Thread-13 downloader   INFO     Finished download [ url: http://0.1.55.217:7180/cmf/parcel/download/CDH-5.5.1-1.cdh5.5.1.p0.11-el6.parcel, state: exception, total_bytes: 0, downloaded_bytes: 0, start_time: 2015-12-25 08:16:10, download_end_time: , end_time: 2015-12-25 08:16:10, code: 600, exception_msg: <urlopen error [Errno 22] Invalid argument>, path: None ]
[25/Dec/2015 08:16:25 +0000] 18222 Thread-13 downloader   INFO     Starting download of: http://0.1.55.217:7180/cmf/parcel/download/CDH-5.5.1-1.cdh5.5.1.p0.11-el6.parcel
[25/Dec/2015 08:16:25 +0000] 18222 Thread-13 downloader   INFO     /opt/cloudera/parcel-cache/CDH-5.5.1-1.cdh5.5.1.p0.11-el6.parcel.part exists, add Range header: bytes=0-
[25/Dec/2015 08:16:25 +0000] 18222 Thread-13 downloader   ERROR    Unexpected exception during download
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/src/cmf/downloader.py", line 276, in _download
    response = self.opener.fetch_url(request)
  File "/usr/lib64/cmf/agent/src/cmf/downloader.py", line 69, in fetch_url
    return urllib2.urlopen(request)
  File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.6/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 22] Invalid argument>
[25/Dec/2015 08:16:25 +0000] 18222 Thread-13 downloader   INFO     Finished download [ url: http://0.1.55.217:7180/cmf/parcel/download/CDH-5.5.1-1.cdh5.5.1.p0.11-el6.parcel, state: exception, total_bytes: 0, downloaded_bytes: 0, start_time: 2015-12-25 08:16:25, download_end_time: , end_time: 2015-12-25 08:16:25, code: 600, exception_msg: <urlopen error [Errno 22] Invalid argument>, path: None ]

1 个答案:

答案 0 :(得分:0)

仔细检查您的代理节点是否可以telnet到端口7180上的管理器节点。

我看到了我的代理节点无法解析经理dns的问题。所以我必须在/ etc / hosts中的代理节点上映射DNS。