I am running Hadoop version 0.21.0 On Wed, Dec 1, 2010 at 8:54 PM, Rajat Goel <rajatgoe...@gmail.com> wrote:
> Hi, > > I am a new user of Hadoop and I am trying to access HDFS via C program > linking with libhdfs. > > When I run my program, I see the following error from function > hdfsOpenFile(): > > Exception in thread "main" java.io.IOException: Mkdirs failed to create > /2010/12/1/abc4 > at > org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:394) > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:610) > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:591) > Call to > org.apache.hadoop.conf.FileSystem::create((Lorg/apache/hadoop/fs/Path;ZISJ)Lorg/apache/hadoop/fs/FSDataOutputStream;) > failed! > hdfs: failed to open file /2010/12/1/abc4/test.txt > > > The path /2010/12/1/abc4/ already exists in HDFS. Can someone help me in > resolving this issue? > > Thanks, > Rajat >