Why retranslate?

Even better is to instead do:
p.toUri().getPath()

On Tue, Mar 13, 2012 at 3:52 AM, W.P. McNeill <[email protected]> wrote:
> That works. Note that this returns the full HDFS URI. If you want to remove
> protocol and server information you must do something like:
>
> Path p = fs.getFileStatus(new Path(".")).getPath();
> URI(p.toString()).getPath();



-- 
Harsh J

Reply via email to