ViPR HDFS core-site.xml property reference

Table of Contents

Back to Top

Hadoop core-site.xml properties for ViPR HDFS

When configuring the Hadoopcore-site.xml file, use this table as a reference for the properties and their related values.

Using YARN

When Kerberos is enabled with ViPR HDFS, YARN's Resource Manager (RM) and Node Manager (NM) must run as the same Kerberos principal. Here is an example of how you would set it up in the core-site.xml properties:

fs.vipr.auth.service.yarn.principal = rm/_HOST@ACME.COM fs.vipr.auth.service.yarn.keytab = /etc/security/keytab/rm.keytab yarn.nodemanager.keytab = /etc/security/keytab/rm.keytab yarn.nodemanager.principal = rm/_HOST@ACME.COM yarn.resourcemanager.keytab = /etc/security/keytab/rm.keytab yarn.resourcemanager.principal = rm/_HOST@ACME.COM

Back to Top

Sample core-site.xml for simple authentication mode

This core-site.xml is an example of ViPR HDFS properties for simple authentication mode.

core-site.xml

<property> <name>fs.viprfs.impl</name> <value>com.emc.hadoop.fs.vipr.ViPRFileSystem</value> </property> <property> <name>fs.AbstractFileSystem.viprfs.impl</name> <value>com.emc.hadoop.fs.vipr.ViPRAbstractFileSystem</value> </property> <property> <name>fs.vipr.installations</name> <value>Site1</value> </property> <property> <name>fs.vipr.installation.Site1.hosts</name> <value>203.0.113.10,203.0.113.11,203.0.113.12</value> </property> <property> <name>fs.vipr.installation.Site1.hosts.resolution</name> <value>dynamic</value> </property> <property> <name>fs.vipr.installation.Site1.hosts.resolution.dynamic.time_to_live_ms</name> <value>900000</value> </property> <property> <name>fs.defaultFS</name> <value>viprfs://mybucket.mynamespace.Site1/</value> </property> <property> <name>fs.viprfs.auth.anonymous_translation</name> <value>CURRENT_USER</value> </property> <property> <name>fs.viprfs.auth.identity_translation</name> <value>FIXED_REALM</value> </property> <property> <name>fs.viprfs.auth.realm</name> <value>MY.TEST.REALM</value> </property>