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

Daniel Dai commented on PIG-1857:
---------------------------------

Tried PIG-1857-5.patch, works well in both ubuntu (deb) and redhat (rpm). Here 
is some notes about how it works:
1. Install contrib, lib, scripts, test, tutorial into /usr/share/pig, install 
pig config into /etc/pig, install bin/pig into /usr/bin
2. package bundles pig-withouthadoop.jar
3. package depends on hadoop package
4. bin/pig will put /etc/hadoop into classpath, which should be the hadoop 
config; It also link all hadoop jars

For Alan's concern:
bq. That I can install the resulting rpm and that Pig runs ok when I do. In 
particular I am interested to see how users run Pig when the RPM is installed. 
Do they still need to set PIG_CLASSPATH to point to their cluster or does the 
RPM installation take care of all that.
Yes, verified.
bq.That I can install the resulting deb and that Pig runs ok when I do. I don't 
have any debian based systems handy to test this.
Yes, verified.
bq. A general question as well. My initial impression was that there would be 
separate rpms and debs for binary and source distributions, as there are for 
maven packages. But it looking at the resulting rpms and debs it looks instead 
like source and executables have all been placed in one rpm/deb. Is that 
intentional? Is it what users expect? These things usually seem to be divided 
in rpms.
Talked with Eric, we only build binary packages. The rpm source package is not 
used and Eric will remove it.

> Create an package integration project
> -------------------------------------
>
>                 Key: PIG-1857
>                 URL: https://issues.apache.org/jira/browse/PIG-1857
>             Project: Pig
>          Issue Type: New Feature
>          Components: build
>    Affects Versions: 0.9.0
>         Environment: RHEL 5.5/Ubuntu 10.10
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: PIG-1857-1.patch, PIG-1857-2.patch, PIG-1857-3.patch, 
> PIG-1857-4.patch, PIG-1857-5.patch, PIG-1857-draft.patch, PIG-1857.patch
>
>
> This goal of this ticket is to generate a set of RPM/debian package which 
> integrate well with RPM sets created by HADOOP-6255.  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to