[ 
https://issues.apache.org/jira/browse/ARROW-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17305108#comment-17305108
 ] 

Jonathan Keane commented on ARROW-12026:
----------------------------------------

Thank you for that, that's super helpful.

I see in the output the line {{*** Arrow C++ libraries found via pkg-config}} 
which tells us that the R package is linking to a version of lib arrow that it 
has found via {{pkg-config}} (the most likely candidate here is one installed 
at the system level, if I'm parsing the logs correctly, it might be located in 
{{/usr/local/include}} ). Is it possible you installed libarrow some other way 
before the R package?

There are a few options:

1. You could try setting {{ARROW_USE_PKG_CONFIG=FALSE}} which will avoid using 
pkg-config to look for libarrow, you'll also want to set 
{{LIBARROW_MINIMAL=FALSE}} and {{ARROW_R_DEV=TRUE}} and try to reinstall

2. Or, if you want to uninstall the installed version of libarrow, you can do 
that and the reinstall with {{LIBARROW_MINIMAL=FALSE}} and {{ARROW_R_DEV=TRUE}} 
should trigger a full build.

With either of these options, you will need to install the devtoolset-8 if you 
don't already have it to enable the version of gcc that is required for using 
S3 with arrow.

{{ARROW_R_DEV=TRUE}} isn't strictly necessary, of course but more verbosity is 
helpful.

> [R] NotImplemented: Got S3 URI but Arrow compiled without S3 support
> --------------------------------------------------------------------
>
>                 Key: ARROW-12026
>                 URL: https://issues.apache.org/jira/browse/ARROW-12026
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 3.0.0
>         Environment: QA
>            Reporter: Karthikeyan Janakiraman
>            Priority: Trivial
>
> I have followed below steps however seeing the error on summary when I try to 
> read parquet from S3. 
>  
> 1. export LIBARROW_MINIMAL=false
> {code:java}
> [root@c1cce557dba3 tmp]# printenv | grep LIBARROW_MINIMAL
> LIBARROW_MINIMAL=false{code}
>  
> 2. Install arrow 
> {code:java}
> R CMD INSTALL arrow_3.0.0.tar.gz
> {code}
>   
> 3. Get into R prompt and load arrow
> {code:java}
> > library('arrow')
> Attaching package: ‘arrow’The following object is masked from 
> ‘package:utils’:    timestamp
> > 
> {code}
> 4. When I try to read a parquet from S3 bucket seeing below error, 
>  
> {code:java}
> > df <- read_parquet("s3://my_bucket/test-parquet/refinement.parquet")
> Error: NotImplemented: Got S3 URI but Arrow compiled without S3 support
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to