hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1317) CombineHiveInputFormat throws exception when partition name contains special characters to URI
Date Wed, 28 Apr 2010 15:18:33 GMT

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

Namit Jain commented on HIVE-1317:
----------------------------------

Ning, I am getting a compilation error after applying the patch -

    [javac] symbol  : variable File
    [javac] location: class org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.CombineFilter
    [javac]       pString = p.toString() + File.separator;
    [javac]                                ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

BUILD FAILED


> CombineHiveInputFormat throws exception when partition name contains special characters
to URI
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1317
>                 URL: https://issues.apache.org/jira/browse/HIVE-1317
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>             Fix For: 0.6.0
>
>         Attachments: HIVE-1317.2.patch, HIVE-1317.patch
>
>
> If a partition name contains characters such as ':' and '|' which have special meaning
in URI (hdfs uses URI internally for Path), CombineHiveInputFormat throws an exception. URI
was created in CombineHiveInputFormat to compare a path belongs to a partition in partitionToPathInfo.
We should bypass URI creation by just string comparisons. 

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


Mime
View raw message