Package com.mapr.fs
Class MapRClientImpl
java.lang.Object
com.mapr.fs.jni.MapRClient
com.mapr.fs.MapRClientImpl
- All Implemented Interfaces:
com.mapr.fs.jni.MapRConstants
public class MapRClientImpl
extends com.mapr.fs.jni.MapRClient
implements com.mapr.fs.jni.MapRConstants
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.mapr.fs.jni.MapRConstants
com.mapr.fs.jni.MapRConstants.ErrorValue, com.mapr.fs.jni.MapRConstants.JniUsername, com.mapr.fs.jni.MapRConstants.PutConstants, com.mapr.fs.jni.MapRConstants.RowConstants -
Field Summary
FieldsFields inherited from class com.mapr.fs.jni.MapRClient
ERROR_VALUE, FADVISEDONTNEED, FADVISERANDOM, FADVISESEQ, LogPageSize, PageSizeFields inherited from interface com.mapr.fs.jni.MapRConstants
AtimeBit, AuditBit, ChunkSizeBit, ClusterConfDefault, CompressBit, CompressorTypeBit, DEFAULT_USER_IDENTIFIER, DEFAULT_USER_IDENTIFIER_ESCAPED, DefaultChunkSize, DefaultCLDBIp, DefaultCLDBPort, DiskFlushBit, EMPTY_BYTE_ARRAY, EMPTY_END_ROW, EMPTY_START_ROW, FidNameBit, GlobalClusterConfDefault, GroupBit, HADOOP_MAX_BLOCKSIZE, HADOOP_SECURITY_SPOOFED_GID, HADOOP_SECURITY_SPOOFED_GROUP, HADOOP_SECURITY_SPOOFED_UID, HADOOP_SECURITY_SPOOFED_USER, HOSTNAME_IP_SEPARATOR, IP_PORT_SEPARATOR, IPV6_ADDR_ENDER, IPV6_ADDR_STARTER, IPv6DefaultCLDBIp, LAST_ROW, LATEST_TIMESTAMP, MAPR_ENV_VAR, MAPR_PROPERTY_HOME, MapRClusterDir, MapRClusterDirPattern, MapRClusterDirSlash, MAPRFS_PREFIX, MAPRFS_SCHEME, MapRHomeDefault, MAX_CLUSTERS_CROSSED, MAX_PATH_LENGTH, MAX_PORT_NUMBER, MAX_RA_THREADS, MIN_RA_THREADS, MinChunkSize, ModeBit, MtimeBit, MULTI_ADDR_SEPARATOR, NUM_CONTAINERS_PER_RPC, OLDEST_TIMESTAMP, RA_THREADS_PER_STREAM, ReplBit, SSL_TRUSTSTORE, UserBit, UTF8_ENCODING, WireSecureBit -
Constructor Summary
ConstructorsConstructorDescriptionMapRClientImpl(String clusterName, com.mapr.baseutils.cldbutils.CLDBRpcCommonUtils.SocketAddr[] ips, long[] numIpsPerCldb, String auth, boolean disableNameCache, com.mapr.fs.jni.MapRClientInitParams clientInitParams) -
Method Summary
Modifier and TypeMethodDescriptionintaddsecuritypolicies(String path, List<String> policyNames, boolean recursive, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intaddTableReplica(String tablePath, com.mapr.fs.proto.Dbserver.TableReplicaDesc replica, com.mapr.fs.proto.Dbserver.TableReplAutoSetupInfo ainfo, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) voidaddTableUpstream(String tablePath, com.mapr.fs.proto.Dbserver.TableUpstreamDesc upstream, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) append(String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) voidvoidclose()create(String name, int mask, int mode, boolean createIfNonExistant, boolean append, boolean overwrite, short replication, long chunkSize, org.apache.hadoop.util.Progressable progress, com.mapr.fs.jni.MapRConstants.ErrorValue err, boolean createParent, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) voidcreateColumnFamily(String tablePath, String name, com.mapr.fs.proto.Dbserver.ColumnFamilyAttr schFamily, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) createFid(String pfid, String file, int mask, int mode, long chunkSize, boolean overwrite, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) createFid(String pfid, String file, int mask, int mode, long chunkSize, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) voidcreateHardlink(String oldpath, String newpath, com.mapr.fs.jni.MapRConstants.ErrorValue linkErr, com.mapr.fs.jni.MapRUserInfo userInfo) byte[]creates3bucket(String parentName, String bktName, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo, String domain, int aId, boolean worm, long ownwerUid) intcreateSnapshot(String volName, int volId, int rootCid, String snapshotName, boolean mirrorSnapshot, long expirationTime, String username, com.mapr.fs.jni.MapRUserInfo userInfo) intcreateSnapshotLite(String volName, int volId, int rootCid, String snapshotName, boolean mirrorSnapshot, long expirationTime, String username, com.mapr.fs.jni.MapRUserInfo userInfo, long clusterOps) voidcreateSymlink(String target, String link, boolean createParent, int mask, int mode, long chunkSize, com.mapr.fs.jni.MapRConstants.ErrorValue linkErr, com.mapr.fs.jni.MapRUserInfo userInfo) createTable(String name, String user, com.mapr.fs.proto.Dbserver.TableAttr attr, com.mapr.fs.proto.Dbserver.TableAces aces, int mode, byte[][] splitKeys, boolean needServerInfo, int auditValue, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intcreateVolLink(String volName, String volLink, boolean writeable, boolean hidden, com.mapr.fs.jni.MapRUserInfo userInfo) intdelAces(String path, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intdelete(String name, boolean recursive, boolean batched, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) voiddeleteColumnFamily(String tablePath, String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intintdeleteVolLink(String volLink, com.mapr.fs.jni.MapRUserInfo userInfo) voideditTableReplica(String tablePath, String clusterName, String replicaPath, String topicName, boolean allowAllCfs, com.mapr.fs.proto.Dbserver.TableReplicaDesc replica, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) byte[]voidintFsActionToAccessBits(org.apache.hadoop.fs.permission.FsAction mode, boolean isDirectory) intgetAces(String path, ArrayList<com.mapr.fs.proto.Common.FileACE> aces, FileAceMoreInfo aceMoreInfo, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intgetAces(String path, ArrayList<com.mapr.fs.proto.Common.FileACE> aces, FileAceMoreInfo aceMoreInfo, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo, int serveridx) List<com.mapr.fs.proto.Dbserver.DataMask>getAllDataMasks(com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) getBlockLocations(String name, long start, long len, boolean usePrimaryFid, boolean needDiskBlocks, boolean fullBlockInfo, com.mapr.fs.jni.MapRConstants.ErrorValue err) getClusterSecurityPolicies(com.mapr.fs.jni.MapRUserInfo userInfo) byte[]getContainerInfo(int[] cids, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) com.mapr.fs.proto.Dbserver.DataMaskgetDataMask(String dmName, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) getDataMaskNameFromId(int id, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) com.mapr.fs.jni.MapRFileCountgetFileCount(String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) getFileStatus(String name, boolean needSlashMapr, String scheme, String authority, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) com.mapr.fs.jni.IPPort[]getGatewayIps(String file, String dstCluster, boolean skipCache, com.mapr.fs.jni.GatewaySource source, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) org.apache.hadoop.fs.PathgetLinkTarget(String f, com.mapr.fs.jni.MapRConstants.ErrorValue err) static intgetModeBits(org.apache.hadoop.fs.permission.FsPermission permission, org.apache.hadoop.conf.Configuration conf) getMountPath(String username, int pCid, int pCinum, int pUniq, com.mapr.fs.jni.MapRUserInfo userInfo, boolean useCache, boolean skipFSCall) com.mapr.fs.proto.Dbserver.TableBasicStatsgetScanRangeStats(String tablePath, String indexFid, byte[] stKey, byte[] endKey, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) getSecurityPolicyId(String policyName, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) getSecurityPolicyIds(List<String> policyNames, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) getSecurityPolicyName(Integer policyId, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) getSecurityPolicyNames(List<Integer> policyIds, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) getServerForCid(int cid, com.mapr.fs.jni.MapRConstants.ErrorValue err) static intgetStat(String path, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) org.apache.hadoop.fs.FsStatuscom.mapr.fs.proto.Dbserver.OpenBasicAttrsgetTableBasicAttrs(String tablePath, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) getTableProperties(String tablePath, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) com.mapr.fs.proto.Dbserver.TableBasicStatsgetTableStats(String tablePath, String indexFid, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) com.mapr.fs.proto.Dbserver.TabletLookupResponsegetTablets(String tablePath, byte[] stKey, byte[] endKey, boolean needSpaceUsage, boolean prefetchTabletMap, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) com.mapr.fs.proto.Dbserver.TabletStatResponsegetTabletStat(com.mapr.fs.proto.Common.FidMsg fid, com.mapr.fs.jni.MapRConstants.ErrorValue err) com.mapr.fs.proto.Dbserver.TabletLookupResponsegetTabletsWithFid(String fid, byte[] stKey, byte[] endKey, boolean needSpaceUsage, boolean prefetchTabletMap, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intGetUserInfo(com.mapr.fs.jni.MapRUserInfo userInfo) intgetUserPermission(String path, org.apache.hadoop.fs.permission.FsAction mode, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) getVolumeName(int volId, com.mapr.fs.jni.MapRUserInfo userInfo) getVolumeNameCached(int volId, com.mapr.fs.jni.MapRUserInfo userInfo) byte[]getXAttr(String path, String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) static intList<com.mapr.fs.proto.Dbserver.ColumnFamilyAttr>listColumnFamily(String tablePath, boolean wantAces, boolean useCached, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) List<com.mapr.fs.proto.Dbserver.ColumnFamilyAttr>listColumnFamily(String tablePath, boolean wantAces, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intlistDirLite(String name, String scheme, String authority, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) listStatus(String name, boolean showVols, boolean needSlashMapr, boolean showHidden, String scheme, String authority, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) listStatusLite(String name, int cid, int cinum, int uniq, int count, long cookie, boolean showHidden, String scheme, String authority, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) com.mapr.fs.proto.Dbserver.TableReplicaListResponselistTableDownstreams(String tablePath, boolean wantStats, boolean skipFieldsReadPermCheck, boolean refreshNow, MapRClientImpl.TableDownstreamType type, boolean getCompactInfo, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) com.mapr.fs.proto.Dbserver.TableUpstreamListResponselistTableUpstreams(String tablePath, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) listXAttrs(String path, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) com.mapr.fs.proto.Fileserver.KvstoreLookupResponselookupKV(String kvPath, com.mapr.fs.proto.Fileserver.KvStoreKey key, com.mapr.fs.jni.MapRConstants.ErrorValue err) ------------------------ KvStore calls --------------------------------voidmergeTableRegion(String fidstr, com.mapr.fs.jni.MapRConstants.ErrorValue err) intmkdirs(String name, int mask, int mode, boolean compress, long chunkSize, com.mapr.fs.jni.MapRConstants.ErrorValue err, boolean needFid, boolean createParent, com.mapr.fs.jni.MapRUserInfo userInfo) mkdirsFid(String pfid, String dir, int mask, int mode, boolean compress, long chunkSize, com.mapr.fs.jni.MapRUserInfo userInfo) intmodifyAudit(String path, boolean val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) voidmodifyColumnFamily(String tablePath, String name, com.mapr.fs.proto.Dbserver.ColumnFamilyAttr schFamily, com.mapr.fs.proto.Dbserver.SecurityPolicyOperation securityPolicyOp, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) voidmodifyTableAttr(String tablePath, com.mapr.fs.proto.Dbserver.TableAttr am, com.mapr.fs.proto.Dbserver.TableAces aces, boolean genUuid, com.mapr.fs.proto.Dbserver.SecurityPolicyOperation securityPolicyOp, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intmountVolume(String volName, String mountPath, String username, com.mapr.fs.jni.MapRUserInfo userInfo, int mode) intNewFidPath(String username, int pCid, int pCinum, int pUniq, com.mapr.fs.jni.MapRUserInfo userInfo, String path, boolean forceUpdate) open(String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) openFid(String fid, byte[][] ips, int[] ports, long chunkSize, long fileSize, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) openFid(String pfid, String file, byte[][] ips, int[] ports, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) openFid2(org.apache.hadoop.fs.PathId pfid, String file, int length, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) openTable(String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, MapRHTable table, com.mapr.fs.jni.MapRUserInfo userInfo) -------------------- Goose calls --------------------------------------openTableWithFid(String fid, com.mapr.fs.jni.MapRConstants.ErrorValue err, MapRHTable table, com.mapr.fs.jni.MapRUserInfo userInfo) voidpackTableRegion(String fidstr, int ctype, com.mapr.fs.jni.MapRConstants.ErrorValue err) intprintsecuritypolicies(String path, boolean recursive, com.mapr.fs.jni.MapRUserInfo userInfo) static booleanbyte[]removeS3bucket(String bucketName, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo, String domainName) intremovesecuritypolicies(String path, List<String> policyNames, boolean recursive, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) voidremoveTableReplica(String tablePath, com.mapr.fs.proto.Dbserver.TableReplicaDesc replica, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) voidremoveTableUpstream(String tablePath, com.mapr.fs.proto.Dbserver.TableUpstreamDesc upstream, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intremoveXAttr(String path, String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intrename(String src, String dest, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) byte[]scanKV(String name, byte[] start, byte[] end, int maxkeys, boolean fromGfsck, com.mapr.fs.jni.MapRConstants.ErrorValue err) byte[]scanKV(String name, byte[] start, byte[] end, int maxkeys, com.mapr.fs.jni.MapRConstants.ErrorValue err) com.mapr.fs.proto.Fileserver.KvstoreScanResponsescanKVGivenFid(com.mapr.fs.proto.Common.FidMsg kvFid, com.mapr.fs.proto.Fileserver.KvStoreKey stKey, com.mapr.fs.proto.Fileserver.KvStoreKey enKey, com.mapr.fs.jni.MapRConstants.ErrorValue err) intsetAces(String path, ArrayList<com.mapr.fs.proto.Common.FileACE> aces, boolean isSet, int noinherit, int preservemodebits, String hintAcePath, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intsetattr(String name, int bitmask, String user, String group, long mtime, long atime, int mode, short repl, boolean canCompress, String compressionName, long chunkSize, boolean wireSecurityEnabled, boolean diskFlushEnabled, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intsetChunkSize(String path, long val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intsetCompression(String path, boolean val, String compName, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intsetDiskFlush(String path, boolean val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) static voidsetJavaRAThreadsPerStream(int v) intsetOwner(String name, String user, String group, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intsetOwnerFid(String name, String user, String group, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intsetPermission(String name, int mode, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) voidstatic voidsetReadBuffering(boolean v) intsetReplication(String name, short repl, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intsetsecuritypolicies(String path, List<String> policyNames, boolean recursive, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) static voidsetSlowOpsThreshold(int v) intsetTimes(String name, long mtime, long atime, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intsetWireSecurity(String path, boolean val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intsetXAttr(String path, String name, byte[] value, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) voidsplitTableRegion(String fidstr, boolean ignoreRegionTooSmallError, com.mapr.fs.jni.MapRConstants.ErrorValue err) com.mapr.fs.jni.JNIFileTierStatustierOp(int op, String name, boolean verbose, boolean blocking, long shaHigh, long shaLow, long uniq, com.mapr.fs.jni.MapRConstants.ErrorValue errorVal, com.mapr.fs.jni.MapRUserInfo userInfo) ToCommaSeparatedString(Collection<String> namesList) booleantruncate(String name, long newlength, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) intunmountVolume(String volName, String mountPath, String username, int pCid, int pCinum, int pUniq, com.mapr.fs.jni.MapRUserInfo userInfo) Methods inherited from class com.mapr.fs.jni.MapRClient
addsecuritypolicies, addtablereplica, addtableupstream, adviseFile, cleanup, CloseClient, closeFile, create, createcolumnfamily, createFid, createFid2, createHardlink, creates3bucket, createSnapshot, createSnapshotLite, createSymlink, createtable, createVolLink, delace, deletecolumnfamily, deleteVolLink, edittablereplica, fetchGNSClusters, fileCount, flushJniBuffers, forceLocalResolution, getace, getalldatamasks, getattr, getAttrs, getBlockInfo, getContainerInfo, getdatamask, getdatamasknamefromid, getFidServers, getGatewayIps, getNumAvailRAPages, getNumRAPages, getPathFromFid, getscanrangestats, getsecuritypolicyids, getsecuritypolicyinfo, getsecuritypolicynames, getServerForCid, getStatus, gettableattr, gettablebasicattrs, gettablestats, gettablets, gettabletswithfid, GetUserInfo, getuserpermission, getVolName, getVolNameCached, getxattr, getZkConnectString, initSpoofedUser, listcolumnfamily, listdirlite, listtablereplicas, listtableupstreams, listxattr, lookupkv, mergetableregion, mkdirs, mkdirsFid, modifycolumnfamily, modifytableattr, mountVolume, NewFidPath, open, OpenClient, OpenClient2, openFid, openFidWithParams, opentable, opentablewithfid, packtableregion, printsecuritypolicies, readdirlite, readdirplus, readlink, readRPC, remove, removeFid, removes3bucket, removesecuritypolicies, removetablereplica, removetableupstream, removexattr, rename, scanKV, scankvgivenfid, setace, setattr, setsecuritypolicies, setxattr, splittableregion, tabletstat, tierOp, truncate, unmountVolume, writeRPC
-
Field Details
-
LOG
public static final org.apache.commons.logging.Log LOG
-
-
Constructor Details
-
MapRClientImpl
public MapRClientImpl(String clusterName, com.mapr.baseutils.cldbutils.CLDBRpcCommonUtils.SocketAddr[] ips, long[] numIpsPerCldb, String auth, boolean disableNameCache, com.mapr.fs.jni.MapRClientInitParams clientInitParams) throws IOException - Throws:
IOException
-
-
Method Details
-
getClusterName
-
close
public void close() -
GetUserInfo
public int GetUserInfo(com.mapr.fs.jni.MapRUserInfo userInfo) -
setReadBuffering
public static void setReadBuffering(boolean v) -
readBuffering
public static boolean readBuffering() -
setJavaRAThreadsPerStream
public static void setJavaRAThreadsPerStream(int v) -
javaRAThreadsPerStream
public static int javaRAThreadsPerStream() -
setSlowOpsThreshold
public static void setSlowOpsThreshold(int v) -
getSlowOpsThreshold
public static int getSlowOpsThreshold() -
forceLocalResolution
public void forceLocalResolution() -
FsActionToAccessBits
public int FsActionToAccessBits(org.apache.hadoop.fs.permission.FsAction mode, boolean isDirectory) -
getUserPermission
public int getUserPermission(String path, org.apache.hadoop.fs.permission.FsAction mode, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
create
public MapRFsOutStream create(String name, int mask, int mode, boolean createIfNonExistant, boolean append, boolean overwrite, short replication, long chunkSize, org.apache.hadoop.util.Progressable progress, com.mapr.fs.jni.MapRConstants.ErrorValue err, boolean createParent, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) throws IOException - Throws:
IOException
-
truncate
public boolean truncate(String name, long newlength, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getGatewayIps
-
open
public MapRFsInStream open(String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) throws IOException - Throws:
IOException
-
openFid2
public MapRFsInStream openFid2(org.apache.hadoop.fs.PathId pfid, String file, int length, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) throws IOException - Throws:
IOException
-
openFid
public MapRFsInStream openFid(String fid, byte[][] ips, int[] ports, long chunkSize, long fileSize, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) throws IOException, com.mapr.fs.jni.IOExceptionWithErrorCode - Throws:
IOExceptioncom.mapr.fs.jni.IOExceptionWithErrorCode
-
openFid
public MapRFsInStream openFid(String pfid, String file, byte[][] ips, int[] ports, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) throws IOException, com.mapr.fs.jni.IOExceptionWithErrorCode - Throws:
IOExceptioncom.mapr.fs.jni.IOExceptionWithErrorCode
-
createFid
public MapRFsOutStream createFid(String pfid, String file, int mask, int mode, long chunkSize, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) throws IOException - Throws:
IOException
-
createFid
public MapRFsOutStream createFid(String pfid, String file, int mask, int mode, long chunkSize, boolean overwrite, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) throws IOException - Throws:
IOException
-
deleteFid
-
mkdirsFid
public String mkdirsFid(String pfid, String dir, int mask, int mode, boolean compress, long chunkSize, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
append
public MapRFsOutStream append(String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo, org.apache.hadoop.fs.FileSystem.Statistics stats) throws IOException - Throws:
IOException
-
delete
public int delete(String name, boolean recursive, boolean batched, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
getFileStatus
public MapRFileStatus getFileStatus(String name, boolean needSlashMapr, String scheme, String authority, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
listStatus
public MapRFileStatus[] listStatus(String name, boolean showVols, boolean needSlashMapr, boolean showHidden, String scheme, String authority, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
listStatusLite
public MapRFileStatus[] listStatusLite(String name, int cid, int cinum, int uniq, int count, long cookie, boolean showHidden, String scheme, String authority, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
listDirLite
-
rename
-
mkdirs
public int mkdirs(String name, int mask, int mode, boolean compress, long chunkSize, com.mapr.fs.jni.MapRConstants.ErrorValue err, boolean needFid, boolean createParent, com.mapr.fs.jni.MapRUserInfo userInfo) -
getBlockLocations
public MapRBlockLocation[] getBlockLocations(String name, long start, long len, boolean usePrimaryFid, boolean needDiskBlocks, boolean fullBlockInfo, com.mapr.fs.jni.MapRConstants.ErrorValue err) -
getFileCount
public com.mapr.fs.jni.MapRFileCount getFileCount(String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
tierOp
public com.mapr.fs.jni.JNIFileTierStatus tierOp(int op, String name, boolean verbose, boolean blocking, long shaHigh, long shaLow, long uniq, com.mapr.fs.jni.MapRConstants.ErrorValue errorVal, com.mapr.fs.jni.MapRUserInfo userInfo) -
setattr
public int setattr(String name, int bitmask, String user, String group, long mtime, long atime, int mode, short repl, boolean canCompress, String compressionName, long chunkSize, boolean wireSecurityEnabled, boolean diskFlushEnabled, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
setOwner
-
setOwnerFid
-
setTimes
public int setTimes(String name, long mtime, long atime, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
setPermission
public int setPermission(String name, int mode, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
getStatus
public org.apache.hadoop.fs.FsStatus getStatus() -
setReplication
public int setReplication(String name, short repl, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
createSymlink
public void createSymlink(String target, String link, boolean createParent, int mask, int mode, long chunkSize, com.mapr.fs.jni.MapRConstants.ErrorValue linkErr, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
createHardlink
public void createHardlink(String oldpath, String newpath, com.mapr.fs.jni.MapRConstants.ErrorValue linkErr, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getLinkTarget
public org.apache.hadoop.fs.Path getLinkTarget(String f, com.mapr.fs.jni.MapRConstants.ErrorValue err) -
setCompression
-
getStat
public MapRFileStatus getStat(String path, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
modifyAudit
public int modifyAudit(String path, boolean val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
setWireSecurity
public int setWireSecurity(String path, boolean val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
setDiskFlush
public int setDiskFlush(String path, boolean val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
setXAttr
-
getXAttr
public byte[] getXAttr(String path, String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
listXAttrs
public List<String> listXAttrs(String path, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
removeXAttr
public int removeXAttr(String path, String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getAces
public int getAces(String path, ArrayList<com.mapr.fs.proto.Common.FileACE> aces, FileAceMoreInfo aceMoreInfo, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getAces
public int getAces(String path, ArrayList<com.mapr.fs.proto.Common.FileACE> aces, FileAceMoreInfo aceMoreInfo, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo, int serveridx) throws IOException - Throws:
IOException
-
delAces
public int delAces(String path, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
setAces
-
setChunkSize
public int setChunkSize(String path, long val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
mountVolume
-
unmountVolume
-
NewFidPath
-
getMountPath
-
getVolumeNameCached
-
getVolumeName
-
createSnapshot
-
createSnapshotLite
-
createVolLink
-
deleteVolLink
-
getModeBits
public static int getModeBits(org.apache.hadoop.fs.permission.FsPermission permission, org.apache.hadoop.conf.Configuration conf) -
clearQueryServiceParam
- Throws:
IOExceptionInterruptedException
-
setQueryServiceParam
- Throws:
IOExceptionInterruptedException
-
getQueryServiceParam
- Throws:
IOExceptionInterruptedException
-
getZkConnectString
-
getJobTrackerAddrs
- Throws:
IOException
-
scanKV
public byte[] scanKV(String name, byte[] start, byte[] end, int maxkeys, com.mapr.fs.jni.MapRConstants.ErrorValue err) -
scanKV
public byte[] scanKV(String name, byte[] start, byte[] end, int maxkeys, boolean fromGfsck, com.mapr.fs.jni.MapRConstants.ErrorValue err) -
lookupKV
public com.mapr.fs.proto.Fileserver.KvstoreLookupResponse lookupKV(String kvPath, com.mapr.fs.proto.Fileserver.KvStoreKey key, com.mapr.fs.jni.MapRConstants.ErrorValue err) throws IOException ------------------------ KvStore calls --------------------------------- Throws:
IOException
-
scanKVGivenFid
public com.mapr.fs.proto.Fileserver.KvstoreScanResponse scanKVGivenFid(com.mapr.fs.proto.Common.FidMsg kvFid, com.mapr.fs.proto.Fileserver.KvStoreKey stKey, com.mapr.fs.proto.Fileserver.KvStoreKey enKey, com.mapr.fs.jni.MapRConstants.ErrorValue err) throws IOException - Throws:
IOException
-
openTable
public Inode openTable(String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, MapRHTable table, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException -------------------- Goose calls --------------------------------------- Throws:
IOException
-
openTableWithFid
public Inode openTableWithFid(String fid, com.mapr.fs.jni.MapRConstants.ErrorValue err, MapRHTable table, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
createTable
public String createTable(String name, String user, com.mapr.fs.proto.Dbserver.TableAttr attr, com.mapr.fs.proto.Dbserver.TableAces aces, int mode, byte[][] splitKeys, boolean needServerInfo, int auditValue, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getTableStats
public com.mapr.fs.proto.Dbserver.TableBasicStats getTableStats(String tablePath, String indexFid, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getScanRangeStats
public com.mapr.fs.proto.Dbserver.TableBasicStats getScanRangeStats(String tablePath, String indexFid, byte[] stKey, byte[] endKey, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getTablets
public com.mapr.fs.proto.Dbserver.TabletLookupResponse getTablets(String tablePath, byte[] stKey, byte[] endKey, boolean needSpaceUsage, boolean prefetchTabletMap, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
ToCommaSeparatedString
-
getSecurityPolicyIds
public List<Integer> getSecurityPolicyIds(List<String> policyNames, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getSecurityPolicyNames
public List<String> getSecurityPolicyNames(List<Integer> policyIds, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getSecurityPolicyId
public Integer getSecurityPolicyId(String policyName, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getSecurityPolicyName
public String getSecurityPolicyName(Integer policyId, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getClusterSecurityPolicies
public Map<String,Integer> getClusterSecurityPolicies(com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
printsecuritypolicies
public int printsecuritypolicies(String path, boolean recursive, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
addsecuritypolicies
public int addsecuritypolicies(String path, List<String> policyNames, boolean recursive, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
setsecuritypolicies
public int setsecuritypolicies(String path, List<String> policyNames, boolean recursive, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
removesecuritypolicies
public int removesecuritypolicies(String path, List<String> policyNames, boolean recursive, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getAllDataMasks
public List<com.mapr.fs.proto.Dbserver.DataMask> getAllDataMasks(com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getDataMask
public com.mapr.fs.proto.Dbserver.DataMask getDataMask(String dmName, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getDataMaskNameFromId
public String getDataMaskNameFromId(int id, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getTabletsWithFid
public com.mapr.fs.proto.Dbserver.TabletLookupResponse getTabletsWithFid(String fid, byte[] stKey, byte[] endKey, boolean needSpaceUsage, boolean prefetchTabletMap, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
createColumnFamily
public void createColumnFamily(String tablePath, String name, com.mapr.fs.proto.Dbserver.ColumnFamilyAttr schFamily, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
modifyColumnFamily
public void modifyColumnFamily(String tablePath, String name, com.mapr.fs.proto.Dbserver.ColumnFamilyAttr schFamily, com.mapr.fs.proto.Dbserver.SecurityPolicyOperation securityPolicyOp, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
deleteColumnFamily
public void deleteColumnFamily(String tablePath, String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
listColumnFamily
public List<com.mapr.fs.proto.Dbserver.ColumnFamilyAttr> listColumnFamily(String tablePath, boolean wantAces, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
listColumnFamily
public List<com.mapr.fs.proto.Dbserver.ColumnFamilyAttr> listColumnFamily(String tablePath, boolean wantAces, boolean useCached, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
modifyTableAttr
public void modifyTableAttr(String tablePath, com.mapr.fs.proto.Dbserver.TableAttr am, com.mapr.fs.proto.Dbserver.TableAces aces, boolean genUuid, com.mapr.fs.proto.Dbserver.SecurityPolicyOperation securityPolicyOp, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getTableBasicAttrs
public com.mapr.fs.proto.Dbserver.OpenBasicAttrs getTableBasicAttrs(String tablePath, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getTableProperties
public TableProperties getTableProperties(String tablePath, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
splitTableRegion
public void splitTableRegion(String fidstr, boolean ignoreRegionTooSmallError, com.mapr.fs.jni.MapRConstants.ErrorValue err) throws IOException - Throws:
IOException
-
packTableRegion
public void packTableRegion(String fidstr, int ctype, com.mapr.fs.jni.MapRConstants.ErrorValue err) throws IOException - Throws:
IOException
-
mergeTableRegion
public void mergeTableRegion(String fidstr, com.mapr.fs.jni.MapRConstants.ErrorValue err) throws IOException - Throws:
IOException
-
getTabletStat
public com.mapr.fs.proto.Dbserver.TabletStatResponse getTabletStat(com.mapr.fs.proto.Common.FidMsg fid, com.mapr.fs.jni.MapRConstants.ErrorValue err) throws IOException - Throws:
IOException
-
listTableDownstreams
public com.mapr.fs.proto.Dbserver.TableReplicaListResponse listTableDownstreams(String tablePath, boolean wantStats, boolean skipFieldsReadPermCheck, boolean refreshNow, MapRClientImpl.TableDownstreamType type, boolean getCompactInfo, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
addTableReplica
public int addTableReplica(String tablePath, com.mapr.fs.proto.Dbserver.TableReplicaDesc replica, com.mapr.fs.proto.Dbserver.TableReplAutoSetupInfo ainfo, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
editTableReplica
public void editTableReplica(String tablePath, String clusterName, String replicaPath, String topicName, boolean allowAllCfs, com.mapr.fs.proto.Dbserver.TableReplicaDesc replica, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
removeTableReplica
public void removeTableReplica(String tablePath, com.mapr.fs.proto.Dbserver.TableReplicaDesc replica, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
addTableUpstream
public void addTableUpstream(String tablePath, com.mapr.fs.proto.Dbserver.TableUpstreamDesc upstream, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
listTableUpstreams
public com.mapr.fs.proto.Dbserver.TableUpstreamListResponse listTableUpstreams(String tablePath, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
removeTableUpstream
public void removeTableUpstream(String tablePath, com.mapr.fs.proto.Dbserver.TableUpstreamDesc upstream, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) throws IOException - Throws:
IOException
-
getContainerInfo
public byte[] getContainerInfo(int[] cids, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo) -
getServerForCid
public String getServerForCid(int cid, com.mapr.fs.jni.MapRConstants.ErrorValue err) throws IOException - Throws:
IOException
-
creates3bucket
-
removeS3bucket
-
fetchGNSClusters
public byte[] fetchGNSClusters()
-