All Downloads are FREE. Search and download functionalities are using the official Maven repository.

docker.presto-product-tests.conf.environment.singlenode-kerberos-hdfs-impersonation-with-wire-encryption.hdfs-site.xml Maven / Gradle / Ivy

There is a newer version: 458
Show newest version
<?xml version="1.0"?>
<configuration>

    <property>
        <name>dfs.namenode.name.dir</name>
        <value>/var/lib/hadoop-hdfs/cache/name/</value>
    </property>

    <property>
        <name>dfs.datanode.data.dir</name>
        <value>/var/lib/hadoop-hdfs/cache/data/</value>
    </property>

    <!-- General HDFS security config -->
    <property>
        <name>dfs.block.access.token.enable</name>
        <value>true</value>
    </property>

    <!-- NameNode security config -->
    <property>
        <name>dfs.namenode.keytab.file</name>
        <value>/etc/hadoop/conf/hdfs.keytab</value> <!-- path to the HDFS keytab -->
    </property>
    <property>
        <name>dfs.namenode.kerberos.principal</name>
        <value>hdfs/[email protected]</value>
    </property>
    <property>
        <name>dfs.namenode.kerberos.internal.spnego.principal</name>
        <value>HTTP/[email protected]</value>
    </property>

    <!-- Secondary NameNode security config -->
    <property>
        <name>dfs.secondary.namenode.keytab.file</name>
        <value>/etc/hadoop/conf/hdfs.keytab</value> <!-- path to the HDFS keytab -->
    </property>
    <property>
        <name>dfs.secondary.namenode.kerberos.principal</name>
        <value>hdfs/[email protected]</value>
    </property>
    <property>
        <name>dfs.secondary.namenode.kerberos.internal.spnego.principal</name>
        <value>HTTP/[email protected]</value>
    </property>

    <!-- DataNode security config -->
    <property>
        <name>dfs.datanode.keytab.file</name>
        <value>/etc/hadoop/conf/hdfs.keytab</value> <!-- path to the HDFS keytab -->
    </property>
    <property>
        <name>dfs.datanode.kerberos.principal</name>
        <value>hdfs/[email protected]</value>
    </property>

    <!-- WebHDFS security config -->
    <property>
        <name>dfs.webhdfs.enabled</name>
        <value>true</value>
    </property>

    <!-- Web Authentication config -->
    <property>
        <name>dfs.web.authentication.kerberos.principal</name>
        <value>HTTP/[email protected]</value>
    </property>

    <property>
        <name>dfs.web.authentication.kerberos.keytab</name>
        <value>/etc/hadoop/conf/HTTP.keytab</value> <!-- path to the HTTP keytab -->
    </property>

    <property>
        <name>ignore.secure.ports.for.testing</name>
        <value>true</value>
    </property>

    <property>
        <name>dfs.http.policy</name>
        <value>HTTP_ONLY</value>
    </property>

    <property>
        <name>dfs.encrypt.data.transfer</name>
        <value>true</value>
    </property>
</configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy