XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 2.7.4, 3.0.0-alpha1
    • hdfs
    • None
    • Reviewed

    Description

      INode#getFullPathName walks up the inode tree, creates a INode[], converts each component byte[] name to a String while building the path. This involves many allocations, copies, and char conversions.

      The path should be built with a single byte[] allocation.

      Attachments

        1. HDFS-10674.patch
          7 kB
          Daryn Sharp

        Issue Links

          Activity

            People

              daryn Daryn Sharp
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: