Re: Read HFile from Local file system for studying and testing

2016-04-14 Thread Stack
On Thu, Apr 14, 2016 at 8:03 PM, Bin Wang wrote: > Hi there, > > I have a HFile that I copied from HDFS down to my laptop. > > I am trying to use the HFile.createreader to read in that HFile and play > with it. However, it was really hard to figure that out how to read it from > local file system

[ANNOUNCE] YCSB 0.8.0 Release

2016-04-14 Thread Chrisjan Matser
On behalf of the development community, I am pleased to announce the release of YCSB 0.8.0. With the help of other HBase community developers we are continuing to make enhancements to this binding. Highlights: * Amazon S3 improvments including proper closing of the S3Object * Apache Cassandra i

Re: Read HFile from Local file system for studying and testing

2016-04-14 Thread Ted Yu
Please take a look at: hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFile.java There're various tests under hbase-server/src/test which demonstrate the usage. FYI On Thu, Apr 14, 2016 at 8:03 PM, Bin Wang wrote: > Hi there, > > I have a HFile that I copied from HDFS down to

Read HFile from Local file system for studying and testing

2016-04-14 Thread Bin Wang
Hi there, I have a HFile that I copied from HDFS down to my laptop. I am trying to use the HFile.createreader to read in that HFile and play with it. However, it was really hard to figure that out how to read it from local file system. public class MyHbase { public static void main(Strin

Re: Append Visibility Labels?

2016-04-14 Thread Andrew Purtell
> > ​Actually the old product data doesn't have to die, Benedict. Set > > VERSIONS > 1 in your schema. The old cell version(s) carrying the old > > label set will still be there, accessible with a Scan that asks for N > > versions instead of just the latest. You'll get back a Result with up > > to

Re: [ERROR]: Spark 1.5.2 + Hbase 1.1 + Hive 1.2 + HbaseIntegration

2016-04-14 Thread Teng Qiu
forward you this mails, hope these can help you, you can take a look at this post http://www.abcn.net/2014/07/lighting-spark-with-hbase-full-edition.html 2016-03-04 3:30 GMT+01:00 Divya Gehlot : > Hi Teng, > > Thanks for the link you shared , helped me figure out the missing > dependency. > Was m

Hbase Replication no longer replicating, help diagnose

2016-04-14 Thread Abraham Tom
my hbase replication has stopped I am on hbase version 1.0.0-cdh5.4.8 (Cloudera build) I have 2 clusters in 2 different datacenters 1 is master the other is slave I see the following errors in log 2016-04-13 22:32:50,217 WARN org.apache.hadoop.hbase.replication.regionserver.HBaseInterClust