You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-commits@hadoop.apache.org by Bill Yu <yu...@gmail.com> on 2009/09/09 15:52:51 UTC
How to define the path of HDFS?
Hi everyone,
when I run the following code:
ObjectInputStream in = new ObjectInputStream(new
FileInputStream("hdfs://localhost:9000/myDir/trajectory/test.obj"));
it throws an error that the directory is not exist, how can I define
the its path ?
Any suggestion is appreciate !
Thanks,
Austin