Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Re: BigDecimalColumnInterpreter


Copy link to this message
-
Re: BigDecimalColumnInterpreter
Glad to know that it works on your cluster. After running the TestUtility
on my cluster i was pretty sure that you missed some steps in deploying it.
:)

On Wed, Oct 3, 2012 at 9:26 AM, Julian Wissmann <[EMAIL PROTECTED]>wrote:

> Hi, thank you Anil. I realized I had put the jar only on the master and
> expected stuff to work from there. I now deployed it on all the
> regionservers and loaded AggregateImplementation on the regions. It works
> now. Thank you!
>
> 2012/9/29 Robertis Tongbram <[EMAIL PROTECTED]>
>
> > For pushing jars to the region servers , i have a small script.
> >
> > <code>
> >
> > #!/usr/bin/expect -f
> >
> >
> > for {set i 1} {$i < 6} {incr i 1} {
> >
> >
> >     spawn scp target/lib.jar root@region-$i:/opt/hbase/hbase-0.92.1/lib/
> >     expect {
> >         -re ".*es.*o.*" {
> >             exp_send "yes\r"
> >                 exp_continue
> >         }
> >         -re ".*sword.*" {
> >             exp_send "p4sSw0rd\r"
> >         }
> >     }
> >     interact
> >
> > }
> >
> > </code>
> >
> > I have my region servers as region-1, region-2 and so on, default
> > installation is at /opt/hbase/hbase-0.92.1/
> >  lib.jar is the final jar file that has the classes.
> >
> > I put this script where the pom file is ( i have a maven project).
> >
> >
> >
> >
> > Hope this helps.
> >
> >
> > Thanks,
> > Robertis
> >
> >
> >
> > On Sat, Sep 29, 2012 at 8:35 AM, anil gupta <[EMAIL PROTECTED]>
> wrote:
> >
> > > This ColumnInterpreter is required at the server side. You need to put
> > the
> > > jar into the classpath of regionservers. HBase picks up all the jar
> under
> > > $hbase_home/lib folder. So you can put the jar containing the BDCI
> class
> > in
> > > this folder. Please make sure that in your client side you are
> > referencing
> > > the correct BDCI class(the full name of class at server side should
> match
> > > with the ColumnInterpreter class you reference on client side). Once
> you
> > > put the jar into lib folder then you will need to restart the cluster
> > once
> > > so that the regionserver will the load the jar containing BDCI.
> > >
> > > Basically you just need to put the utility class(which i sent a couple
> of
> > > weeks ago) into a jar, copy the jar into lib folder, restart the
> cluster,
> > > and then run the utility. It should work.
> > >
> > > Hope it's clear this time.
> > >
> > > Thanks,
> > > Anil Gupta
> > >
> > > On Sat, Sep 29, 2012 at 8:03 AM, Julian Wissmann
> > > <[EMAIL PROTECTED]>wrote:
> > >
> > > > Interesting. Did you put just the ColumnInterpreter into the jar?
> > > >
> > > > 2012/9/21 Anil Gupta <[EMAIL PROTECTED]>
> > > >
> > > > > I was able to run it successfully once I copied the jar into lib
> > > folders
> > > > > of region server and hamster and restarted the cluster.
> > > > > Did you copied the jar into lib folders of region servers and
> hmaster
> > > and
> > > > > restarted the cluster. If yes, can you share the logs of
> regionserver
> > > > > hosting the region test table?
> > > > >
> > > > > Best Regards,
> > > > > Anil
> > > > >
> > > > > On Sep 21, 2012, at 4:14 AM, Julian Wissmann <
> > [EMAIL PROTECTED]
> > > >
> > > > > wrote:
> > > > >
> > > > > > Hi Anil,
> > > > > >
> > > > > > found some time to test it, today. Same error as you get, same
> > error
> > > as
> > > > > > always ;-)
> > > > > >
> > > > > > Julian
> > > > > >
> > > > > > 2012/9/20 anil gupta <[EMAIL PROTECTED]>
> > > > > >
> > > > > >> Hi Julian,
> > > > > >>
> > > > > >> I am curious to know whether you got the opportunity to test
> BDCI
> > > > > utility i
> > > > > >> sent last week along with some suggestions on using it? Did it
> run
> > > > > >> successfully?
> > > > > >>
> > > > > >> I will try to have a look at your unit test over weekend.
> > > > > >> Thanks,
> > > > > >> Anil Gupta
> > > > > >>
> > > > > >> On Thu, Sep 20, 2012 at 10:29 AM, Julian Wissmann
> > > > > >> <[EMAIL PROTECTED]>wrote:
> > > > > >>
> > > > > >>> Hi,
> >
Thanks & Regards,
Anil Gupta