Security Authentication for Interconnecting HBase/Phoenix with Spring Boot
Scenario
Run Spring Boot interface sample code of MRS HBase/Phoenix.
This section applies to MRS 3.3.0 or later.
Prerequisites
You have obtained the configuration file and authentication file required for running the sample project. For details, see Importing and Configuring HBase Sample Projects.
Sample Configuration
- In the IntelliJ IDEA development environment, click the springclient.properties file in the src/springboot/hbase-examples/src/main/resources directory and modify the parameters listed in Table 1 as needed:
Table 1 Configuration parameters Parameter
Definition
principal
Username created when you prepare a developer account.
user.keytab.path
Path of the user authentication file user.keytab created during developer account preparation.
krb5.conf.path
Path of the user authentication file krb5.conf created during developer account preparation.
conf.path
Path of the HBase configuration file.
zookeeper.server.principal
Principal of the ZooKeeper server, in zookeeper/hadoop.System domain name format. To obtain the system domain name, log in to FusionInsight Manager, choose System > Permission > Domain and Mutual Trust, and view the value of Local Domain.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot