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

Switch to Threaded View
MapReduce >> mail # user >> Re: Sqoop and Hadoop

Copy link to this message
Re: Sqoop and Hadoop
why not?
you can use sqoop to import to plain text files or avrofiles or squence
here is one example

sqoop import
             --connect <conn>
             --username <user>
             --table <table>
             --columns "column1,column2,column3,.."
             --target-dir <hdfs dir>
             -m 1

On Wed, Jul 10, 2013 at 1:29 PM, Fatih Haltas <[EMAIL PROTECTED]> wrote:

> Hi Everyone,
> I am trying to import data from postgresql to hdfs via sqoop, however, all
> examples, i got on internet is talking about hive,hbase etc. kind of
> system,running within hadoop.
> I am not using, any of these systems, isnt it possible to import data
> without having those kind of systems,running on hadoop via sqoop?
> In other words, I am using hadoop and mapreduce systems itself alone, is
> it possible to import data from postgresql to that basic hadoop system via
> sqoop?

Nitin Pawar