HDDS-1080. Ozonefs Isolated class loader should support FsStorageStatistics.

Contributed by Elek, Marton.
This commit is contained in:
Nanda kumar 2019-02-12 14:49:51 +05:30
parent 4f7d32edf8
commit 63a9b0d8aa
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@ public class FilteredClassLoader extends URLClassLoader {
delegatedClasses.add("org.apache.hadoop.fs.ozone.OzoneClientAdapter");
delegatedClasses.add("org.apache.hadoop.fs.ozone.BasicKeyInfo");
delegatedClasses.add("org.apache.hadoop.fs.ozone.OzoneFSOutputStream");
delegatedClasses.add("org.apache.hadoop.fs.ozone.OzoneFSStorageStatistics");
delegatedClasses.add("org.apache.hadoop.fs.ozone.Statistic");
delegatedClasses.add("org.apache.hadoop.fs.Seekable");
this.delegate = parent;
systemClassLoader = getSystemClassLoader();