Package org.apache.hadoop.ozone.om
Class ScmClient
java.lang.Object
org.apache.hadoop.ozone.om.ScmClient
Wrapper class for Scm protocol clients.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.apache.hadoop.hdds.scm.protocol.ScmBlockLocationProtocolorg.apache.hadoop.hdds.scm.protocol.StorageContainerLocationProtocolgetContainerLocations(Iterable<Long> containerIds, boolean forceRefresh)
-
Method Details
-
getBlockClient
public org.apache.hadoop.hdds.scm.protocol.ScmBlockLocationProtocol getBlockClient() -
getContainerClient
public org.apache.hadoop.hdds.scm.protocol.StorageContainerLocationProtocol getContainerClient() -
getContainerLocations
public Map<Long,org.apache.hadoop.hdds.scm.pipeline.Pipeline> getContainerLocations(Iterable<Long> containerIds, boolean forceRefresh) throws IOException - Throws:
IOException
-
close
public void close()
-