hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Robertson <timrobertson...@gmail.com>
Subject Re: MR - Input from Hbase output to HDFS
Date Thu, 10 Nov 2011 07:45:05 GMT
Hi Stuti,

I would have thought it was something like:
  conf.setOutputFormat(TextOutputFormat.class);
  FileOutputFormat.setOutputPath(conf, new Path(<YOUR_LOCATION>));

Cheers,
Tim




On Thu, Nov 10, 2011 at 8:31 AM, Stuti Awasthi <stutiawasthi@hcl.com> wrote:
> Hi
> Currently I am understading Hbase MapReduce support. I followed http://hbase.apache.org/book/mapreduce.example.html
and executed it successfully.
> But I am not sure what changes to be done to  MR which takes input from Hbase table
and put output to HDFS.
>
> How to set output dir . I tried to set with JobConf but it gives me error that output
directory is not set.
> Please Suggest.
>
> Regards,
> Stuti Awasthi
> HCL Comnet Systems and Services Ltd
> F-8/9 Basement, Sec-3,Noida.
>
>
> ________________________________
> ::DISCLAIMER::
> -----------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and intended for the
named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its affiliates. Any views
or opinions presented in
> this email are solely those of the author and may not necessarily reflect the opinions
of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, modification, distribution
and / or publication of
> this message without the prior written consent of the author of this e-mail is strictly
prohibited. If you have
> received this email in error please delete it and notify the sender immediately. Before
opening any mail and
> attachments please check them for viruses and defect.
>
> -----------------------------------------------------------------------------------------------------------------------
>

Mime
View raw message