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

Edward Capriolo commented on HIVE-3146:
---------------------------------------

Kanna, I actually do not believe we need this check at all.

{noformat}
  private String downloadResource(String value, boolean convertToUnix) {
    if (value.matches("("+ getMatchingSchemaAsRegex() +")://.*")) {
      try {
        FileSystem fs = FileSystem.get(new URI(value), conf);
{noformat}

I just dealt with one of these. 

https://issues.apache.org/jira/browse/HIVE-1444?attachmentSortBy=dateTime

Hadoop and hive are supposed to support pluggable DFS's, we should not have a 
'list of approved fs' anywhere, it just makes more work and more 
incomparability problems.

If I understand this method correctly all we probably need is a check for:

{noformat}
if (!fs.contains("file:///")){ }
{noformat}


Am I right?
                
> 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