You're using the server that serves as a proxy to HDFS via Thrift? If I had to guess, the server is configured with fs.default.name set to the default (file:///, which is the local fs), instead of (hdfs://<namenode>:8020/).
Cheers, -- Philip On Sun, Jul 11, 2010 at 8:15 AM, Ahmad Humayun <ahmad.hu...@gmail.com> wrote: > Hi there, > > I am trying to use ThriftFS to interact with the HDFS. I am getting quite a > strange problem. Whenever I try to run src/contrib/thriftfs/scripts/hdfs.py, > it seems as if the thrift server is interacting with the local file system > rather than the HDFS (I have checked that the HDFS is running). For example > when invoke "hdfs>> ls /", it returns the root listing of the local linux > file system and not the listing of the HDFS root. > > I have a feeling that I am doing something wrong which is pretty basic. Does > anyone have an idea? > > Oh by the way, I run hdfs.py without any arguments. > > > regards, > -- > Ahmad Humayun > Graduate Student > Computer Science Dpt., UCL > http://www.cs.ucl.ac.uk/students/A.Humayun/ > +44 (0)79 5536 6637 >