curious whether it's technically alright to have a symbolic link to a directory outside an nfs share and use with hadoop jobs.

asked 18 Sep '11, 21:00

niyogi's gravatar image

niyogi
1444
accept rate: 0%


Symbolic links that point to outside of MapR cannot be interpreted by the Hadoop Java client. They can be interpreted with NFS, as long as all hosts have the same symbolic link target. For example, a link to /bin/sh from inside MapR works on all machines, since /bin/sh exists on all machines.

link

answered 19 Sep '11, 00:03

MC%20Srivas's gravatar image

MC Srivas ♦♦
2.6k1517
accept rate: 35%

You can definitely have the link, but if the target of that link does not exist on all machines that need it then your hadoop tasks may be mightily confused. Remember that the target of a symbolic link will be resolved symbolically on each host. That means that you have to be able to reach the target by the same path on every machine where you try to read or write that data.

Usually, this requirement makes it a really bad idea to use symbolic links that point outside of the distributed file system.

link

answered 18 Sep '11, 22:32

TedDunning's gravatar image

TedDunning ♦♦
2.4k315
accept rate: 28%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×85
×70

Asked: 18 Sep '11, 21:00

Seen: 1,511 times

Last updated: 19 Sep '11, 00:03

powered by OSQA