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

Add utility methods to cast INode to INodeFile and INodeFileUnderConstruction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.3-alpha
    • namenode
    • None
    • Reviewed

    Description

      In the namenode code, there are many individual routines checking whether an inode is null and whether it could be cast to INodeFile/INodeFileUnderConstruction. Let's add utility methods for such checks.

      Attachments

        1. h4107_20121022.patch
          19 kB
          Tsz-wo Sze
        2. h4107_20121023.patch
          20 kB
          Tsz-wo Sze
        3. h4107_20121024.patch
          26 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: