Passing the HPE Ezmeral Data Fabric Database Table Path
This topic describes the methods for passing a HPE Ezmeral Data Fabric Database table name. Binary table names can be passed by either specifying the table path in the API or by setting the table path in the core-site.xml file. JSON table names are passed by specifying the table path in the API.
Specifying the Table Path in the API
With this method, you provide the complete path to the table using the following format:
/mapr/<cluster>/<volume>/<table>
- Cluster name:
newyork
- Volume name:
vol1
- Table name:
table1
/mapr/newyork/vol1/table1
Specifying the Table Path in the core-site.xml File
With this method, you specify the table path with
hbase.table.namespace.mappings
property in the
/opt/mapr/hadoop/hadoop-2.7.0/etc/hadoop/core-site.xml file.
In the following example, all tables that you create and access via the API, will be
in the /tables_dir1
directory. If you specified the table name
table1
in the API, the full path to the table would be
/tables_dir1/table1
.
<property>
<name>hbase.table.namespace.mappings</name>
<value>*:/tables_dir1</value>
</property>