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) <samal...@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-from-java > > > -Saurabh