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 Classes
    Modifier and Type
    Class
    Description
    static enum 
     

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.commons.logging.Log
     

    Fields inherited from class com.mapr.fs.jni.MapRClient

    ERROR_VALUE, FADVISEDONTNEED, FADVISERANDOM, FADVISESEQ, LogPageSize, PageSize

    Fields 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

    Constructors
    Constructor
    Description
    MapRClientImpl(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 Type
    Method
    Description
    int
    addsecuritypolicies(String path, List<String> policyNames, boolean recursive, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    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)
     
    void
    addTableUpstream(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)
     
    void
     
    void
     
    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)
     
    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)
     
    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)
     
    void
    createHardlink(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)
     
    int
    createSnapshot(String volName, int volId, int rootCid, String snapshotName, boolean mirrorSnapshot, long expirationTime, String username, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    createSnapshotLite(String volName, int volId, int rootCid, String snapshotName, boolean mirrorSnapshot, long expirationTime, String username, com.mapr.fs.jni.MapRUserInfo userInfo, long clusterOps)
     
    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)
     
    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)
     
    int
    createVolLink(String volName, String volLink, boolean writeable, boolean hidden, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    delAces(String path, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    delete(String name, boolean recursive, boolean batched, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    void
    deleteColumnFamily(String tablePath, String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    deleteFid(String pfid, String dir, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    deleteVolLink(String volLink, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    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)
     
    byte[]
     
    void
     
    int
    FsActionToAccessBits(org.apache.hadoop.fs.permission.FsAction mode, boolean isDirectory)
     
    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
    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)
     
    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.DataMask
    getDataMask(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.MapRFileCount
    getFileCount(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.Path
    getLinkTarget(String f, com.mapr.fs.jni.MapRConstants.ErrorValue err)
     
    static int
    getModeBits(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.TableBasicStats
    getScanRangeStats(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 int
     
    getStat(String path, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    org.apache.hadoop.fs.FsStatus
     
    com.mapr.fs.proto.Dbserver.OpenBasicAttrs
    getTableBasicAttrs(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.TableBasicStats
    getTableStats(String tablePath, String indexFid, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    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)
     
    com.mapr.fs.proto.Dbserver.TabletStatResponse
    getTabletStat(com.mapr.fs.proto.Common.FidMsg fid, com.mapr.fs.jni.MapRConstants.ErrorValue err)
     
    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)
     
    int
    GetUserInfo(com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    getUserPermission(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 int
     
    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)
     
    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)
     
    int
    listDirLite(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.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)
     
    com.mapr.fs.proto.Dbserver.TableUpstreamListResponse
    listTableUpstreams(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.KvstoreLookupResponse
    lookupKV(String kvPath, com.mapr.fs.proto.Fileserver.KvStoreKey key, com.mapr.fs.jni.MapRConstants.ErrorValue err)
    ------------------------ KvStore calls --------------------------------
    void
    mergeTableRegion(String fidstr, com.mapr.fs.jni.MapRConstants.ErrorValue err)
     
    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)
     
    mkdirsFid(String pfid, String dir, int mask, int mode, boolean compress, long chunkSize, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    modifyAudit(String path, boolean val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    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)
     
    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)
     
    int
    mountVolume(String volName, String mountPath, String username, com.mapr.fs.jni.MapRUserInfo userInfo, int mode)
     
    int
    NewFidPath(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)
     
    void
    packTableRegion(String fidstr, int ctype, com.mapr.fs.jni.MapRConstants.ErrorValue err)
     
    int
    printsecuritypolicies(String path, boolean recursive, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    static boolean
     
    byte[]
    removeS3bucket(String bucketName, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo, String domainName)
     
    int
    removesecuritypolicies(String path, List<String> policyNames, boolean recursive, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    void
    removeTableReplica(String tablePath, com.mapr.fs.proto.Dbserver.TableReplicaDesc replica, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    void
    removeTableUpstream(String tablePath, com.mapr.fs.proto.Dbserver.TableUpstreamDesc upstream, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    removeXAttr(String path, String name, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    rename(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.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)
     
    int
    setAces(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)
     
    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)
     
    int
    setChunkSize(String path, long val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    setCompression(String path, boolean val, String compName, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    setDiskFlush(String path, boolean val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    static void
     
    int
    setOwner(String name, String user, String group, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    setOwnerFid(String name, String user, String group, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    setPermission(String name, int mode, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    void
     
    static void
    setReadBuffering(boolean v)
     
    int
    setReplication(String name, short repl, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    setsecuritypolicies(String path, List<String> policyNames, boolean recursive, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    static void
     
    int
    setTimes(String name, long mtime, long atime, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    setWireSecurity(String path, boolean val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    setXAttr(String path, String name, byte[] value, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    void
    splitTableRegion(String fidstr, boolean ignoreRegionTooSmallError, com.mapr.fs.jni.MapRConstants.ErrorValue err)
     
    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)
     
     
    boolean
    truncate(String name, long newlength, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
     
    int
    unmountVolume(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public String 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

      public 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)
    • 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:
      IOException
      com.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:
      IOException
      com.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

      public int deleteFid(String pfid, String dir, com.mapr.fs.jni.MapRUserInfo userInfo)
    • 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

      public int listDirLite(String name, String scheme, String authority, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
    • rename

      public int rename(String src, String dest, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
    • 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

      public int setOwner(String name, String user, String group, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
    • setOwnerFid

      public int setOwnerFid(String name, String user, String group, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
    • 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

      public int setCompression(String path, boolean val, String compName, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
    • 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

      public int setXAttr(String path, String name, byte[] value, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
    • 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

      public int setAces(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)
    • setChunkSize

      public int setChunkSize(String path, long val, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo)
    • mountVolume

      public int mountVolume(String volName, String mountPath, String username, com.mapr.fs.jni.MapRUserInfo userInfo, int mode)
    • unmountVolume

      public int unmountVolume(String volName, String mountPath, String username, int pCid, int pCinum, int pUniq, com.mapr.fs.jni.MapRUserInfo userInfo)
    • NewFidPath

      public int NewFidPath(String username, int pCid, int pCinum, int pUniq, com.mapr.fs.jni.MapRUserInfo userInfo, String path, boolean forceUpdate)
    • getMountPath

      public String getMountPath(String username, int pCid, int pCinum, int pUniq, com.mapr.fs.jni.MapRUserInfo userInfo, boolean useCache, boolean skipFSCall)
    • getVolumeNameCached

      public String getVolumeNameCached(int volId, com.mapr.fs.jni.MapRUserInfo userInfo)
    • getVolumeName

      public String getVolumeName(int volId, com.mapr.fs.jni.MapRUserInfo userInfo)
    • createSnapshot

      public int createSnapshot(String volName, int volId, int rootCid, String snapshotName, boolean mirrorSnapshot, long expirationTime, String username, com.mapr.fs.jni.MapRUserInfo userInfo)
    • createSnapshotLite

      public int createSnapshotLite(String volName, int volId, int rootCid, String snapshotName, boolean mirrorSnapshot, long expirationTime, String username, com.mapr.fs.jni.MapRUserInfo userInfo, long clusterOps)
    • createVolLink

      public int createVolLink(String volName, String volLink, boolean writeable, boolean hidden, com.mapr.fs.jni.MapRUserInfo userInfo)
    • deleteVolLink

      public int deleteVolLink(String volLink, com.mapr.fs.jni.MapRUserInfo userInfo)
    • getModeBits

      public static int getModeBits(org.apache.hadoop.fs.permission.FsPermission permission, org.apache.hadoop.conf.Configuration conf)
    • clearQueryServiceParam

      public void clearQueryServiceParam() throws IOException, InterruptedException
      Throws:
      IOException
      InterruptedException
    • setQueryServiceParam

      public void setQueryServiceParam(QueryServiceParam qsp) throws IOException, InterruptedException
      Throws:
      IOException
      InterruptedException
    • getQueryServiceParam

      public QueryServiceParam getQueryServiceParam() throws IOException, InterruptedException
      Throws:
      IOException
      InterruptedException
    • getZkConnectString

      public String getZkConnectString()
    • getJobTrackerAddrs

      public InetSocketAddress[] getJobTrackerAddrs() throws IOException
      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

      public String ToCommaSeparatedString(Collection<String> namesList)
    • 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

      public 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)
    • removeS3bucket

      public byte[] removeS3bucket(String bucketName, com.mapr.fs.jni.MapRConstants.ErrorValue err, com.mapr.fs.jni.MapRUserInfo userInfo, String domainName)
    • fetchGNSClusters

      public byte[] fetchGNSClusters()