Brian created ARROW-5953:
----------------------------
Summary: Thrift download ERRORS with apache-arrow-0.14.0
Key: ARROW-5953
URL: https://issues.apache.org/jira/browse/ARROW-5953
Project: Apache Arrow
Issue Type: Bug
Components: C++
Affects Versions: 0.14.0, 0.13.0
Environment: RHEL 6.7
Reporter: Brian
{color:#333333}cmake returns:{color}
requests.excetions.SSLError: hostname 'www.apache.org' doesn't match either of
'*.openoffice.org', 'openoffice.org'/thrift/0.12.0/thrift-0.12.0.tar.gz
{color:#333333}during check for thrift download location. {color}
{color:#333333}This occurs with a freshly inflated arrow source release tree
where cmake is running for the first time. {color}
{color:#333333}Reproducible with the release levels of apache-arrow-0.14.0 and
0.13.0. I tried this 3-5x on 15Jul2019 and see it consistently each
time.{color}
{color:#333333}Here's the full context from cmake output: {color}
{quote}-- Checking for module 'thrift'
-- No package 'thrift' found
-- Could NOT find Thrift (missing: THRIFT_STATIC_LIB THRIFT_INCLUDE_DIR
THRIFT_COMPILER)
Building Apache Thrift from source
Downloading Apache Thrift from Traceback (most recent call last):
File "…/apache-arrow-0.14.0/cpp/build-support/get_apache_mirror.py", line 38,
in <module>
suggested_mirror = get_url('[https://www.apache.org/dyn/]'
File "…/apache-arrow-0.14.0/cpp/build-support/get_apache_mirror.py", line 27,
in get_url
return requests.get(url).content
File "/usr/lib/python2.6/site-packages/requests/api.py", line 68, in get
return request('get', url, **kwargs)
File "/usr/lib/python2.6/site-packages/requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 464, in
request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 576, in
send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.6/site-packages/requests/adapters.py", line 431, in
send
raise SSLError(e, request=request)
requests.exceptions.SSLError: hostname 'www.apache.org' doesn't match either of
'*.openoffice.org', 'openoffice.org'/thrift/0.12.0/thrift-0.12.0.tar.gz
{quote}
{color:#FF0000} {color}
{color:#FF0000}{color:#333333}Per Wes' suggestion I ran the following
directly:{color}{color}
{color:#FF0000}{color:#333333}python cpp/build-support/get_apache_mirror.py
[https://www-eu.apache.org/dist/] [http://us.mirrors.quenda.co/apache/]
{color}{color}
{color:#FF0000}{color:#333333}with this output:{color}{color}
[https://www-eu.apache.org/dist/] [http://us.mirrors.quenda.co/apache/]
*NOTE:* here are the cmake thrift log lines from a build of apache-arrow git
clone on 06Jul2019 where cmake/make were run fine.pwd
{quote}-- Checking for module 'thrift'
-- No package 'thrift' found
-- Could NOT find Thrift (missing: THRIFT_STATIC_LIB)
Building Apache Thrift from source
Downloading Apache Thrift from
http://mirror.metrocast.net/apache//thrift/0.12.0/thrift-0.12.0.tar.gz
{quote}
Currently, cmake runs successfully on this apache-arrow-0.14.0 directory.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)