hive-issues mailing list archives

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


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:
>             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://
> hdfs://
> 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

View raw message