Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1396

FileNotFound exception on DFS block

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.12.3
    • 0.14.0
    • None
    • None

    Description

      Got a couple of exceptions of the form illustrated below. This was for a randomwriter run (and every node in the cluster has multiple disks).

      java.io.FileNotFoundException: /tmp/dfs/data/tmp/client-8395631522349067878 (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.(FileInputStream.java:106)
      at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.endBlock(DFSClient.java:1323)
      at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.flush(DFSClient.java:1274)
      at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.write(DFSClient.java:1256)
      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:158)
      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)

      So it seems like the bug reported in HADOOP-758 still exists.

      Attachments

        1. tempBakcupFile.0.13.patch
          0.8 kB
          Dhruba Borthakur
        2. tempBakcupFile.patch
          0.8 kB
          Dhruba Borthakur

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dhruba Dhruba Borthakur
            ddas Devaraj Das
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment