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

Aihua Xu commented on HIVE-13705:
---------------------------------

[~ashutoshc] Want to double check with you your thoughts. I checked the logic 
to plug in ProxyFileSystem. Seems we need to register ProxyFileSystem to let 
ServiceLoader to load. Is that what you think?

{noformat}
  private static void loadFileSystems() {
    synchronized (FileSystem.class) {
      if (!FILE_SYSTEMS_LOADED) {
        ServiceLoader<FileSystem> serviceLoader = 
ServiceLoader.load(FileSystem.class);
        for (FileSystem fs : serviceLoader) {
          SERVICE_FILE_SYSTEMS.put(fs.getScheme(), fs.getClass());
        }
        FILE_SYSTEMS_LOADED = true;
      }
    }
  }
{noformat}

> 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