Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> Loading data in hdfs


Copy link to this message
-
Re: Loading data in hdfs
Hi,

This is a question suited for the HBase user lists ([EMAIL PROTECTED]).
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 <
[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
> 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
> >> <[EMAIL PROTECTED]> 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