[
https://issues.apache.org/jira/browse/HADOOP-13072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin Patrick McCabe updated HADOOP-13072:
------------------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
Status: Resolved (was: Patch Available)
> WindowsGetSpaceUsed constructor should be public
> ------------------------------------------------
>
> Key: HADOOP-13072
> URL: https://issues.apache.org/jira/browse/HADOOP-13072
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.8.0
> Reporter: Vinayakumar B
> Assignee: Vinayakumar B
> Labels: windows
> Fix For: 2.8.0
>
> Attachments: HADOOP-13072-01.patch, HADOOP-13072-02.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]