Configure a resource-based service: HDFS
How to add an HDFS service.
On Add New Service () next to HDFS.
The Create Service page appears.
On Create Service, enter the following information:
Table 1. Service Details
The name of the service; required when configuring agents.
Display Name The name which will appear on Service Manager.
A description of the service.
Enabled or Disabled.
Select Tag Service Select a tag-based service to apply the service and its tag-based policies to HDFS. Table 2. Configuration Properties
The end system username that can be used for connection.
The password for the username entered above.
The location of the Hadoop HDFS service, as noted in the hadoop configuration file core-site.xml OR (if this is a HA environment) the path for the primary NameNode.
This field was formerly named fs.defaultFS.
Authorization involves restricting access to resources. If enabled, user need authorization credentials.
The type of authorization in use, as noted in the hadoop configuration file core-site.xml; either
Kerberos. (Required only if authorization is enabled).
This field was formerly named hadoop.security.authorization.
Maps the login credential to a username with Hadoop; use the value noted in the hadoop configuration file, core-site.xml.
The principal associated with the datanode where the service resides, as noted in the hadoop configuration file hdfs-site.xml. (Required only if Kerberos authentication is enabled).
The principal associated with the NameNode where the service resides, as noted in the hadoop configuration file hdfs-site.xml. (Required only if Kerberos authentication is enabled).
The principal associated with the secondary NameNode where the service resides, as noted in the hadoop configuration file hdfs-site.xml. (Required only if Kerberos authentication is enabled).
RPC Protection Type
Only authorised user can view, use, and contribute to a dataset. A list of protection values for secured SASL connections. Values: Authentication, Integrity, Privacy
Common Name For Certificate
The name of the certificate.
This field is interchangeably named Common Name For Certificate and Ranger Plugin SSL CName in Create Service pages.
Add New Configurations
Add any other new configuration(s).
- Click Test Connection.
- Click Add.