when I ran command
hadoop distcp -update hdfs://path/to/a/file.txt hdfs://path/to/b/
I got an Java IOException:
java.io.IOException: Mkdirs failed to create /some/.staging/directory
However, I don't want to use "/some/file/path" as a temporary staging directory, how can I change it to another directory I want?
It's controlled via yarn.app.mapreduce.am.staging-dir
(defaulting to /user
in my install).