dfs-datastores icon indicating copy to clipboard operation
dfs-datastores copied to clipboard

Snapshot fails if process can't write to /tmp

Open dkincaid opened this issue 11 years ago • 1 comments

Since "/tmp/filecopy" is hardcoded in FileCopyInputFormat as tmproot if a snapshot is run and the user running the process isn't able to write to "/tmp" or "/tmp/filecopy" the snapshot will fail. Should this use the config property "hadoop.tmp.dir" instead?

dkincaid avatar May 21 '13 02:05 dkincaid

Sure, that sounds reasonable. I'd be happy to accept a PR for this.

sorenmacbeth avatar May 21 '13 02:05 sorenmacbeth