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

Change HdfsFileStatus::fileId to an opaque identifier

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • hdfs-client, webhdfs
    • None

    Description

      HDFS exposes the INode ID as a long via HdfsFileStatus::getFileId. Since equality is the only valid client operation (sequential/monotonically increasing ids are not guaranteed in any spec; leases do not rely on any other property), this identifier can be opaque instead of assigning it a primitive type in HdfsFileStatus.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cdouglas Christopher Douglas
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: