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

Ashutosh Chauhan commented on HIVE-13705:
-----------------------------------------

I see. Thats the bug in Hadoop's {{LocalFileSystem}} implementation. To work 
around I put this in 
https://github.com/apache/hive/blob/master/shims/common/src/main/java/org/apache/hadoop/fs/ProxyFileSystem.java#L179
I think best way to workaround this issue of Hadoop's {{LocalFileSystem}} not 
honoring contract of Hadoop's {{FileSystem}} api is to place in our own local 
FileSystem (like ProxyFileSystem) in Hive tree. Open to other ideas as well.

> Insert into table removes existing data
> ---------------------------------------
>
>                 Key: HIVE-13705
>                 URL: https://issues.apache.org/jira/browse/HIVE-13705
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 2.1.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-13705.1.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to