| <?xml version="1.0" encoding="UTF-8"?> |
| <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- Put site-specific property overrides in this file. --> |
| |
| <configuration> |
| <property> |
| <name>dfs.replication</name> |
| <value>1</value> |
| </property> |
| |
| <property> |
| <name>dfs.namenode.name.dir</name> |
| <value>file:///home/stevel/hdfs/namenode</value> |
| </property> |
| |
| |
| <property> |
| <name>dfs.datanode.data.dir</name> |
| <value>file:///home/stevel/hdfs/datanode</value> |
| </property> |
| |
| <!-- General HDFS security config --> |
| <property> |
| <name>dfs.block.access.token.enable</name> |
| <value>true</value> |
| </property> |
| |
| <!-- NN --> |
| <property> |
| <name>dfs.namenode.keytab.file</name> |
| <value>/home/stevel/conf/hdfs.keytab</value> |
| </property> |
| <property> |
| <name>dfs.namenode.kerberos.principal</name> |
| <value>hdfs/ubuntu@COTHAM</value> |
| </property> |
| <property> |
| <name>dfs.web.authentication.kerberos.principal</name> |
| <value>HTTP/ubuntu@COTHAM</value> |
| </property> |
| |
| |
| <property> |
| <name>dfs.webhdfs.enabled</name> |
| <value>false</value> |
| </property> |
| |
| <property> |
| <name>dfs.namenode.kerberos.internal.spnego.principal</name> |
| <value>HTTP/ubuntu@COTHAM</value> |
| </property> |
| |
| <!-- DataNode security config --> |
| <property> |
| <name>dfs.datanode.data.dir.perm</name> |
| <value>700</value> |
| </property> |
| <property> |
| <name>dfs.datanode.keytab.file</name> |
| <value>/home/stevel/conf/hdfs.keytab</value> |
| </property> |
| <property> |
| <name>dfs.datanode.kerberos.principal</name> |
| <value>hdfs/ubuntu@COTHAM</value> |
| </property> |
| </configuration> |