Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6134 Transparent data at rest encryption
  3. HDFS-6814

Mistakenly dfs.namenode.list.encryption.zones.num.responses configured as boolean

    Details

    • Hadoop Flags:
      Reviewed

      Description

      <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>
      

      default value should be 100. Should be same as

      public static final int    DFS_NAMENODE_LIST_ENCRYPTION_ZONES_NUM_RESPONSES_DEFAULT = 100;
      1. HDFS-6814.patch
        0.7 kB
        Uma Maheswara Rao G

        Issue Links

          Activity

          Hide
          Uma Maheswara Rao G added a comment -

          I have committed this to branch.

          Show
          Uma Maheswara Rao G added a comment - I have committed this to branch.
          Hide
          Vinayakumar B added a comment -

          +1, lgtm

          Show
          Vinayakumar B added a comment - +1, lgtm
          Hide
          Uma Maheswara Rao G added a comment -

          Attached simple patch.

          Show
          Uma Maheswara Rao G added a comment - Attached simple patch.
          Hide
          Uma Maheswara Rao G added a comment - - edited

          Noticed while running TestDistributedFileSystem,

          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)
          
          
          Show
          Uma Maheswara Rao G added a comment - - edited Noticed while running TestDistributedFileSystem, 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)

            People

            • Assignee:
              Uma Maheswara Rao G
              Reporter:
              Uma Maheswara Rao G
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development