HPE Ezmeral Software platform
1819561 Members
2506 Online
109603 Solutions
New Discussion юеВ

Ezmeral Binary DB Access & Operation

 
Prativa
Occasional Visitor

Ezmeral Binary DB Access & Operation

Is there anywhere documentation available to understand REST API's support for Binary DB operations? Create table with REST API is possible but did not find clear documentation about other operations (similar to operations supported for JSON DB).

Also the Data Access Gateway (DAG) - is it possible for the external clients to gain access to binary DB data via DAG? Again clear documentation available for JSON db but not much clarity on binary DB.

5 REPLIES 5
support_s
System Recommended

Query: Ezmeral Binary DB Access & Operation

hiteshingole
HPE Pro

Re: Query: Ezmeral Binary DB Access & Operation

To access the the marpdb table via Rest api mapr-hbase-rest rpm needs to be installed.

Refer to below link for more details 

https://docs.ezmeral.hpe.com/datafabric-customer-managed/74/HBase/HBase.html

Once the package is installed you can make rest api call on this gateway to access the tables.

Refer to below link for more details.
https://hbase.apache.org/book.html#_rest

Example

[mapr@node3 ~]$ curl -X GET -s  -H "Accept: text/xml"  -ku mapr:maprwins@123 "https://localhost:8080/%2Fhbase%2Ft1/schema"

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><TableSchema name="/hbase/t1" IS_META="false" AUTOSPLIT="true" MAX_FILESIZE="4294967296" IS_ROOT="false" MAX_VALUE_SIZE_IN_MEM="100" MAPR_UUID="acf6c0d8-871d-a815-0e95-092811ea6600"><ColumnSchema name="fam0" BLOOMFILTER="ROW" VERSIONS="1" IN_MEMORY="false" KEEP_DELETED_CELLS="FALSE" DATA_BLOCK_ENCODING="NONE" TTL="2147483647" COMPRESSION="NONE" MIN_VERSIONS="0" BLOCKCACHE="true" BLOCKSIZE="8192" REPLICATION_SCOPE="0" compression_raw="31"/></TableSchema>

[mapr@node3 ~]$

 

Note:- The curl command has escape the '/' with %2F

I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Prativa
Occasional Visitor

Re: Query: Ezmeral Binary DB Access &amp; Operation

Thanks @hiteshingole for the quick response. In order to support HA and managing external client access, I am assuming HBASE Rest Gateway can be installed on multiple nodes and LB can be put in the front to manage the routing. Is this right?

hiteshingole
HPE Pro

Re: Query: Ezmeral Binary DB Access &amp; Operation

The HBase REST server can be installed on multiple nodes with active-active behavior. Yes, you can have a load balancer in front to distribute the incoming requests to the HBase REST servers.
 
I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
support_s
System Recommended

Query: Ezmeral Binary DB Access &amp; Operation

Hello,

 

Let us know if you were able to resolve the issue.

 

If you have no further query, and you are satisfied with the answer then kindly mark the topic as Solved so that it is helpful for all community members.

 

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".

 

Thank you for being a HPE valuable community member.


Accept or Kudo