Brian -- I am concerned the issue is non-deterministic and relates to
the get_apache_mirror.py script. There may be something we can do to
make that script more robust, e.g. adding retry logic or some fallback
to a known mirror. Of course, if you can consistently reproduce the
issue that is good to know too

- Wes

On Mon, Jul 15, 2019 at 1:31 PM Brian Bowman <[email protected]> wrote:
>
> Wes,
>
> Here are the cmake thrift log lines from a build of apache-arrow git clone on 
> 06Jul2019 where cmake successfully downloads thrift.
>
> -- 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
>
> Do you still want a JIRA issue entered, given that this git clone works and 
> is a bit newer than the arrow-0.14.0 release .tar?
>
> - Brian
>
>
> On 7/15/19, 12:39 PM, "Wes McKinney" <[email protected]> wrote:
>
>     EXTERNAL
>
>     hi Brian,
>
>     Can you please open a JIRA issue?
>
>     Does running the "get_apache_mirror.py" script work for you by itself?
>
>     $ python cpp/build-support/get_apache_mirror.py
>     https://www-eu.apache.org/dist/
>
>     - Wes
>
>     On Mon, Jul 15, 2019 at 10:54 AM Brian Bowman <[email protected]> 
> wrote:
>     >
>     > Is there a workaround for the following error?
>     >
>     > 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
>     >
>     > I’ve inflated apache-arrow-0.14.0.tar and the thrift-0.12.0.tar.gz is 
> not being found curing cmake.  This results in downstream compile errors 
> during make.
>     >
>     > Here’s the log info from cmake:
>     >
>     > -- 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
>     >
>     >
>     > Thanks,
>     >
>     >
>     > Brian
>     >
>
>

Reply via email to