hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen Gangam (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-16729) Improve location validator to check for blank paths.
Date Thu, 01 Jun 2017 21:57:04 GMT

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

Naveen Gangam updated HIVE-16729:
---------------------------------
    Attachment: HIVE-16729.patch

Attaching a patch that adds a check to the hive metadata validator to ensure that the DFS
paths have a "path" element after hostname[:port] element of the path.
For example: {{hdfs://host:8020/}} will cause it to throw a flag. It expects {{hdfs://host:8020/<somePath>}}
or {{hdfs://nameservice/<somePath>}}.
[~aihuaxu] Could you please review? Thanks

> Improve location validator to check for blank paths.
> ----------------------------------------------------
>
>                 Key: HIVE-16729
>                 URL: https://issues.apache.org/jira/browse/HIVE-16729
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>    Affects Versions: 3.0.0
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>            Priority: Minor
>         Attachments: HIVE-16729.patch
>
>
> Currently, the schema tool location validator succeeds even when the location for hive
table/partitions have paths like
> hdfs://myhost.com:8020/
> hdfs://myhost.com:8020
> where there is actually no "real" path. Having the validator report such path would be
beneficial in preventing runtime errors.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message