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

Log the filename when file locking fails

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When the storage lock cannot be acquired in StorageDirectory.tryLock() the the error message does not show the storage volume that was at fault. The log message is very generic:

      common.Storage: java.io.IOException: Input/output error
      

        Attachments

        1. HDFS-844.patch
          0.5 kB
          Tom White
        2. HDFS-844.patch
          0.5 kB
          Tom White

          Activity

            People

            • Assignee:
              tomwhite Tom White
              Reporter:
              tomwhite Tom White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: