In case you build and install 2.6.0-SNAPSHOT but don't refresh Slider workspace. You may bump into SLIDER-425
Cheers On Fri, Sep 12, 2014 at 2:58 PM, Ted Yu <[email protected]> wrote: > Here is what I did: > > 1007 git clone -b branch-2 > https://git-wip-us.apache.org/repos/asf/hadoop.git 2-hadoop > 1008 cd 2-hadoop/ > 1011 find ~/.m2/repository/org/apache/ -name 2.6.0-SNAPSHOT -exec rm -rf > {} \; > 1012 find ~/.m2/repository/org/apache/ -name 2.6.0-SNAPSHOT > 1013 mvn install -DskipTests > [hortonzy@kiyo 2-hadoop]$ find ~/.m2/repository/org/apache/ -name > 2.6.0-SNAPSHOT > > /homes/hortonzy/.m2/repository/org/apache/hadoop/hadoop-distcp/2.6.0-SNAPSHOT > > /homes/hortonzy/.m2/repository/org/apache/hadoop/hadoop-streaming/2.6.0-SNAPSHOT > /homes/hortonzy/.m2/repository/org/apache/hadoop/hadoop-nfs/2.6.0-SNAPSHOT > > On Fri, Sep 12, 2014 at 9:11 AM, 牛兆捷 <[email protected]> wrote: > >> But I don't find 2.6.0-SNAPSHOT in ~/.m2/repo after building Hadoop's >> branch-2. >> >> >> 2014-09-12 22:03 GMT+08:00 Ted Yu <[email protected]>: >> >> > 2.6.0-SNAPSHOT artifacts would be in your local maven repo. >> > >> > Slider build would utilize them. >> > >> > Cheers >> > >> > On Fri, Sep 12, 2014 at 6:09 AM, 牛兆捷 <[email protected]> wrote: >> > >> > > yes. >> > > >> > > 2014-09-12 21:04 GMT+08:00 Ted Yu <[email protected]>: >> > > >> > > > When building hadoop, did you use 'mvn install' ? >> > > > >> > > > Cheers >> > > > >> > > > On Sep 12, 2014, at 5:54 AM, 牛兆捷 <[email protected]> wrote: >> > > > >> > > > > One more question about building "develop" branch of slider. >> > > > > >> > > > > First I git clone the hadoop's branch-2 and build it in the local >> > > > machine. >> > > > > Then if I build slider from source, how to make the building >> process >> > > > depend >> > > > > on the local repo of Hadoop rather than the remote repo ? >> > > > > >> > > > > 2014-09-12 20:31 GMT+08:00 Steve Loughran <[email protected] >> >: >> > > > > >> > > > >> not any more ... we've switched to hadoop's branch-2 to pick up >> some >> > > new >> > > > >> features —some of which are being targeted at long-lived >> > applications >> > > > like >> > > > >> slider (I'm working on YARN-913 for example). >> > > > >> >> > > > >> We need to use these, to be ready for when Hadoop 2.6 ships >> (later >> > > this >> > > > >> year), and to find any bugs in the code. >> > > > >> >> > > > >> Sorry >> > > > >> >> > > > >> >> > > > >> On 12 September 2014 13:12, 牛兆捷 <[email protected]> wrote: >> > > > >> >> > > > >>> The default hadoop version used in "develop" branch is >> > > 2.6.0-snapshot. >> > > > >>> If I build slider using the default configuration, can I run >> slider >> > > in >> > > > >>> hadoop 2.5.0 ? >> > > > >>> >> > > > >>> -- >> > > > >>> *Regards,* >> > > > >>> *Zhaojie* >> > > > >> >> > > > >> -- >> > > > >> CONFIDENTIALITY NOTICE >> > > > >> NOTICE: This message is intended for the use of the individual or >> > > > entity to >> > > > >> which it is addressed and may contain information that is >> > > confidential, >> > > > >> privileged and exempt from disclosure under applicable law. If >> the >> > > > reader >> > > > >> of this message is not the intended recipient, you are hereby >> > notified >> > > > that >> > > > >> any printing, copying, dissemination, distribution, disclosure or >> > > > >> forwarding of this communication is strictly prohibited. If you >> have >> > > > >> received this communication in error, please contact the sender >> > > > immediately >> > > > >> and delete it from your system. Thank You. >> > > > > >> > > > > >> > > > > >> > > > > -- >> > > > > *Regards,* >> > > > > *Zhaojie* >> > > > >> > > >> > > >> > > >> > > -- >> > > *Regards,* >> > > *Zhaojie* >> > > >> > >> >> >> >> -- >> *Regards,* >> *Zhaojie* >> > >
