@@ -0,0 +1,982 @@
+package ncku.hpds.hadoop.fedhdfs;%0A%0Aimport java.io.Serializable;%0Aimport java.util.HashMap;%0Aimport java.util.Set;%0Aimport java.util.Map.Entry;%0A%0Apublic class GlobalNamespaceObject implements Serializable %7B%0A%09%0A%09private GlobalNamespace GN = new GlobalNamespace();%0A%09%0A%09public GlobalNamespaceObject() %7B%0A%09%09%0A%09%7D%0A%09%0A%09public void setGlobalNamespace(GlobalNamespace GN) %7B%0A%09%09this.GN = GN;%0A%09%7D%0A%09%0A%09public GlobalNamespace getGlobalNamespace() %7B%0A%09%09return GN;%0A%09%7D%0A%09%0A%09public Set%3CEntry%3CString, HashMap%3CString, String%3E%3E%3E showLogicalMapping() %7B%0A%09%09return GN.getLogicalDrive().getLogicalMappingTable().entrySet();%0A%09%7D%0A%09%0A%09public Set%3CEntry%3CString, String%3E%3E showPhysicalMapping() %7B%0A%09%09return GN.getPhysicalDrive().getPhysicalMappingTable().entrySet();%0A%09%7D%0A%09%0A%09public HashMap%3CString, HashMap%3CString, String%3E%3E getLogicalMappingTable() %7B%0A%09%09return GN.getLogicalDrive().getLogicalMappingTable();%0A%09%7D%0A%09%0A%09public HashMap%3CString, String%3E getPhysicalMappingTable() %7B%0A%09%09return GN.getPhysicalDrive().getPhysicalMappingTable();%0A%09%7D%0A%0A%7D%0A

add GlobalNamespace Object that passing data with serializable