Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1433

Fix test failures - TestPread and TestFileLimit

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: test
    • Labels:
      None
    • Environment:
    • Hadoop Flags:
      Reviewed
    1. HDFS-1433.patch
      0.9 kB
      Suresh Srinivas

      Issue Links

        Activity

        Hide
        Boris Shkolnik added a comment -

        +1.

        Show
        Boris Shkolnik added a comment - +1.
        Hide
        Suresh Srinivas added a comment -

        The removed private constructor was used in Datanode to create SimulatedFSDataset using reflection, in the code below:

        this.data = (FSDatasetInterface) ReflectionUtils.newInstance(
                           Class.forName("org.apache.hadoop.hdfs.server.datanode.SimulatedFSDataset"), conf);
        

        Removed constructor resulted in failure of tests that depended on the above code.

        Show
        Suresh Srinivas added a comment - The removed private constructor was used in Datanode to create SimulatedFSDataset using reflection, in the code below: this.data = (FSDatasetInterface) ReflectionUtils.newInstance( Class.forName("org.apache.hadoop.hdfs.server.datanode.SimulatedFSDataset"), conf); Removed constructor resulted in failure of tests that depended on the above code.
        Hide
        Suresh Srinivas added a comment -

        I ran the tests to make sure the above test failures are fixed.

        Show
        Suresh Srinivas added a comment - I ran the tests to make sure the above test failures are fixed.
        Hide
        Suresh Srinivas added a comment -

        I committed the patch.

        Show
        Suresh Srinivas added a comment - I committed the patch.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #406 (See https://hudson.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/406/)

        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #406 (See https://hudson.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/406/ )

          People

          • Assignee:
            Suresh Srinivas
            Reporter:
            Suresh Srinivas
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development