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

Use MiniDFSCluster.Builder instead of deprecated constructors

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.4.0
    • Component/s: test
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Some test classes are using deprecated constructors such as MiniDFSCluster(Configuration, int, boolean, String[], String[]) for building a MiniDFSCluster.
      These classes should use MiniDFSCluster.Builder to reduce javac warnings and improve code readability.

        Attachments

        1. HDFS-6090.patch
          44 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                aajisaka Akira Ajisaka
                Reporter:
                aajisaka Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: