hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammad Tariq <donta...@gmail.com>
Subject Re: Writing data in db instead of hdfs
Date Wed, 29 May 2013 20:44:04 GMT
Hello Jamal,

    Yes, it is possible. You could use TableReducer to do that. Use it
instead of the normal reducer in your wordcount example. Alternatively you
could use HFileOutputFormat to write directly to HFiles.

Warm Regards,
Tariq
cloudfront.blogspot.com


On Thu, May 30, 2013 at 2:08 AM, jamal sasha <jamalshasha@gmail.com> wrote:

> Hi,
>
>   Is it possible to save data in database (HBase, cassandra??) directly
> from hadoop.
> so that there is no output in hdfs but that it directly writes data into
> this db?
>
> If I want to modify wordcount example to achive this, what/where should I
> made these modifications.
> Any help/ suggestions.
> Thanks
>

Mime
View raw message