FWIWŠ From what I recollect, Hbase did this when they started supporting hadoop1&2. Not sure if its still the same method they use..
- their default pom had the artifacts named for hadoop1 binaries - they had a shell script to produce a modified pom ..with -hadoop2 suffix for the artifact names - they built and published the hadoop2 binaries using the modified pom, and hadoop1 binaries form the original pom -roshan On 4/1/15 1:24 PM, "Hari Shreedharan" <[email protected]> wrote: >I know sqoop2 does it. Maybe Jarcec can help? > > > > >Thanks, Hari > >On Wed, Apr 1, 2015 at 1:13 PM, Roshan Naik <[email protected]> >wrote: > >> To push artifacts for both hadoop2 and hadoop1 will need to name the >> hadoop2 and hadoop1 artifacts differently. Tricky to do that with one >>pom >> I think. >> -roshan >> On 4/1/15 1:05 PM, "Hari Shreedharan" <[email protected]> wrote: >>>I am a +1 for doing this, since this is the last JDK 6 release. Maybe we >>>should push artifacts for both Hadoop-1 and hbase-98 profiles this time >>>and switch out to Hadoop 2 exclusively from 1.7? >>> >>> >>> >>> >>>Thanks, Hari >>> >>>On Wed, Apr 1, 2015 at 1:04 PM, Roshan Naik <[email protected]> >>>wrote: >>> >>>> Don't recall if this has been discussed before. Its been sometime >>>>since >>>>hadoop2 has been out. >>>> Sooner or later Flume will switch to hadoop2 based builds (hbase98 >>>>profile?) as the default. Not sure if 1.6 is the time or worth waiting >>>>longer. >>>> -roshan
