Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> hdfs directory location


Copy link to this message
-
Re: hdfs directory location
Jignesh
       You are creating a dir in hdfs by that command. The dir won't be in your local file system but it hdfs. Issue a command like
hadoop fs -ls /user/hadoop-user/citation/
You can see the dir you created in hdfs

If you want to create a die on local unix use a simple linux command
mkdir /user/hadoop-user/citation/input
------Original Message------
From: Jignesh Patel
To: [EMAIL PROTECTED]
ReplyTo: [EMAIL PROTECTED]
Subject: hdfs directory location
Sent: Oct 10, 2011 23:45

I am using following command to create a file in Unix(i.e. mac) system.

bin/hadoop fs -mkdir /user/hadoop-user/citation/input

While it creates the directory I need, I am struggling to figure out exact location of the folder in my local box.

Regards
Bejoy K S
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB