[ 
https://issues.apache.org/jira/browse/IMPALA-11194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

LiPenglin updated IMPALA-11194:
-------------------------------
    Description: 
Currently, there is a case where I LOAD DATA from hdfs configured with ranger, 
and the following exception occurs:
{code:java}
// sql
LOAD DATA INPATH 'hdfs://...' OVERWRITE INTO TABLE tbl 
PARTITION(status='origin');

// impalad exception
org.apache.impala.common.AnalysisException: Unable to LOAD DATA from hdfs://... 
because Impala does not have READ permissions on this file
        at 
org.apache.impala.analysis.LoadDataStmt.analyzePaths(LoadDataStmt.java:194)
        at 
org.apache.impala.analysis.LoadDataStmt.analyze(LoadDataStmt.java:122)
        at 
org.apache.impala.analysis.AnalysisContext.analyze(AnalysisContext.java:491)
        at 
org.apache.impala.analysis.AnalysisContext.analyzeAndAuthorize(AnalysisContext.java:451)
        at 
org.apache.impala.service.Frontend.doCreateExecRequest(Frontend.java:1736)
        at 
org.apache.impala.service.Frontend.getTExecRequest(Frontend.java:1702)
        at 
org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1672)
        at 
org.apache.impala.service.JniFrontend.createExecRequest(JniFrontend.java:164) 
{code}

  was:Currently, there is a case where I imports data from H configured with R, 
and the following exception occurs


> Unable to LOAD DATA from HDFS configured with ranger
> ----------------------------------------------------
>
>                 Key: IMPALA-11194
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11194
>             Project: IMPALA
>          Issue Type: Improvement
>            Reporter: LiPenglin
>            Priority: Major
>
> Currently, there is a case where I LOAD DATA from hdfs configured with 
> ranger, and the following exception occurs:
> {code:java}
> // sql
> LOAD DATA INPATH 'hdfs://...' OVERWRITE INTO TABLE tbl 
> PARTITION(status='origin');
> // impalad exception
> org.apache.impala.common.AnalysisException: Unable to LOAD DATA from 
> hdfs://... because Impala does not have READ permissions on this file
>         at 
> org.apache.impala.analysis.LoadDataStmt.analyzePaths(LoadDataStmt.java:194)
>         at 
> org.apache.impala.analysis.LoadDataStmt.analyze(LoadDataStmt.java:122)
>         at 
> org.apache.impala.analysis.AnalysisContext.analyze(AnalysisContext.java:491)
>         at 
> org.apache.impala.analysis.AnalysisContext.analyzeAndAuthorize(AnalysisContext.java:451)
>         at 
> org.apache.impala.service.Frontend.doCreateExecRequest(Frontend.java:1736)
>         at 
> org.apache.impala.service.Frontend.getTExecRequest(Frontend.java:1702)
>         at 
> org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1672)
>         at 
> org.apache.impala.service.JniFrontend.createExecRequest(JniFrontend.java:164) 
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to