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

Use NativeIO#renameTo instead of File#renameTo in FileJournalManager

    XMLWordPrintableJSON

    Details

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

      Description

      java.io.File's method renameTo() returns boolean (true for success and false for failure). If any call to this method failed, the caller can't tell why it failed.

      Filing this jira to address this issue in FileJournalManager by using hadoop nativeio alternative.

        Attachments

        1. HDFS-6499.002.patch
          2 kB
          Yongjun Zhang
        2. HDFS-6499.001.patch
          2 kB
          Yongjun Zhang

          Issue Links

            Activity

              People

              • Assignee:
                yzhangal Yongjun Zhang
                Reporter:
                yzhangal Yongjun Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: