Re: Run hbase shell script from java

2016-01-14 Thread Serega Sheypak
Hi, guys,thanks for reply. I have a table named 'MY_TABLE' I have two ways to create it: 1. using habse shell script: create table 'MY_TABLE' bla-bla-bla... I use hbase shell script for production deployment purposes. It's easier to run, maintain and do migrations (change some table attributes) 2.

Re: Java API vs Hbase Thrift

2016-01-14 Thread Vladimir Rodionov
>> I have to access hbase using Java API will it be fast like thrift. Bear in mind that when you use Thrift Gateway/Thrift API you access HBase RegionServer through the single gateway server, when you use Java API - you access Region Server directly. Java API is much more scalable. -Vlad On