hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1372) DFS Clients should start using the org.apache.hadoop.fs.LocalDirAllocator
Date Sat, 02 Jun 2007 17:38:15 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500958
] 

Devaraj Das commented on HADOOP-1372:
-------------------------------------

I think this patch needs to be relooked at. Please see my comment on HADOOP-1396 - http://issues.apache.org/jira/browse/HADOOP-1396#action_12500956

> DFS Clients should start using the org.apache.hadoop.fs.LocalDirAllocator
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-1372
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1372
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Devaraj Das
>            Assignee: dhruba borthakur
>             Fix For: 0.14.0
>
>         Attachments: localDirAllocator.patch
>
>
> I encountered this exception during one of the randomwriter runs. I think this situation
can be improved by using org.apache.hadoop.fs.LocalDirAllocator that has been written to handle
these kind of problems. I set the fix version as 0.14 but wonder whether it makes sense to
have it in 0.13 itself (since the amount of code change would not be much).
> java.io.FileNotFoundException: /local/dfs/data/tmp/client-1299146109450372217 (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.endBlock(DFSClient.java:1356)
> 	at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.flush(DFSClient.java:1273)
> 	at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.write(DFSClient.java:1255)
> 	at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.write(FSDataOutputStream.java:38)
> 	at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
> 	at java.io.DataOutputStream.write(DataOutputStream.java:90)
> 	at org.apache.hadoop.fs.ChecksumFileSystem$FSOutputSummer.write(ChecksumFileSystem.java:402)
> 	at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.write(FSDataOutputStream.java:38)
> 	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
> 	at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
> 	at java.io.DataOutputStream.write(DataOutputStream.java:90)
> 	at org.apache.hadoop.io.SequenceFile$Writer.append(SequenceFile.java:775)
> 	at org.apache.hadoop.examples.RandomWriter$Map.map(RandomWriter.java:152)
> 	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:48)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:187)
> 	at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1709)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message