Hi,

I am currently working on converting the patch in Nutch-251 <http://issues.apache.org/jira/browse/NUTCH-251> to work with the current trunk. the patch uses java.io.File instead of org.apache.hadoop.fs.Path.

My question is that path.isAbsolute() exists, but path.getAbsolute() does not. What is the way of getting the absolute path. if any. LocalFileSystem does not contain the code also. Also any help or advice will be appreciated in converting from File to Path.


And i have some problems with the FileSytem. Since some methods in the patch are static, i need a static LocalFileSystem object, but the constructor needs a Configuration as a parameter. Does any of you known that FileSystem fs = new LocalFileSystem(null) will work?

Reply via email to