Re: HowTo build pig

2015-06-03 Thread Serega Sheypak
Hi! I run this command: ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean jar test-commit and get: [javac] /Users/ssa/.ivy2/cache/org.apache.hbase/hbase-common/jars/hbase-common-0.98.12-hadoop2.jar(org/apache/hadoop/hbase/io/ImmutableBytesWritable.class): warning: Cannot find a

Re: HowTo build pig

2015-06-03 Thread Rohini Palaniswamy
What error are you getting on command line. I have run with jdk8 and never had any issues. Regards, Rohini On Mon, Jun 1, 2015 at 1:51 PM, Serega Sheypak wrote: > Okay... will downgrade, maybe it's the root cause. But right now I don't > understand the reason for that. > > 2015-06-01 23:40 GMT

Re: HowTo build pig

2015-06-01 Thread Serega Sheypak
Okay... will downgrade, maybe it's the root cause. But right now I don't understand the reason for that. 2015-06-01 23:40 GMT+03:00 Michael Howard : > We are still on ORCL JDK 7. > > $ java -version > > java version "1.7.0_72" > > Java(TM) SE Runtime Environment (build 1.7.0_72-b14) > > Java HotS

Re: HowTo build pig

2015-06-01 Thread Michael Howard
We are still on ORCL JDK 7. $ java -version java version "1.7.0_72" Java(TM) SE Runtime Environment (build 1.7.0_72-b14) Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode) On Mon, Jun 1, 2015 at 3:53 PM, Serega Sheypak wrote: > what java you use: vendor and version? > > 2015-06-

Re: HowTo build pig

2015-06-01 Thread Serega Sheypak
Got it, I've found a way how to make JIdea ant/ivy plugins to work with pig source code. It's not a problem. Eclipse import is easier than mine. I'll try it next time. Right now I just can't build project using command line. Which java you use? I'm using oracle-jdk-8 2015-06-01 23:11 GMT+03:00 Moh

Re: HowTo build pig

2015-06-01 Thread Mohit Sabharwal
Hi Seraga, I struggled a bit as well when trying to get Intellij to resolve dependencies for Pig. The trick that worked for me was to: 1) Run "ant -Dhadoopversion=23 eclipse-files" first 2) Import Pig as an Eclipse project (in the "Import project from external model" option) After importing, yo

Re: HowTo build pig

2015-06-01 Thread Serega Sheypak
what java you use: vendor and version? 2015-06-01 19:54 GMT+03:00 Michael Howard : > > [javac] error: cannot access InterfaceAudience > > [javac] class file for > > org.apache.hadoop.hbase.classification.InterfaceAudience not found > > [javac] 1 error > > > what it could be? > > I am

Re: HowTo build pig

2015-06-01 Thread Michael Howard
> [javac] error: cannot access InterfaceAudience > [javac] class file for > org.apache.hadoop.hbase.classification.InterfaceAudience not found > [javac] 1 error > what it could be? I am a newbie who has also struggled to get my environments configured to build pig. However, I have no

Re: HowTo build pig

2015-06-01 Thread Serega Sheypak
Hi, please help... 2015-05-18 1:12 GMT+03:00 Serega Sheypak : > Ok, so I can share how to configure ivyIDEA for comfortable work with pig > project in Idea > > ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean jar > > [javac] error: cannot access InterfaceAudience > [javac]

Re: HowTo build pig

2015-05-17 Thread Serega Sheypak
Ok, so I can share how to configure ivyIDEA for comfortable work with pig project in Idea ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean jar [javac] error: cannot access InterfaceAudience [javac] class file for org.apache.hadoop.hbase.classification.InterfaceAudience n

Re: HowTo build pig

2015-05-17 Thread Serega Sheypak
Does anyone use Intelli JIdea + ivyIDEA pluginfor coding pig stuff? Don't understand the way: 1. poject should be imported to JIdea 2. howTo pass properties like hadoopversion and hbaseversion? 2015-05-15 22:23 GMT+03:00 Michael Howard : > Rohini wrote: > > Updated the compilation and unit tests

Re: HowTo build pig

2015-05-15 Thread Michael Howard
Rohini wrote: > Updated the compilation and unit tests section in > https://cwiki.apache.org/confluence/display/PIG/HowToContribute. > Hope that answers all the questions. > Let me know if something is still not clear. Thanks for your helpful clarifications for newbies. Michael

Re: HowTo build pig

2015-05-15 Thread Rohini Palaniswamy
Updated the compilation and unit tests section in https://cwiki.apache.org/confluence/display/PIG/HowToContribute. Hope that answers all the questions. Let me know if something is still not clear. Regards, Rohini On Fri, May 15, 2015 at 11:01 AM, Michael Howard wrote: > Niels wrote: > > ant -Dh

Re: HowTo build pig

2015-05-15 Thread Michael Howard
Niels wrote: > ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean jar Alan wrote: > Usually 'ant' or 'ant jar' will build the jars. I have found that I always have to specify -Dhadoopversion=23 $ ant -Dhadoopversion=23 jar For us newbies who do not know all of this history, it w

Re: HowTo build pig

2015-05-15 Thread Alan Gates
Usually 'ant' or 'ant jar' will build the jars. Alan. Serega Sheypak May 14, 2015 at 1:40 Hi, trying to contribute https://issues.apache.org/jira/browse/PIG-4550 Hi, can you give me guide for building pig? Usually I use maven. I see that ivy requires two prope

Re: HowTo build pig

2015-05-15 Thread Serega Sheypak
sounds great! 2015-05-15 16:54 GMT+03:00 Niels Basjes : > The simplest steps I know of right now: > > - Ensure you have docker. > - Apply the patch in the jira I mentioned > - Run the ./start-build-env.sh command. This will provide a fully > configured building environment with all the required t

Re: HowTo build pig

2015-05-15 Thread Niels Basjes
The simplest steps I know of right now: - Ensure you have docker. - Apply the patch in the jira I mentioned - Run the ./start-build-env.sh command. This will provide a fully configured building environment with all the required tools. - Run the command to actually build and test your patch on the

Re: HowTo build pig

2015-05-15 Thread Serega Sheypak
Yes, I've found the same. The only problem is that I can pass it using ivy.settings (???) I would like to escape learning ant and ivy and digging build.xml since it's not my primary goal. Thank you for the link! 2015-05-15 13:14 GMT+03:00 Niels Basjes : > Hi, > > The command line I have been usi

Re: HowTo build pig

2015-05-15 Thread Niels Basjes
Hi, The command line I have been using to build and test (that runs in 20 minutes) is: ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean jar test-commit I found this by looking at the confluence page you mentioned and digging through the build.xml. To make setting things up eas

Fwd: HowTo build pig

2015-05-15 Thread Serega Sheypak
Hi, trying to contribute https://issues.apache.org/jira/browse/PIG-4550 Hi, can you give me guide for building pig? Usually I use maven. I see that ivy requires two properties: hadoopVersion and hbaseVersion. 1. Is there any list of properties required to build project? 2. Do I have to contribute

HowTo build pig

2015-05-14 Thread Serega Sheypak
Hi, trying to contribute https://issues.apache.org/jira/browse/PIG-4550 Hi, can you give me guide for building pig? Usually I use maven. I see that ivy requires two properties: hadoopVersion and hbaseVersion. 1. Is there any list of properties required to build project? 2. Do I have to contribute