Re: How to compile Spark with private build of Hadoop

2016-03-08 Thread Steve Loughran
On 8 Mar 2016, at 07:23, Lu, Yingqi mailto:yingqi...@intel.com>> wrote: Thank you for the quick reply. I am very new to maven and always use the default settings. Can you please be a little more specific on the instructions? I think all the jar files from Hadoop build are located at Hadoop-3.

Re: RE: How to compile Spark with private build of Hadoop

2016-03-08 Thread fightf...@163.com
use to compile Spark and how can I change the pom.xml? Thanks, Lucy From: fightf...@163.com [mailto:fightf...@163.com] Sent: Monday, March 07, 2016 11:15 PM To: Lu, Yingqi ; user Subject: Re: How to compile Spark with private build of Hadoop I think you can establish your own maven

Re: How to compile Spark with private build of Hadoop

2016-03-08 Thread Saisai Shao
I think the first step is to publish your in-house built Hadoop related jars to your local maven or ivy repo, and then change the Spark building profiles like -Phadoop-2.x (you could use 2.7 or you have to change the pom file if you met jar conflicts) -Dhadoop.version=3.0.0-SNAPSHOT to build agains

RE: How to compile Spark with private build of Hadoop

2016-03-08 Thread Lu, Yingqi
how can I change the pom.xml? Thanks, Lucy From: fightf...@163.com [mailto:fightf...@163.com] Sent: Monday, March 07, 2016 11:15 PM To: Lu, Yingqi ; user Subject: Re: How to compile Spark with private build of Hadoop I think you can establish your own maven repository and deploy your modified

Re: How to compile Spark with private build of Hadoop

2016-03-07 Thread fightf...@163.com
I think you can establish your own maven repository and deploy your modified hadoop binary jar with your modified version number. Then you can add your repository in spark pom.xml and use mvn -Dhadoop.version= fightf...@163.com From: Lu, Yingqi Date: 2016-03-08 15:09 To: user@spark.apache.