HDFS-6055. Merging change r1576095 from trunk to branch-2.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1576098 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9fcbd9413f
commit
946db612ed
|
@ -146,6 +146,9 @@ Release 2.4.0 - UNRELEASED
|
||||||
|
|
||||||
HDFS-6070. Cleanup use of ReadStatistics in DFSInputStream. (wang)
|
HDFS-6070. Cleanup use of ReadStatistics in DFSInputStream. (wang)
|
||||||
|
|
||||||
|
HDFS-6055. Change default configuration to limit file name length in HDFS.
|
||||||
|
(cnauroth)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-5790. LeaseManager.findPath is very slow when many leases need recovery
|
HDFS-5790. LeaseManager.findPath is very slow when many leases need recovery
|
||||||
|
|
|
@ -281,9 +281,9 @@
|
||||||
|
|
||||||
<property>
|
<property>
|
||||||
<name>dfs.namenode.fs-limits.max-component-length</name>
|
<name>dfs.namenode.fs-limits.max-component-length</name>
|
||||||
<value>0</value>
|
<value>255</value>
|
||||||
<description>Defines the maximum number of characters in each component
|
<description>Defines the maximum number of bytes in UTF-8 encoding in each
|
||||||
of a path. A value of 0 will disable the check.</description>
|
component of a path. A value of 0 will disable the check.</description>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
<property>
|
<property>
|
||||||
|
|
|
@ -88,6 +88,7 @@ abstract public class TestSymlinkHdfs extends SymlinkBaseTest {
|
||||||
Configuration conf = new HdfsConfiguration();
|
Configuration conf = new HdfsConfiguration();
|
||||||
conf.setBoolean(DFSConfigKeys.DFS_WEBHDFS_ENABLED_KEY, true);
|
conf.setBoolean(DFSConfigKeys.DFS_WEBHDFS_ENABLED_KEY, true);
|
||||||
conf.set(FsPermission.UMASK_LABEL, "000");
|
conf.set(FsPermission.UMASK_LABEL, "000");
|
||||||
|
conf.setInt(DFSConfigKeys.DFS_NAMENODE_MAX_COMPONENT_LENGTH_KEY, 0);
|
||||||
cluster = new MiniDFSCluster.Builder(conf).build();
|
cluster = new MiniDFSCluster.Builder(conf).build();
|
||||||
webhdfs = WebHdfsTestUtil.getWebHdfsFileSystem(conf, WebHdfsFileSystem.SCHEME);
|
webhdfs = WebHdfsTestUtil.getWebHdfsFileSystem(conf, WebHdfsFileSystem.SCHEME);
|
||||||
dfs = cluster.getFileSystem();
|
dfs = cluster.getFileSystem();
|
||||||
|
|
Loading…
Reference in New Issue