You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/06 11:18:00 UTC

[jira] [Work logged] (HIVE-21325) Hive external table replication failed with Permission denied issue.

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

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

                Author: ASF GitHub Bot
            Created on: 06/Mar/19 11:17
            Start Date: 06/Mar/19 11:17
    Worklog Time Spent: 10m 
      Work Description: maheshk114 commented on pull request #558: HIVE-21325 : Hive external table replication failed with Permission denied issue.
URL: https://github.com/apache/hive/pull/558
 
 
   …
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

            Worklog Id:     (was: 208733)
            Time Spent: 10m
    Remaining Estimate: 0h

> Hive external table replication failed with Permission denied issue.
> --------------------------------------------------------------------
>
>                 Key: HIVE-21325
>                 URL: https://issues.apache.org/jira/browse/HIVE-21325
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21325.01.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> During external table replication the file copy is done in parallel to the meta data replication. If the file copy task creates the directory with do as set to true, it will create the directory with permission set to the user running the repl command. In that case the meta data task while creating the table may fail as hive user might not have access to the created directory.
> The fix should be
>  # While creating directory, if sql based authentication is enabled, then disable storage based authentication for hive user.
>  # Currently the created directory has the login user access, it should retain the source clusters owner, group and permission.
>  # For external table replication don't create the directory during create table and add partition.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)