hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: How to store/get video files and image files in hbase?
Date Thu, 19 Jan 2017 17:55:51 GMT
Manjeet:
For #2, the threshold / maxMobDataSize values on the command line are quite
low. You can give them larger values to mimic your usage.

For #3, the snippet you cited is correct.

Cheers

On Thu, Jan 19, 2017 at 9:48 AM, Josh Elser <elserj@apache.org> wrote:

> I would suggest that ask vendor specific questions via the vendor's
> channel in the future.
>
> Add the following repository to your Maven project[1] and specify the
> correct version for the artifact (e.g. 1.1.2.2.4.2.0-258) to specify the
> correct dependencies for your project.
>
> [1] http://repo.hortonworks.com/content/groups/public
>
>
> Manjeet Singh wrote:
>
>> 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
>>>
>>>
>>
>>
>>

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