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

Kanna Karanam commented on HIVE-3146:
-------------------------------------

@Edward, @Ashutosh - I think we need the following check here. I tried with if 
(!fs.contains("file:///")){  and noticed that around 70 Unoit tests are failing.

As per HIVE-1624 - They want to download resources from S3 (external FS to 
local system) and then move them to cluster.

public static boolean canDownloadResource(String value) {
    // Allow to download resources from any external FileSystem.
    // And no need to download if it already exists on local file system.
    return value.matches("\\w+://.*")
        && !value.toLowerCase().contains("file://");
  }

I am running unit tests with this change. If 100% pass then I will upload the 
patch.

Thanks
                
> Support external hive tables whose data are stored in Azure blob store/Azure 
> Storage Volumes (ASV)
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-3146
>                 URL: https://issues.apache.org/jira/browse/HIVE-3146
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Windows
>    Affects Versions: 0.10.0
>            Reporter: Kanna Karanam
>            Assignee: Kanna Karanam
>              Labels: Windows
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3146.1.patch.txt
>
>
> Support external hive tables whose data are stored in Azure blob store/Azure 
> Storage Volumes (ASV)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to