hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saurabh Malviya (samalviy)" <samal...@cisco.com>
Subject RE: Hbase shell script from java
Date Mon, 25 Apr 2016 23:10:49 GMT
Thanks, That will work for me.

I am just curious how people are doing in industry, Suppose take a case where you have more
than 100 tables and need to modify table script a lot for each deployment for performance
or other reasons.

-Saurabh

-----Original Message-----
From: Saad Mufti [mailto:saad.mufti@gmail.com] 
Sent: Sunday, April 24, 2016 2:55 PM
To: user@hbase.apache.org
Subject: Re: Hbase shell script from java

Why can't you install hbase on your local machine, with the configuration pointing it to your
desired cluster, then run the hbase shell and its script locally?

I believe the HBase web UI has a convenient link to download client configuration.

----
Saad


On Sun, Apr 24, 2016 at 5:22 PM, Saurabh Malviya (samalviy) < samalviy@cisco.com> wrote:

> I need to execute this command remotely.
>
> Right now I am SSH into hbase master and execute the script, which is 
> not the most elegant way to do.
>
> Saurabh
>
> Please see
>
>
> https://blog.art-of-coding.eu/executing-operating-system-commands-from
> -java/
>
> > On Apr 23, 2016, at 10:18 PM, Saurabh Malviya (samalviy) <
> samalviy@cisco.com> wrote:
> >
> > Hi,
> >
> > Is there any way to run hbase shell script from Java. Also mentioned
> this question earlier in below url earlier.
> >
> > As we are having bunch of scripts and need to change frequently for
> performance tuning.
> >
> >
> http://grokbase.com/p/hbase/user/161ezbnk11/run-hbase-shell-script-fro
> m-java
> >
> >
> > -Saurabh
>
Mime
View raw message