Some hadoop distcp task fails with dfs.client.buffer.dir not found error while
the property exists.
---------------------------------------------------------------------------------------------------
Key: HADOOP-528
URL: http://issues.apache.org/jira/browse/HADOOP-528
Project: Hadoop
Issue Type: Bug
Components: mapred
Affects Versions: 0.6.0
Reporter: Sanjay Dahiya
Fix For: 0.7.0
On some nodes hadoop distcp fails with folowing error. The property
dfs.client.buffer.dir is defined in hadoop-site.xml and the corresponding
directory is also created on the node by framework. Same configuration works on
all other nodes.
It could be a timing issue where someone is trying to read the dir before its
created on local disk, I am not sure of the cause.
java.io.IOException: No valid local directories in property:
dfs.client.buffer.dir at
org.apache.hadoop.conf.Configuration.getFile(Configuration.java:405) at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream.newBackupFile(DFSClient.java:780)
at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.(DFSClient.java:770) at
org.apache.hadoop.dfs.DFSClient.create(DFSClient.java:276) at
org.apache.hadoop.dfs.DistributedFileSystem.createRaw(DistributedFileSystem.java:104)
at org.apache.hadoop.fs.FSDataOutputStream$Summer.(FSDataOutputStream.java:56)
at org.apache.hadoop.fs.FSDataOutputStream$Summer.(FSDataOutputStream.java:45)
at org.apache.hadoop.fs.FSDataOutputStream.(FSDataOutputStream.java:146) at
org.apache.hadoop.fs.FileSystem.create(FileSystem.java:270) at
org.apache.hadoop.fs.FileSystem.create(FileSystem.java:177) at
org.apache.hadoop.util.CopyFiles$DFSCopyFilesMapper.copy(CopyFiles.java:186) at
org.apache.hadoop.util.CopyFiles$DFSCopyFilesMapper.map(CopyFiles.java:391) at
org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:46) at
org.apache.hadoop.mapred.MapTask.run(MapTask.java:210) at
org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1066)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira