Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. Infacmd bg Command Reference
  10. infacmd cms Command Reference
  11. infacmd dis Command Reference
  12. Infacmd es Command Reference
  13. infacmd ihs Command Reference
  14. infacmd ipc Command Reference
  15. infacmd isp Command Reference
  16. infacmd ldm Command Reference
  17. infacmd mrs Command Reference
  18. infacmd ms Command Reference
  19. infacmd oie Command Reference
  20. infacmd ps Command Reference
  21. infacmd pwx Command Reference
  22. infacmd rms Command Reference
  23. infacmd rtm Command Reference
  24. infacmd sch Command Reference
  25. infacmd search Command Reference
  26. infacmd sql Command Reference
  27. infacmd tdm Command Reference
  28. infacmd wfs Command Reference
  29. infacmd ws Command Reference
  30. infacmd xrf Command Reference
  31. infacmd Control Files
  32. infasetup Command Reference
  33. pmcmd Command Reference
  34. pmrep Command Reference
  35. Working with pmrep Files

HBase Connection Options

HBase Connection Options

Use connection options to define an HBase connection. You can use an HBase connection to connect to an HBase table or a MapR-DB table.
Enter connection options in the following format:
... -o option_name=value option_name=value ...
To enter multiple options, separate them with a space. To enter a value that contains a space or other non-alphanumeric character, enclose the value in quotation marks.
The following table describes the HBase connection options for infacmd isp CreateConnection and UpdateConnection commands:
Option
Description
DATABASETYPE
Required when you create an HBase connection for a MapR-DB table. Set the value to MapR-DB. Default is HBase.
ZOOKEEPERHOSTS
Required. Name of the machine that hosts the ZooKeeper server.
When the ZooKeeper runs in the replicated mode, specify a comma-separated list of servers in the ZooKeeper quorum servers. If the TCP connection to the server breaks, the client connects to a different server in the quorum.
ZOOKEEPERPORT
Required. Port number of the machine that hosts the ZooKeeper server.
Default value of Zookeeper client port is 2181.
Default value of MapR distribution is 5181.
ISKERBEROSENABLED
Required. If you use the HBase connection to connect to an HBase table and want to enable Kerberos, set the value to true. If you use the HBase connection to connect to a MapR-DB table, you must set the value to false. Enclose the value in single quotes.
hbaseMasterPrincipal
Required if you set the value of ISKERBEROSENABLED to true. Specify the Service Principal Name (SPN) of the HBase master server. Enables the ZooKeeper server to communicate with an HBase master server that uses Kerberos authentication.
Enter a string in the following format:
hbase/<domain.name>@<YOUR-REALM>
Where:
  • domain.name is the domain name of the machine that hosts the HBase master server.
  • YOUR-REALM is the Kerberos realm.
hbaseRegionServerPrincipal
Required if you set the value of ISKERBEROSENABLED to true. Specify the Service Principal Name (SPN) of the HBase region server. Enables the ZooKeeper server to communicate with an HBase region server that uses Kerberos authentication.
Enter a string in the following format:
hbase_rs/<domain.name>@<YOUR-REALM>
Where:
  • domain.name is the domain name of the machine that hosts the HBase master server.
  • YOUR-REALM is the Kerberos realm.
maprdbpath
Required if you create an HBase connection to connect to a MapR-DB table.
Set the value to the database path that contains the MapR-DB table that you want to connect to. Enter a valid MapR cluster path. Enclose the value in single quotes.
When you create an HBase data object for MapR-DB, you can browse only tables that exist in the path that you specify in this option. You cannot access tables that are available in sub-directories in the specified path.
For example, if you specify the maprdbpath as
/user/customers/
, you can access the tables in the
customers
directory. However, if the
customers
directory contains a sub-directory named
regions
, you cannot access the tables in the following directory:
/user/customers/regions


Updated April 22, 2019