HPE Ezmeral Software platform
1823415 Members
2447 Online
109655 Solutions
New Discussion

MapR- Hbase: Unable to get the Namespace/List of Namespace for the Hbase Tables in MapR

 
RNF
Occasional Contributor

MapR- Hbase: Unable to get the Namespace/List of Namespace for the Hbase Tables in MapR

We are trying to get the List of Namespace in Hbase, and we figured it is not supported by MapR Is there any work around to get the NameSpace of the Table or List of Namespace in the MapR Hbase in any format (namespace.tablename or list_of_namespace or etc )?

Any guidance would be appreciated, thanks.

5 REPLIES 5
tdunning
HPE Pro

Re: MapR- Hbase: Unable to get the Namespace/List of Namespace for the Hbase Tables in MapR

 

It isn't clear whether you are asking about a table using the HBase table interface for a table in the data fabric itself or whether you are running Apache HBase on top of data fabric.

Can you clarify?

 

I work for HPE
RNF
Occasional Contributor

Re: MapR- Hbase: Unable to get the Namespace/List of Namespace for the Hbase Tables in MapR

Brief about the issue.1) We have a mapr cluster (6.1) where we have enabled HBase through MEP in MCS.
2) We have our own java application where our requirement is, we need to get the HBase Table Namespaces through Hbase java api. In mapr doc we could see listNamespaceDescriptors() API is not applicable for MapR. So we would like to know if there is any other way or workaround to get HBase Table Namespaces.Doc ref1) https://docs.datafabric.hpe.com/61/MapR-DB/supported_and_unsupported_methods_in_admin.html
2) https://community.datafabric.hpe.com/s/question/0D50L00006BItk7SAD/listnamespacedescriptors-for-a-mapr-is-unsupported

tdunning
HPE Pro

Re: MapR- Hbase: Unable to get the Namespace/List of Namespace for the Hbase Tables in MapR

Ah ... that helps a lot.

First, the HBase that is included in the MEP is very much just Apache HBase packaged with the jars that enable high performance access to the HPE Ezmeral Data Fabric. As such, anything that HBase can do should work.

This can be a bit confusing because the noSQL system that is built into the data fabric (what used to be called MapR-DB) has an API that is (mostly) compatible with HBase. It is tempting, though very inaccurate, to refer to these tables as HBase as well. These data fabric tables have higher scalability and simpler operations than Apache HBase, but they do not include all of the APIs. Most importantly, they do not allow user defined code to be included.

From what you say, it really sounds like you are running HBase itself, not using the data fabric tables. IF that is correct, then all of the methods that you are looking for should be supported.

As a quick and definitive test, what command do you use to create a table? Is it something like maprcli table create -path ...? If so, you are using fabric tables. If not, you are almost certainly using HBase.

I work for HPE
ramaizmansoor
New Member

Re: MapR- Hbase: Unable to get the Namespace/List of Namespace for the Hbase Tables in MapR

Ah.. That helps a lot.We will check it out with our application and get back to you if we need any other info.I appreciate your help so much.

RajaDhiagaraj
Occasional Visitor

Re: MapR- Hbase: Unable to get the Namespace/List of Namespace for the Hbase Tables in MapR

Hey Team,
The solution advised is making changes to the core which might not be the best case because some of our customers might want to use maprdb in case they have features dependent on it Please let us know if there is any other workaround.