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

Use DFSTestUtil.createFile() for file creation and writing in test cases

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha1
    • test
    • None
    • Reviewed

    Description

      Currently there are many tests that define and use their own methods to create file and write some number of blocks in MiniDfsCluster. These methods can be consolidated to DFSTestUtil.createFile().

      Attachments

        1. HDFS-3995.trunk.001.patch
          42 kB
          Jing Zhao

        Activity

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: