Thank you for the help.

The data is distribute on different htables, all of which have the same
structure.So the maptask should read them split them and put them into the
map/reduce process.
what is the best way to  made it ?

Thank you all very much

Huang Qian
2009/10/6 Amandeep Khurana <[email protected]>

> Do you need to scan across multiple tables in the same job?
> Tell a little more about what you are trying to do so we can help you out
> better.
>
> -ak
>
> On Tue, Oct 6, 2009 at 5:32 AM, Huang Qian <[email protected]> wrote:
>
> > thanks, but the map and reduce task is the same class, so I just want to
> > control the data I give to them.
> > how can I make it without create a new inputformat implement
> > tableinputformat?
> >
> > 2009/10/5 Amandeep Khurana <[email protected]>
> >
> > > Afaik, you can scan across only a single table. However, you can read
> > > other tables using the api within the map or reduce task
> > >
> > > On 10/5/09, Huang Qian <[email protected]> wrote:
> > > > I just want to use several tables in hbase as datasource for
> map/reduce
> > > > program. so can tableinputformat class take more tables as inputs?
> > > >
> > > > --
> > > > Huang Qian(黄骞)
> > > > Institute of Remote Sensing and GIS,Peking University
> > > > Phone: (86-10) 5276-3109
> > > > Mobile: (86) 1590-126-8883
> > > > Address:Rm.554,Building 1,ChangChunXinYuan,Peking
> > > > Univ.,Beijing(100871),CHINA
> > > >
> > >
> > >
> > > --
> > >
> > >
> > > Amandeep Khurana
> > > Computer Science Graduate Student
> > > University of California, Santa Cruz
> > >
> >
> >
> >
> > --
> > Huang Qian(黄骞)
> > Institute of Remote Sensing and GIS,Peking University
> > Phone: (86-10) 5276-3109
> > Mobile: (86) 1590-126-8883
> > Address:Rm.554,Building 1,ChangChunXinYuan,Peking
> > Univ.,Beijing(100871),CHINA
> >
>



-- 
Huang Qian(黄骞)
Institute of Remote Sensing and GIS,Peking University
Phone: (86-10) 5276-3109
Mobile: (86) 1590-126-8883
Address:Rm.554,Building 1,ChangChunXinYuan,Peking
Univ.,Beijing(100871),CHINA

Reply via email to