[ 
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.

Reply via email to