hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Visioner Sadak <visioner.sa...@gmail.com>
Subject Re: sym Links in hadoop
Date Mon, 08 Oct 2012 12:43:42 GMT
I tried using FileUtil class for creating a symlink within hadoop actually
i want to create a symlink for my har directory so my code looks like

FileUtil.symLink("/user2/","har:///user/5oct2012.har")

but getting error like this

org.apache.hadoop.fs.FileUtil
 - Command 'ln -s /user2/ har://user/5oct2012.har/' failed 1 with: ln:
target `har:///user/5oct2012.har/' is not a directory: No such file or
directory




On Mon, Oct 8, 2012 at 12:13 PM, Visioner Sadak <visioner.sadak@gmail.com>wrote:

> Hello,
>
>           can we create symlinks within hadoop is ther any shell commands
> or can we do it thru java....
>

Mime
View raw message