Looking at local-regionservers.sh , some parameters were missing in your command line:
echo "Usage: $S [--config <conf-dir>] [start|stop] offset(s)" echo "" echo " e.g. $S start 1 2" Have you started the thrift server ? On Tue, Aug 22, 2017 at 8:38 AM, Andrzej <[email protected]> wrote: > I go after https://www.tutorialspoint.com/hbase/hbase_installation.htm > (wirh sudo in /usr/local/Hbase/bin (should be Hbase or HBase?)) > ./start-hbase.sh > ./local-master-backup.sh 2 4 > ./local-regionservers.sh > > http://localhost:16010/master-status - shows me WWW, Backup Masters is > empty, only ServerName Total:0 > > I run standard C++ example with parameters "localhost 16010": > $thrift-exercises/cpp/Hbase/bin/Debug/Hbase localhost 16010 > scanning tables... > ERROR: No more data to read. > If I debug, program hangs up at HbaseClient::recv_getTableNames, at > iprot_->readMessageBegin > > isFramed == false. transport.reset(new TBufferedTransport(socket)) > Port 16010 for transport->open() is OK. >
