Filter logical operators

2017-01-12 Thread Tokayer, Jason M.
I would like to know whether there is a way to implement both the AND and the OR operators in a scan filter. Specifically, suppose I have 2 column families cf1 and cf2. I’d like to select all of the cells from cf1 but only cells in cf2 for which the qualifier is prefixed by “MYPREFIX”. Logically

SocketTimeoutException on regionservers

2017-01-12 Thread Tulasi Paradarami
Hi, I noticed that Regionservers are raising following exceptions intermittently that is manifesting itself as request timeouts on the client side. HDFS is in a healthy state and there are no corrupted blocks (from "hdfs fsck" results). Datanodes were not out of service when this error occurs and

Re: How to store/get video files and image files in hbase?

2017-01-12 Thread Ted Yu
How big are your video files expected to be ? I assume you have read: http://hbase.apache.org/book.html#hbase_mob Is the example there not enough ? Cheers On Thu, Jan 12, 2017 at 9:33 AM, Manjeet Singh wrote: > Hi All, > > can any buddy help me to know How to store video files and image file

Re: hbase.regionserver.impl no longer available

2017-01-12 Thread George Forman
Hi, I was able to determine the cause of the problem. Upgrading from cdh4.x to cdh5.x, hbase region server starts up the coprocessors in a separate JVM. Therefore, the code extending HRegionServer which creates a singleton has two separate copies of the class object. In cdh4.x this wasn't the

How to store/get video files and image files in hbase?

2017-01-12 Thread Manjeet Singh
Hi All, can any buddy help me to know How to store video files and image files in hbase? I have seen lots of blogs but not get exact example step by step. if any buddy able to share Java native code so it will be quite helpful Thanks Manjeet

Re: StochasticLoadBalancer questions

2017-01-12 Thread Ted Yu
For #2, I think MemstoreSizeCostFunction belongs to the same category if we are to adopt moving average. Some factors to consider: The data structure used by StochasticLoadBalancer should be concise. The number of regions in a cluster can be expected to approach 1 million. We cannot afford to sto

Re: CPU usage on region servers

2017-01-12 Thread Ted Yu
Can you describe the 5 requests in more detail (were they gets / puts, how many rows were involved) ? Can you take jstack of the busy region server and pastebin it ? Log snippet from the busy region server would also help. Cheers On Thu, Jan 12, 2017 at 1:23 AM, hongphong1805 wrote: > Hi all

CPU usage on region servers

2017-01-12 Thread hongphong1805
Hi all, I have 5 region servers and this is my config: Hardware: 2 physical machines -> 7 vitural machines Each vitural machine: CPU: 8cores RAM: 24GB We are setup hadoop env with hortonwork 2.5 and setup HBase with 5 RegionServer