Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-50

NullPointerException when reading deleted file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None

    Description

      hdfs://AAA:9999/distcp/destdir/Trash/0803050600/data/part-00018
      : java.lang.NullPointerException
      at org.apache.hadoop.dfs.DFSClient$DFSInputStream.getBlockAt(DFSClient.java:919)
      at org.apache.hadoop.dfs.DFSClient$DFSInputStream.blockSeekTo(DFSClient.java:992)
      at org.apache.hadoop.dfs.DFSClient$DFSInputStream.read(DFSClient.java:1112)
      at java.io.DataInputStream.read(DataInputStream.java:83)
      at org.apache.hadoop.util.CopyFiles$FSCopyFilesMapper.copy(CopyFiles.java:303)
      at org.apache.hadoop.util.CopyFiles$FSCopyFilesMapper.map(CopyFiles.java:364)
      at org.apache.hadoop.util.CopyFiles$FSCopyFilesMapper.map(CopyFiles.java:219)
      at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
      at org.apache.hadoop.mapred.MapTask.run(MapTask.java:192)
      at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1804)

      (Line number for CopyFiles.java is a little off since I'm using my modified version)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              knoguchi Koji Noguchi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: