[ 
https://issues.apache.org/jira/browse/HIVE-25401?focusedWorklogId=632155&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-632155
 ]

ASF GitHub Bot logged work on HIVE-25401:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Aug/21 06:09
            Start Date: 02/Aug/21 06:09
    Worklog Time Spent: 10m 
      Work Description: Neilxzn commented on pull request #2544:
URL: https://github.com/apache/hive/pull/2544#issuecomment-890748725


   I think the failed test  is not related to this patch. Please run test 
again. Thank you. @kgyrtkirk 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 632155)
    Time Spent: 0.5h  (was: 20m)

> Insert overwrite  a table which location is on other cluster fail  in 
> kerberos cluster
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-25401
>                 URL: https://issues.apache.org/jira/browse/HIVE-25401
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 2.3.0, 3.1.2
>         Environment: hive 2.3 
> hadoop3 cluster with kerberos 
>            Reporter: Max  Xie
>            Assignee: Max  Xie
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: HIVE-25401.patch, image-2021-07-29-14-25-23-418.png
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> we have tow hdfs clusters with kerberos security,  it means that mapreduce 
> task need delegation tokens to authenticate namenode when hive on mapreduce 
> run.
> Insert overwrite a table which location is on other cluster fail in kerberos 
> cluster. For example, 
>  # yarn cluster's default fs is hdfs://cluster1
>  # tb1's location is hdfs://cluster1/tb1
>  # tb2's location is hdfs://cluster2/tb2 
>  #  sql `INSERT OVERWRITE TABLE  tb2 SELECT * from tb1` run on yarn cluster 
> will fail
>  
> reduce task error log:
> !image-2021-07-29-14-25-23-418.png!
> How to fix:
> After dig it, web found mapreduce job just obtain delegation tokens for input 
> files in FileInputFormat. But Hive context get extendal scratchDir base on 
> table's location, If the table 's location is on other cluster, the 
> delegation token will not be obtained. 
> So we need to obtaine delegation tokens for hive scratchDirs before hive 
> submit mapreduce job.
>  
> How to test:
> no test
>  
>  



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

Reply via email to