I used the following command to build my Hive tarball: ant -Dhadoop.version=0.18.3 tar
I untarred the build, copied over metastore_db directory from the old build and started the new Hive. Is this the correct way to migrate? Saurabh. On Tue, Aug 11, 2009 at 12:58 PM, Zheng Shao <[email protected]> wrote: > Hi Saurabh, > > The summary is that we want to make it possible to compile Hive with > one version of Hadoop, and let that compiled package work on any > versions of Hadoop. > > Please see the following jiras for details: > https://issues.apache.org/jira/browse/HIVE-487 > https://issues.apache.org/jira/browse/HIVE-726 > > Zheng > > On Tue, Aug 11, 2009 at 12:02 AM, Saurabh Nanda<[email protected]> > wrote: > > Also, doesn't Ivy resume broken downloads? I had to manually download > each > > of the hadoop-core files into ~/.ant/cache/hadoop/core/sources > > > > [ivy:retrieve] :: problems summary :: > > [ivy:retrieve] :::: WARNINGS > > [ivy:retrieve] [FAILED ] > > hadoop#core;0.18.3!hadoop.tar.gz(source): Downloaded file size doesn't > match > > expected Content Length for > > > http://archive.apache.org/dist/hadoop/core/hadoop-0.18.3/hadoop-0.18.3.tar.gz > . > > Please retry. (126426ms) > > [ivy:retrieve] [FAILED ] > > hadoop#core;0.18.3!hadoop.tar.gz(source): Downloaded file size doesn't > match > > expected Content Length for > > > http://archive.apache.org/dist/hadoop/core/hadoop-0.18.3/hadoop-0.18.3.tar.gz > . > > Please retry. (126426ms) > > [ivy:retrieve] ==== hadoop-resolver: tried > > [ivy:retrieve] > > > http://archive.apache.org/dist/hadoop/core/hadoop-0.18.3/hadoop-0.18.3.tar.gz > > [ivy:retrieve] [FAILED ] > > hadoop#core;0.19.0!hadoop.tar.gz(source): Downloaded file size doesn't > match > > expected Content Length for > > > http://archive.apache.org/dist/hadoop/core/hadoop-0.19.0/hadoop-0.19.0.tar.gz > . > > Please retry. (97008ms) > > [ivy:retrieve] [FAILED ] > > hadoop#core;0.19.0!hadoop.tar.gz(source): Downloaded file size doesn't > match > > expected Content Length for > > > http://archive.apache.org/dist/hadoop/core/hadoop-0.19.0/hadoop-0.19.0.tar.gz > . > > Please retry. (97008ms) > > > > > > On Tue, Aug 11, 2009 at 11:07 AM, Saurabh Nanda <[email protected]> > > wrote: > >> > >> I've finally given up waiting for the nightly builds and have decided to > >> build Hive from trunk. Here's the command that I'm using: > >> > >> ant -Dhadoop.version=0.18.3 package > >> > >> When I've instructed to build against Hadoop v0.18.3 why does Ivy, then, > >> want to download all Hadoop versions? > >> > >> [ivy:retrieve] confs: [default] > >> [ivy:retrieve] found hadoop#core;0.17.2.1 in hadoop-resolver > >> [ivy:retrieve] found hadoop#core;0.18.3 in hadoop-resolver > >> [ivy:retrieve] found hadoop#core;0.19.0 in hadoop-resolver > >> [ivy:retrieve] found hadoop#core;0.20.0 in hadoop-resolver > >> [ivy:retrieve] downloading > >> > http://archive.apache.org/dist/hadoop/core/hadoop-0.17.2.1/hadoop-0.17.2.1.tar.gz > >> ... > >> > >> Also, what is the property target.dir used for? Is this something like > >> --prefix in configure & make scripts? Can't I move around the directory > >> containing the Hive build later? > >> > >> Saurabh. > >> -- > >> http://nandz.blogspot.com > >> http://foodieforlife.blogspot.com > > > > > > > > -- > > http://nandz.blogspot.com > > http://foodieforlife.blogspot.com > > > > > > -- > Yours, > Zheng > -- http://nandz.blogspot.com http://foodieforlife.blogspot.com
