hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manjeet Singh <manjeet.chand...@gmail.com>
Subject Re: How to store/get video files and image files in hbase?
Date Thu, 19 Jan 2017 04:44:36 GMT
Hi All

I am using Hbase 1.1.2 on HDP  2.4.2.0 I have few questions

  (1). below code not getting compiled, what is the Maven dependency for
the same?

HColumnDescriptor hcd = new HColumnDescriptor(“f”);
hcd.setMobEnabled(true);
hcd.setMobThreshold(102400L);

(2). Below are two links and both are talking about same things about
test utility

 sudo -u hbase hbase
org.apache.hadoop.hbase.IntegrationTestIngestWithMOB \ -threshold 1024
\ -minMobDataSize 512 \ -maxMobDataSize threshold * 5 \

what is the relevance of this utility what should I expect from it? I
run it and it produeced lot of logs

How can I validate it?

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_data-access/content/ch_MOB-support.html

https://hbase.apache.org/book.html#hbase_mob

3. I am saving large file by converting into byte array and just
normal put command I just enable all setting which mention in above
url only missing part is

HColumnDescriptor hcd = new HColumnDescriptor(“f”);
hcd.setMobEnabled(true);
hcd.setMobThreshold(102400L);

please any buddy tell if its ok?

Thanks

Manjeet









On Sun, Jan 15, 2017 at 4:34 PM, Manjeet Singh <manjeet.chandhok@gmail.com>
wrote:

> It could be 5 MB 15 MB and 50 MB different different size.
>
> -Manjeet
>
> On Thu, Jan 12, 2017 at 11:06 PM, Ted Yu <yuzhihong@gmail.com> wrote:
>
>> 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 <
>> manjeet.chandhok@gmail.com>
>> wrote:
>>
>> > 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
>> >
>>
>
>
>
> --
> luv all
>



-- 
luv all

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message