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

Amareshwari Sriramadasu commented on HIVE-2468:
-----------------------------------------------

Would need following changes in bin/hive:
-if [ $hadoop_minor_ver -ne 20 -o $hadoop_patch_ver -eq 0 ]; then
+if [ "$hadoop_minor_ver$hadoop_patch_ver" -lt "201" ]; then

Also, I had to do changes in CombineFileInputFormatShim to work with 0.23. 
Because the following casting does not work anymore.
{noformat}
      CombineFileSplit[] splits = (CombineFileSplit[]) super.getSplits(job, 
numSplits);
{noformat}

And the paths of hadoop jars build.properties should be changed according to 
the 0.23 tar ball

                
> Make Hive compile against Hadoop 0.23
> -------------------------------------
>
>                 Key: HIVE-2468
>                 URL: https://issues.apache.org/jira/browse/HIVE-2468
>             Project: Hive
>          Issue Type: Task
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>         Attachments: HIVE-2468.patch
>
>
> Due to restructure of Hadoop 0.22 branch compared to Hadoop 0.20 Hive does 
> not compile against 0.22

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to