Targino, Why are you looking to run Postgres off of HDFS?
If you instead want a way to move data between your Hadoop cluster and your existing, external Postgres DB, take a look at Apache Sqoop at http://incubator.apache.org/sqoop/ which is built for exactly data-in/data-out purposes, catering to various DBs. On Wed, Mar 14, 2012 at 12:18 AM, Targino Silveira <[email protected]> wrote: > Hi Harsh, > > Another doubt is, HBase is like other database, it's Right ? If yes I can't > use it, because I need to use PostgreSQL. > > When I spoken about tablespace, I sponken about a directory mounted where > postgres will record data, it's should possible with FuseDFS, I don't know > about speed, do you know some case like this. > > My main gol using Hadoop would be to use with Postgres database. > > I thank's for any response. > > Regards, > > 2012/3/13 Harsh J <[email protected]> > >> Hi, >> >> On Tue, Mar 13, 2012 at 7:24 AM, Targino Silveira >> <[email protected]> wrote: >> > 1º - Can I create a direcory to be used like a tablespace for a database >> ? >> >> Not sure what you mean. Apache Hadoop simply comes with a distributed >> filesystem and a data processing framework that leverages the >> filesystem's features. >> >> If you are looking for something tabular and one that can support >> random querying, you will need to setup Apache HBase on top. >> >> > 2º - Always I need to use commands like this "hadoop dfs -ls /app " to >> work >> > with my cluster ? >> >> Yes this is the default way to interact with the HDFS, but you can >> also setup FuseDFS to have a local fuse-based mount point of your >> HDFS, in case you want one. The process is documented at >> http://wiki.apache.org/hadoop/MountableHDFS >> >> -- >> Harsh J >> > > > > -- > Targino Silveira > +55-85-8626-7297 > www.twitter.com/targinosilveira -- Harsh J
