[ 
https://issues.apache.org/jira/browse/HIVE-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prasad Chakka updated HIVE-232:
-------------------------------

    Attachment: hive-232.2.patch

I think FileSystem.get() does return the configured default scheme and 
authority. Here is the updated patch with just the change to make hdfs relative 
paths to work and the metastore.warehouse param to work properly.

> metastore.warehouse configuration should use inherited hadoop configuration
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-232
>                 URL: https://issues.apache.org/jira/browse/HIVE-232
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Josh Ferguson
>         Attachments: hive-232.2.patch, hive-232.patch
>
>
> the hive.metastore.warehouse.dir configuration property in hive-*.xml needs 
> to use the protocol, host, and port when it is inherited from the fs.name 
> property in hadoop-site.xml.
> When it doesn't and no protocol is found then a broad range of "Move" 
> operations when the source and target are both in the DFS will fail.
> Currently this can be worked around by prepending the protocol, host and port 
> of the hadoop nameserver into the value of the hive.metastore.warehouse.dir 
> property.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to