[
https://issues.apache.org/jira/browse/HDFS-6814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084108#comment-14084108
]
Uma Maheswara Rao G edited comment on HDFS-6814 at 8/3/14 7:37 PM:
-------------------------------------------------------------------
Noticed while running TestDistributedFileSystem,
{noformat}
java.lang.NumberFormatException: For input string: "false"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.apache.hadoop.conf.Configuration.getInt(Configuration.java:1113)
at
org.apache.hadoop.hdfs.server.namenode.EncryptionZoneManager.<init>(EncryptionZoneManager.java:75)
at
org.apache.hadoop.hdfs.server.namenode.FSDirectory.<init>(FSDirectory.java:231)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:880)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:752)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:925)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:291)
at
org.apache.hadoop.hdfs.DFSTestUtil.formatNameNode(DFSTestUtil.java:146)
at
org.apache.hadoop.hdfs.MiniDFSCluster.createNameNodesAndSetConf(MiniDFSCluster.java:869)
at
org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:707)
at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:378)
at
org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:359)
at
org.apache.hadoop.hdfs.TestDistributedFileSystem.testGetFileBlockStorageLocationsBatching(TestDistributedFileSystem.java:674)
{noformat}
was (Author: umamaheswararao):
Attached simple patch
> Mistakenly dfs.namenode.list.encryption.zones.num.responses configured as
> boolean
> ---------------------------------------------------------------------------------
>
> Key: HDFS-6814
> URL: https://issues.apache.org/jira/browse/HDFS-6814
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: security
> Affects Versions: fs-encryption (HADOOP-10150 and HDFS-6134)
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Attachments: HDFS-6814.patch
>
>
> {code}
> <property>
> <name>dfs.namenode.list.encryption.zones.num.responses</name>
> <value>false</value>
> <description>When listing encryption zones, the maximum number of zones
> that will be returned in a batch. Fetching the list incrementally in
> batches improves namenode performance.
> </description>
> </property>
> {code}
> default value should be 100. Should be same as {code}public static final int
> DFS_NAMENODE_LIST_ENCRYPTION_ZONES_NUM_RESPONSES_DEFAULT = 100;{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)