[
https://issues.apache.org/jira/browse/PIG-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969544#comment-13969544
]
Rohini Palaniswamy commented on PIG-3892:
-----------------------------------------
We should go with 1. It is easy to do and one installation works for both
Hadoop 1 and 2 depending upon what HADOOP_HOME or HADOOP_PREFIX points to. We
just check for presence of hadoop-core*.jar in hadoop classpath and if present
put pig-h1.jar in classpath else put pig-h2.jar in classpath.
> Pig distribution for hadoop 2
> -----------------------------
>
> Key: PIG-3892
> URL: https://issues.apache.org/jira/browse/PIG-3892
> Project: Pig
> Issue Type: Bug
> Components: build
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.13.0
>
>
> Currently Pig distribution only bundle pig.jar for Hadoop 1. For Hadoop 2
> users they need to compile again using -Dhadoopversion=23 flag. That is a
> quite confusing process. We need to make Pig work with Hadoop 2 out of box. I
> am thinking two approaches:
> 1. Bundle both pig-h1.jar and pig-h2.jar in distribution, and bin/pig will
> chose the right pig.jar to run
> 2. Make two Pig distributions for Hadoop 1 and Hadoop
> Any opinion?
--
This message was sent by Atlassian JIRA
(v6.2#6252)