Markus Resch 2012-06-22, 11:54
Thejas Nair 2012-06-22, 18:23
Markus Resch 2012-06-28, 09:17
Thejas Nair 2012-06-28, 17:27
Ruslan Al-Fakikh 2012-06-28, 17:59
Alan Gates 2012-06-29, 17:13
Ruslan Al-Fakikh 2012-07-02, 12:57
-Re: Best Practice: store depending on data content
Alan Gates 2012-07-02, 18:43
On Jul 2, 2012, at 5:57 AM, Ruslan Al-Fakikh wrote:
> Hey Alan,
> I am not familiar with Apache processes, so I could be wrong in my
> point 1, I am sorry.
I wasn't trying to say you were right or wrong, just trying to understand your perspective.
> Basically my impressions was that Cloudera is pushing Avro format for
> intercommunications between hadoop tools like pig, hive and mapreduce.
> And if I decide to use Avro then HCatalog becomes a little redundant.
> It would give me the list of datasets in one place accessible from all
> tools, but all the columns (names and types) would be stored in Avro
> schemas and Hive metastore becomes just a stub for those Avro schemas:
> And having those avro schemas I could access data from pig and
> mapreduce without HCatalog. Though I haven't figured out how to deal
> without hive partitions yet.
It's true Avro can store schema data. HCatalog does much more than this and aspires to add to that set of features in the future. It will soon provide a REST API for external systems to interact with the metadata. It allows you to store data in HBase or other non-HDFS systems. In the future it will provide interfaces to data life cycle management tools like cleaning tools, replication tools, etc. And it does not bind you to one storage format. That said, if you don't need any of these things Avro may be a good solution for your situation. Definitely choose the tool that best fits your need.
> Best Regards,
> On Fri, Jun 29, 2012 at 9:13 PM, Alan Gates <[EMAIL PROTECTED]> wrote:
>> On a different topic, I'm interested in why you refuse to use a project in the incubator. Incubation is the Apache process by why a community is built around the code. It says nothing about the maturity of the code.
>> On Jun 28, 2012, at 10:59 AM, Ruslan Al-Fakikh wrote:
>>> Hi Markus,
>>> Currently I am doing almost the same task. But in Hive.
>>> In Hive you can use the native Avro+Hive integration:
>>> Or haivvreo project if you are not using the latest version of Hive.
>>> Also there is a Dynamic Partition feature in Hive that can separate
>>> your data by a column value.
>>> As for HCatalog - I refused to use it after some investigation, because:
>>> 1) It is still incubating
>>> 2) It is not supported by Cloudera (the distribution provider we are
>>> currently using)
>>> I think it would be perfect if MultiStorage would be generic in the
>>> way you described, but I am not familiar with it.
>>> On Thu, Jun 28, 2012 at 9:27 PM, Thejas Nair <[EMAIL PROTECTED]> wrote:
>>>> I am not aware of any work on adding those features to MultiStorage.
>>>> I think the best way to do this is to use Hcatalog. (It makes the hive
>>>> metastore available for all of hadoop, so you get metadata for your data as
>>>> You can associate a outputformat+serde for a table (instead of file name
>>>> ending), and HCatStorage will automatically pick the right format.
>>>> On 6/28/12 2:17 AM, Markus Resch wrote:
>>>>> Thanks Thejas,
>>>>> This _really_ helped a lot :)
>>>>> Some additional question on this:
>>>>> As far as I see, the MultiStorage is currently just capable to write CSV
>>>>> output, right? Is there any attempt ongoing currently to make this
>>>>> storage more generic regarding the format of the output data? For our
>>>>> needs we would require AVRO output as well as some special proprietary
>>>>> binary encoding for which we already created our own storage. I'm
>>>>> thinking about a storage that will select a certain writer method
>>>>> depending to the file names ending.
>>>>> Do you know of such efforts?
Dmitriy Ryaboy 2012-07-02, 17:37
Ruslan Al-Fakikh 2012-07-03, 09:56
Dmitriy Ryaboy 2012-07-04, 00:37
Ruslan Al-Fakikh 2012-07-05, 15:01
Markus Resch 2012-07-03, 11:30