Have u generated Hfiles? if yes then these Hfiles generate in the same
output folder? If yes then how you load these hfiles into different htables
because I am doing in this way

 FileInputFormat.addInputPath(job, new Path("/user/root/URI/iphf1"));
FileOutputFormat.setOutputPath(job, new Path("/user/root/URI/ophf17"));


    HFileOutputFormat.configureIncrementalLoad(job, htable);
      job.waitForCompletion(true);
       LoadIncrementalHFiles load = new LoadIncrementalHFiles(conf);
        load.doBulkLoad( new Path("/user/root/URI/ophf17"), htable);

And to load into hbase, i need to tell the path and if hfiles generate in
the same path for all tables then how i can insert into different tables?
Can you send your code So I can have idea about it.

Thanks
Shuja


On Thu, Sep 22, 2011 at 8:28 PM, Sagar Attributor <[email protected]>wrote:

> I use MultipleOuputs class to generate files for each table/family
>
> -Sagar
>
> On Sep 22, 2011, at 8:01 AM, Shuja Rehman <[email protected]> wrote:
>
> > Hi
> >
> > I am using bulk load to insert data into hbase. Its runs fine if I need
> to
> > insert in one table. But Now, I have the requirement in which I need to
> > insert data into more than  one table. But it seems that using bulk load,
> we
> > can generate hfiles for 1 table only.  So the question is that is there
> any
> > solution which enable us to generate hfiles in multiple output paths and
> > then we can load these different files in different hbase tables.
> >
> > Thanks in advance
> >
> >
> > --
> > Regards
> > Shuja-ur-Rehman Baig
> > <http://pk.linkedin.com/in/shujamughal>
>



-- 
Regards
Shuja-ur-Rehman Baig
<http://pk.linkedin.com/in/shujamughal>

Reply via email to