hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Yu <yubiaoe...@gmail.com>
Subject How to define the path of HDFS?
Date Wed, 09 Sep 2009 13:52:51 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message