You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Jean-Marc Spaggiari <je...@spaggiari.org> on 2014/03/02 03:25:10 UTC

Compile and run HBase 0.98 from svn?

Hi all,

Any hint on the way to build and run 0.98?

svn co  http://svn.apache.org/repos/asf/hbase/branches/0.98/ hbase-0.98
mvn clean install assembly:assembly -DskipTests -Prelease

All passed.

Update hbase-env hbase-site and regionservers.

Distribute all the directory on 4 servers.

But... something is missing. Doing that, I miss many libs, like
zookeeper-3.4.5.jar.

So I guess I'm not building it the right way.

Can anyone point me to the right steps?

Thanks,

JM

Re: Compile and run HBase 0.98 from svn?

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Ok. I found my issue! Thanks all.

I was looking for the .tar.gz file to be created under the root directory
or under a target directory but found none of this. Finally, I found the
file under hbase-assembly/target/

So will run 0.98 on my cluster shortly ;)

Thanks all!


2014-03-02 4:52 GMT-05:00 Andrew Purtell <ap...@apache.org>:

> I use 'mvn -DskipTests clean install package assembly:single' and get a
> workable binary jar with the right bits under lib/.
>
>
> On Sun, Mar 2, 2014 at 10:44 AM, Marcos Luis Ortiz Valmaseda <
> marcosluis2186@gmail.com> wrote:
>
> > Did you read here?
> > https://hbase.apache.org/book/build.html
> >
> >
> > 2014-03-01 21:55 GMT-04:30 Jean-Marc Spaggiari <jean-marc@spaggiari.org
> >:
> >
> > > Hi all,
> > >
> > > Any hint on the way to build and run 0.98?
> > >
> > > svn co  http://svn.apache.org/repos/asf/hbase/branches/0.98/hbase-0.98
> > > mvn clean install assembly:assembly -DskipTests -Prelease
> > >
> > > All passed.
> > >
> > > Update hbase-env hbase-site and regionservers.
> > >
> > > Distribute all the directory on 4 servers.
> > >
> > > But... something is missing. Doing that, I miss many libs, like
> > > zookeeper-3.4.5.jar.
> > >
> > > So I guess I'm not building it the right way.
> > >
> > > Can anyone point me to the right steps?
> > >
> > > Thanks,
> > >
> > > JM
> > >
> >
> >
> >
> > --
> > Marcos Ortiz Valmaseda
> > http://about.me/marcosortiz
> >
>
>
>
> --
> Best regards,
>
>    - Andy
>
> Problems worthy of attack prove their worth by hitting back. - Piet Hein
> (via Tom White)
>

Re: Compile and run HBase 0.98 from svn?

Posted by Andrew Purtell <ap...@apache.org>.
I use 'mvn -DskipTests clean install package assembly:single' and get a
workable binary jar with the right bits under lib/.


On Sun, Mar 2, 2014 at 10:44 AM, Marcos Luis Ortiz Valmaseda <
marcosluis2186@gmail.com> wrote:

> Did you read here?
> https://hbase.apache.org/book/build.html
>
>
> 2014-03-01 21:55 GMT-04:30 Jean-Marc Spaggiari <je...@spaggiari.org>:
>
> > Hi all,
> >
> > Any hint on the way to build and run 0.98?
> >
> > svn co  http://svn.apache.org/repos/asf/hbase/branches/0.98/ hbase-0.98
> > mvn clean install assembly:assembly -DskipTests -Prelease
> >
> > All passed.
> >
> > Update hbase-env hbase-site and regionservers.
> >
> > Distribute all the directory on 4 servers.
> >
> > But... something is missing. Doing that, I miss many libs, like
> > zookeeper-3.4.5.jar.
> >
> > So I guess I'm not building it the right way.
> >
> > Can anyone point me to the right steps?
> >
> > Thanks,
> >
> > JM
> >
>
>
>
> --
> Marcos Ortiz Valmaseda
> http://about.me/marcosortiz
>



-- 
Best regards,

   - Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)

Re: Compile and run HBase 0.98 from svn?

Posted by Marcos Luis Ortiz Valmaseda <ma...@gmail.com>.
Well, tomorrow, you could read this old post from Praveen:
http://praveen.kumar.in/2011/06/20/building-hadoop-and-hbase-for-hbase-maven-application-development/


2014-03-01 22:49 GMT-04:30 Jean-Marc Spaggiari <je...@spaggiari.org>:

> Yep. And the page after.
>
> I tried this too: MAVEN_OPTS="-Xmx3g" mvn -f pom.xml clean install
> -DskipTests  javadoc:aggregate site assembly:single -Prelease
>
> With no success... I will continue tomorrow...
>
>
> 2014-03-01 21:44 GMT-05:00 Marcos Luis Ortiz Valmaseda <
> marcosluis2186@gmail.com>:
>
> > Did you read here?
> > https://hbase.apache.org/book/build.html
> >
> >
> > 2014-03-01 21:55 GMT-04:30 Jean-Marc Spaggiari <jean-marc@spaggiari.org
> >:
> >
> > > Hi all,
> > >
> > > Any hint on the way to build and run 0.98?
> > >
> > > svn co  http://svn.apache.org/repos/asf/hbase/branches/0.98/hbase-0.98
> > > mvn clean install assembly:assembly -DskipTests -Prelease
> > >
> > > All passed.
> > >
> > > Update hbase-env hbase-site and regionservers.
> > >
> > > Distribute all the directory on 4 servers.
> > >
> > > But... something is missing. Doing that, I miss many libs, like
> > > zookeeper-3.4.5.jar.
> > >
> > > So I guess I'm not building it the right way.
> > >
> > > Can anyone point me to the right steps?
> > >
> > > Thanks,
> > >
> > > JM
> > >
> >
> >
> >
> > --
> > Marcos Ortiz Valmaseda
> > http://about.me/marcosortiz
> >
>



-- 
Marcos Ortiz Valmaseda
http://about.me/marcosortiz

Re: Compile and run HBase 0.98 from svn?

Posted by Ted Yu <yu...@gmail.com>.
This should be the command (see the word single):

mvn clean install assembly:single -DskipTests -Prelease


On Sat, Mar 1, 2014 at 7:19 PM, Jean-Marc Spaggiari <jean-marc@spaggiari.org
> wrote:

> Yep. And the page after.
>
> I tried this too: MAVEN_OPTS="-Xmx3g" mvn -f pom.xml clean install
> -DskipTests  javadoc:aggregate site assembly:single -Prelease
>
> With no success... I will continue tomorrow...
>
>
> 2014-03-01 21:44 GMT-05:00 Marcos Luis Ortiz Valmaseda <
> marcosluis2186@gmail.com>:
>
> > Did you read here?
> > https://hbase.apache.org/book/build.html
> >
> >
> > 2014-03-01 21:55 GMT-04:30 Jean-Marc Spaggiari <jean-marc@spaggiari.org
> >:
> >
> > > Hi all,
> > >
> > > Any hint on the way to build and run 0.98?
> > >
> > > svn co  http://svn.apache.org/repos/asf/hbase/branches/0.98/hbase-0.98
> > > mvn clean install assembly:assembly -DskipTests -Prelease
> > >
> > > All passed.
> > >
> > > Update hbase-env hbase-site and regionservers.
> > >
> > > Distribute all the directory on 4 servers.
> > >
> > > But... something is missing. Doing that, I miss many libs, like
> > > zookeeper-3.4.5.jar.
> > >
> > > So I guess I'm not building it the right way.
> > >
> > > Can anyone point me to the right steps?
> > >
> > > Thanks,
> > >
> > > JM
> > >
> >
> >
> >
> > --
> > Marcos Ortiz Valmaseda
> > http://about.me/marcosortiz
> >
>

Re: Compile and run HBase 0.98 from svn?

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Yep. And the page after.

I tried this too: MAVEN_OPTS="-Xmx3g" mvn -f pom.xml clean install
-DskipTests  javadoc:aggregate site assembly:single -Prelease

With no success... I will continue tomorrow...


2014-03-01 21:44 GMT-05:00 Marcos Luis Ortiz Valmaseda <
marcosluis2186@gmail.com>:

> Did you read here?
> https://hbase.apache.org/book/build.html
>
>
> 2014-03-01 21:55 GMT-04:30 Jean-Marc Spaggiari <je...@spaggiari.org>:
>
> > Hi all,
> >
> > Any hint on the way to build and run 0.98?
> >
> > svn co  http://svn.apache.org/repos/asf/hbase/branches/0.98/ hbase-0.98
> > mvn clean install assembly:assembly -DskipTests -Prelease
> >
> > All passed.
> >
> > Update hbase-env hbase-site and regionservers.
> >
> > Distribute all the directory on 4 servers.
> >
> > But... something is missing. Doing that, I miss many libs, like
> > zookeeper-3.4.5.jar.
> >
> > So I guess I'm not building it the right way.
> >
> > Can anyone point me to the right steps?
> >
> > Thanks,
> >
> > JM
> >
>
>
>
> --
> Marcos Ortiz Valmaseda
> http://about.me/marcosortiz
>

Re: Compile and run HBase 0.98 from svn?

Posted by Marcos Luis Ortiz Valmaseda <ma...@gmail.com>.
Did you read here?
https://hbase.apache.org/book/build.html


2014-03-01 21:55 GMT-04:30 Jean-Marc Spaggiari <je...@spaggiari.org>:

> Hi all,
>
> Any hint on the way to build and run 0.98?
>
> svn co  http://svn.apache.org/repos/asf/hbase/branches/0.98/ hbase-0.98
> mvn clean install assembly:assembly -DskipTests -Prelease
>
> All passed.
>
> Update hbase-env hbase-site and regionservers.
>
> Distribute all the directory on 4 servers.
>
> But... something is missing. Doing that, I miss many libs, like
> zookeeper-3.4.5.jar.
>
> So I guess I'm not building it the right way.
>
> Can anyone point me to the right steps?
>
> Thanks,
>
> JM
>



-- 
Marcos Ortiz Valmaseda
http://about.me/marcosortiz