[ https://issues.apache.org/jira/browse/HADOOP-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550832 ]
Devaraj Das commented on HADOOP-308: ------------------------------------ This should be addressed by the patch for HADOOP-2227 > Task Tracker does not handle the case of read only local dir case correctly > ---------------------------------------------------------------------------- > > Key: HADOOP-308 > URL: https://issues.apache.org/jira/browse/HADOOP-308 > Project: Hadoop > Issue Type: Bug > Components: mapred > Affects Versions: 0.3.2 > Environment: all > Reporter: Runping Qi > Assignee: Owen O'Malley > > In case that the local dir is not writable on a node, the tasks on the node > will fail as expected, with an exception like: > (Read-only file system) at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.(FileOutputStream.java:179) > at java.io.FileOutputStream.(FileOutputStream.java:131) > at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.(DFSClient.java:723) > at org.apache.hadoop.dfs.DFSClient.create(DFSClient.java:241) > at > org.apache.hadoop.dfs.DistributedFileSystem.createRaw(DistributedFileSystem.java:96) > > at > org.apache.hadoop.fs.FSDataOutputStream$Summer.(FSDataOutputStream.java:44) > at org.apache.hadoop.fs.FSDataOutputStream.(FSDataOutputStream.java:134) > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:224) > at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:176) > .... > at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:265) > at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:847) > However, the task tracker will continue accept new tasks and continue to fail. > The runloop of tasktracker should detect such a problem and exits. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.