Uses of Class
org.apache.hadoop.ozone.om.ScmClient
Packages that use ScmClient
Package
Description
This package contains the Ozone Manager classes.
Package contains classes related to key requests.
-
Uses of ScmClient in org.apache.hadoop.ozone.om
Methods in org.apache.hadoop.ozone.om that return ScmClientConstructors in org.apache.hadoop.ozone.om with parameters of type ScmClientModifierConstructorDescriptionKeyManagerImpl(OzoneManager om, ScmClient scmClient, org.apache.hadoop.hdds.conf.OzoneConfiguration conf, OMPerformanceMetrics metrics) KeyManagerImpl(OzoneManager om, ScmClient scmClient, org.apache.hadoop.ozone.om.OMMetadataManager metadataManager, org.apache.hadoop.hdds.conf.OzoneConfiguration conf, org.apache.hadoop.hdds.security.token.OzoneBlockTokenSecretManager secretManager, org.apache.hadoop.crypto.key.KeyProviderCryptoExtension kmsProvider, OMPerformanceMetrics metrics) -
Uses of ScmClient in org.apache.hadoop.ozone.om.request.key
Methods in org.apache.hadoop.ozone.om.request.key with parameters of type ScmClientModifier and TypeMethodDescriptionprotected List<org.apache.hadoop.ozone.om.helpers.OmKeyLocationInfo> OMKeyRequest.allocateBlock(ScmClient scmClient, org.apache.hadoop.hdds.security.token.OzoneBlockTokenSecretManager secretManager, org.apache.hadoop.hdds.client.ReplicationConfig replicationConfig, org.apache.hadoop.hdds.scm.container.common.helpers.ExcludeList excludeList, long requestedSize, long scmBlockSize, int preallocateBlocksMax, boolean grpcBlockTokenEnabled, String serviceID, OMMetrics omMetrics, boolean shouldSortDatanodes, org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.UserInfo userInfo) This methods avoids multiple rpc calls to SCM by allocating multiple blocks in one rpc call.