Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13072

WindowsGetSpaceUsed constructor should be public

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
    • Target Version/s:

      Description

      WindowsGetSpaceUsed constructor should be made public.
      Otherwise building using builder will not work.

      2016-04-29 12:49:37,455 [Thread-108] WARN  fs.GetSpaceUsed$Builder (GetSpaceUsed.java:build(127)) - Doesn't look like the class class org.apache.hadoop.fs.WindowsGetSpaceUsed have the needed constructor
      java.lang.NoSuchMethodException: org.apache.hadoop.fs.WindowsGetSpaceUsed.<init>(org.apache.hadoop.fs.GetSpaceUsed$Builder)
      	at java.lang.Class.getConstructor0(Unknown Source)
      	at java.lang.Class.getConstructor(Unknown Source)
      	at org.apache.hadoop.fs.GetSpaceUsed$Builder.build(GetSpaceUsed.java:118)
      	at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.BlockPoolSlice.<init>(BlockPoolSlice.java:165)
      	at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeImpl.addBlockPool(FsVolumeImpl.java:915)
      	at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeImpl.addBlockPool(FsVolumeImpl.java:907)
      	at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList$2.run(FsVolumeList.java:413)
      

        Attachments

        1. HADOOP-13072-02.patch
          0.9 kB
          Vinayakumar B
        2. HADOOP-13072-01.patch
          0.9 kB
          Vinayakumar B

          Activity

            People

            • Assignee:
              vinayrpet Vinayakumar B
              Reporter:
              vinayrpet Vinayakumar B
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: