hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Loading data in hdfs
Date Thu, 19 Jul 2012 12:41:33 GMT
Hi,

This is a question suited for the HBase user lists (user@hbase.apache.org).
In any case, you want to use the importtsv tool:
http://hbase.apache.org/book.html#importtsv. You do not have to write any
custom code to do it.

On Thu, Jul 19, 2012 at 4:03 PM, iwannaplay games <
funnlearnforkids@gmail.com> wrote:

> Thanks Tariq
>
> Now i want to convert  this csv file to table.(HBase table with column
> families)
> How can i do that
>
> Regards
> Prabhjot
>
>
> On 7/19/12, Mohammad Tariq <dontariq@gmail.com> wrote:
> > Hi Prabhjot
> >
> >       You can also use :
> > hadoop fs -put <src fs path> <destn hdfs path>
> >
> > Regards,
> >     Mohammad Tariq
> >
> >
> > On Thu, Jul 19, 2012 at 3:52 PM, Bejoy Ks <bejoy.hadoop@gmail.com>
> wrote:
> >> Hi Prabhjot
> >>
> >> Yes, Just use the filesystem commands
> >> hadoop fs -copyFromLocal <src fs path> <destn hdfs path>
> >>
> >> Regards
> >> Bejoy KS
> >>
> >> On Thu, Jul 19, 2012 at 3:49 PM, iwannaplay games
> >> <funnlearnforkids@gmail.com> wrote:
> >>> Hi,
> >>>
> >>> I am unable to use sqoop and want to load data in hdfs for testing,
> >>> Is there any way by which i can load my csv or text  file to hadoop
> >>> file system directly without writing code in java
> >>>
> >>> Regards
> >>> Prabhjot
> >
>



-- 
Harsh J

Mime
View raw message