XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • hdfs
    • None

    Description

      In INodeSymlink's construct method, it will transfer the input symlink string to a byte array. If we want to invoke INodeSymlink#getSymlinkString, it will transfer the byte array to the string again. Since we don't cache symlinkString here, it will do the DFSUtil.bytes2String method every time. It seems not efficient.

      Attachments

        1. HDFS-10925.004.patch
          4 kB
          Yiqun Lin
        2. HDFS-10925.003.patch
          2 kB
          Yiqun Lin
        3. HDFS-10925.002.patch
          2 kB
          Yiqun Lin
        4. HDFS-10925.001.patch
          1 kB
          Yiqun Lin

        Activity

          People

            linyiqun Yiqun Lin
            linyiqun Yiqun Lin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: