| <?xml version="1.0"?> |
| <?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. |
| --> |
| |
| <!-- HDFS contract options. Mirrors hadoop-hdfs's own contract/hdfs.xml. --> |
| <configuration> |
| |
| <property> |
| <name>fs.contract.test.root-tests-enabled</name> |
| <value>true</value> |
| </property> |
| |
| <property> |
| <name>fs.contract.test.random-seek-count</name> |
| <value>10</value> |
| </property> |
| |
| <property> |
| <name>fs.contract.is-case-sensitive</name> |
| <value>true</value> |
| </property> |
| |
| <property> |
| <name>fs.contract.supports-append</name> |
| <value>true</value> |
| </property> |
| |
| <property> |
| <name>fs.contract.supports-atomic-directory-delete</name> |
| <value>true</value> |
| </property> |
| |
| <property> |
| <name>fs.contract.supports-atomic-rename</name> |
| <value>true</value> |
| </property> |
| |
| <property> |
| <name>fs.contract.supports-block-locality</name> |
| <value>true</value> |
| </property> |
| |
| <property> |
| <name>fs.contract.supports-concat</name> |
| <value>true</value> |
| </property> |
| |
| <property> |
| <name>fs.contract.supports-seek</name> |
| <value>true</value> |
| </property> |
| |
| <property> |
| <name>fs.contract.rejects-seek-past-eof</name> |
| <value>true</value> |
| </property> |
| |
| <property> |
| <name>fs.contract.supports-strict-exceptions</name> |
| <value>true</value> |
| </property> |
| |
| <property> |
| <name>fs.contract.supports-unix-permissions</name> |
| <value>true</value> |
| </property> |
| |
| <property> |
| <name>fs.contract.rename-returns-false-if-source-missing</name> |
| <value>true</value> |
| </property> |
| |
| <!-- HDFSContract.createCluster() pins dfs.blocksize=1024 (TEST_FILE_LEN). |
| The namenode's default minimum block size is 1MB, which would reject |
| any file write at that block size. Lower the minimum here so the |
| cluster boots with both consistent. Picked up by HDFSContract via |
| conf.addResource(CONTRACT_HDFS_XML) before MiniDFSCluster starts. --> |
| <property> |
| <name>dfs.namenode.fs-limits.min-block-size</name> |
| <value>1024</value> |
| </property> |
| |
| </configuration> |