Uses of Class
org.apache.hadoop.hbase.rest.client.Cluster
-
Uses of Cluster in org.apache.hadoop.hbase.rest.client
Modifier and TypeMethodDescriptionAdd a node to the clusterAdd a node to the clusterClient.getCluster()
Returns the cluster definitionRemove a node from the clusterRemove a node from the clusterModifier and TypeMethodDescriptionSend a DELETE requestSend a DELETE requestorg.apache.http.HttpResponse
Client.execute
(Cluster cluster, org.apache.http.client.methods.HttpUriRequest method, org.apache.http.Header[] headers, String path) Execute a transaction method.org.apache.http.HttpResponse
Client.executePathOnly
(Cluster cluster, org.apache.http.client.methods.HttpUriRequest method, org.apache.http.Header[] headers, String path) Execute a transaction method given only the path.Send a GET requestSend a GET requestSend a GET requestSend a HEAD requestprivate void
Client.initialize
(Cluster cluster, org.apache.hadoop.conf.Configuration conf, boolean sslEnabled, boolean sticky, Optional<KeyStore> trustStore, Optional<String> userName, Optional<String> password, Optional<String> bearerToken, Optional<org.apache.http.conn.HttpClientConnectionManager> connManager) Send a POST requestClient.post
(Cluster cluster, String path, String contentType, byte[] content, org.apache.http.Header extraHdr) Send a POST requestSend a POST requestSend a PUT requestClient.put
(Cluster cluster, String path, String contentType, byte[] content, org.apache.http.Header extraHdr) Send a PUT requestSend a PUT requestvoid
Client.setCluster
(Cluster cluster) ModifierConstructorDescriptionConstructor This constructor will create an object using the old faulty load balancing logic.Constructor This constructor will create an object using the old faulty load balancing logic.Client
(Cluster cluster, String trustStorePath, Optional<String> trustStorePassword, Optional<String> trustStoreType) Constructor, allowing to define custom trust store (only for SSL connections) This constructor will create an object using the old faulty load balancing logic.Constructor This constructor will create an object using the old faulty load balancing logic.Client
(Cluster cluster, org.apache.hadoop.conf.Configuration conf, boolean sslEnabled, Optional<KeyStore> trustStore, Optional<String> userName, Optional<String> password, Optional<String> bearerToken) Client
(Cluster cluster, org.apache.hadoop.conf.Configuration conf, boolean sslEnabled, Optional<KeyStore> trustStore, Optional<String> userName, Optional<String> password, Optional<String> bearerToken, Optional<org.apache.http.conn.HttpClientConnectionManager> connManager) Constructor that accepts an optional trustStore and authentication information for either BASIC or BEARER authentication in sticky mode, which does not use the old faulty load balancing logic, and enables correct session handling.Client
(Cluster cluster, org.apache.hadoop.conf.Configuration conf, String trustStorePath, Optional<String> trustStorePassword, Optional<String> trustStoreType) Constructor, allowing to define custom trust store (only for SSL connections).