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

View File

@ -53,6 +53,8 @@ public FilteredClassLoader(URL[] urls, ClassLoader parent) {
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();