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

Jonathan Keane edited comment on ARROW-12026 at 4/6/21, 2:17 PM:
-----------------------------------------------------------------

It looks like the source isn't where the installation is expecting it so it's 
not being found when you disable the downloading.

The {{find_local_source()} function is called even if the download is 
disabled|https://github.com/apache/arrow/blob/81f652102737ea89c30de0cec1e94414b8740666/r/tools/nixlibs.R#L495].
 That function will look in the directory given in the {{ARROW_HOME}} 
environment variable (which defaults to one directory above the r package to 
match the layout of our repository). Try making sure you have the cpp source 
available and setting that environment variable now that you have disabled 
downloading see: 
https://github.com/apache/arrow/blob/master/r/tools/nixlibs.R#L264-L272


was (Author: jonkeane):
It looks like the source isn't where the installation is expecting it so it's 
not being found when you disable the downloading.

The [{find_local_source()} function is called even if the download is 
disabled|https://github.com/apache/arrow/blob/81f652102737ea89c30de0cec1e94414b8740666/r/tools/nixlibs.R#L495].
 That function will look in the directory given in the {{ARROW_HOME}} 
environment variable (which defaults to one directory above the r package to 
match the layout of our repository). Try making sure you have the cpp source 
available and setting that environment variable now that you have disabled 
downloading see: 
https://github.com/apache/arrow/blob/master/r/tools/nixlibs.R#L264-L272

> [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