Vinayakumar B created HADOOP-13072:
--------------------------------------

             Summary: WindowsGetSpaceUsed constructor should be public
                 Key: HADOOP-13072
                 URL: https://issues.apache.org/jira/browse/HADOOP-13072
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Vinayakumar B
            Assignee: Vinayakumar B


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

{noformat}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)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to