You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jm...@apache.org on 2013/05/02 15:40:52 UTC

svn commit: r1478369 - /hbase/branches/0.95/hbase-server/src/test/resources/hdfs-site.xml

Author: jmhsieh
Date: Thu May  2 13:40:51 2013
New Revision: 1478369

URL: http://svn.apache.org/r1478369
Log:
HBASE-8469 [hadoop2] Several tests break because of HDFS-4305

Added:
    hbase/branches/0.95/hbase-server/src/test/resources/hdfs-site.xml

Added: hbase/branches/0.95/hbase-server/src/test/resources/hdfs-site.xml
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-server/src/test/resources/hdfs-site.xml?rev=1478369&view=auto
==============================================================================
--- hbase/branches/0.95/hbase-server/src/test/resources/hdfs-site.xml (added)
+++ hbase/branches/0.95/hbase-server/src/test/resources/hdfs-site.xml Thu May  2 13:40:51 2013
@@ -0,0 +1,32 @@
+<?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.
+ */
+-->
+<configuration>
+
+  <!-- hadoop-2.0.5+'s HDFS-4305 by default enforces a min blocks size
+       of 1024*1024.  Many unit tests that use the hlog use smaller
+       blocks.  Setting this config to 0 to have tests pass -->
+  <property>
+    <name>dfs.namenode.fs-limits.min-block-size</name>
+    <value>0</value>
+  </property>
+</configuration>
\ No newline at end of file