Re: Region assignment after full cluster restart

2015-07-17 Thread Ted Yu
bq. the assignment is not always preserved Can you provide more information on this scenario ? Master should have retained region assignment across cluster restart. If you can pastebin relevant portion of master log w.r.t. the region(s) whose location was not retained, that would be nice. Thanks

Re: Disable Base64 encoding in Stargate request and Return as String

2015-07-17 Thread Andrew Purtell
​ ​ The closest you can get to just a string is have your client use an accept header of "Accept: application/octet-stream" with making a query. This will return zero or one value in the response. If a value is present in the table at the requested location, the response body will be the unencoded

Disable Base64 encoding in Stargate request and Return as String

2015-07-17 Thread anil gupta
Hi All, We have a String Rowkey. We have String values of cells. Still, Stargate returns the data with Base64 encoding due to which a user cant read the data. Is there a way to disable Base64 encoding and then Rest request would just return Strings. -- Thanks & Regards, Anil Gupta

Fwd: Hbase Fully distribution mode - Cannot resolve regionserver hostname

2015-07-17 Thread Dima Spivak
+user@, dev@ to bcc Pubudu, I think you'll get more help on an issue like this on the users list. -Dima -- Forwarded message -- From: Ted Yu Date: Fri, Jul 17, 2015 at 5:40 AM Subject: Re: Hbase Fully distribution mode - Cannot resolve regionserver hostname To: "d...@hbase.apac

Re: How can I tell when a client is connected and ready to go?

2015-07-17 Thread Vladimir Rodionov
>> - Under what conditions is the IOException catch actually reached? ConnectionFactory just instantiates and initiates connection implementation, I do not think it does anything beyond that (the only way to get cluster status is to connect to master, use HBaseAdmin instance, and wait until rpcTime

How can I tell when a client is connected and ready to go?

2015-07-17 Thread Dmitry Minkovsky
I am using HBase 1.1.0 and create HBase client connections like this: try { Configuration config = HBaseConfiguration.create(); connection = ConnectionFactory.createConnection(config); } catch (IOException e) { logger.info("Error {}", e); } However, I noticed that when ZooKeeper and H

Re: Regionservers going down during compaction

2015-07-17 Thread lars hofhansl
Yep. Agreed. Local NUMA zones are usually not what you want for something like HBase. -- Lars From: Vladimir Rodionov To: "user@hbase.apache.org" ; lars hofhansl Sent: Thursday, July 16, 2015 12:01 PM Subject: Re: Regionservers going down during compaction Ankit, First of all, you