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

Remove the unnecessary use of Optional from DistributedFileSystem

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • fs

    Description

      • In DfsPathCapabilities, the hasPathCapability(..) method may simply returns boolean.
      • In HdfsPathHandle, a constructor declares Optional parameters. It is a well known misuse of Optional.

      Attachments

        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: