Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21203

TestZKMainServer#testCommandLineWorks won't pass with default 4lw whitelist

    XMLWordPrintableJSON

Details

    Description

      Recent versions of ZooKeeper whitelist the so-called 4-letter word admin commands, and 'stat' is not in the default whitelist, so TestZKMainServer#testCommandLineWorks cannot get off the ground.. Set system property zookeeper.4lw.commands.whitelist=* in MiniZooKeeperCluster#setupTestEnv as we do not need to whitelist 4-letter commands for unit tests.

      Attachments

        1. HBASE-21203.patch
          1 kB
          Andrew Kyle Purtell

        Activity

          People

            apurtell Andrew Kyle Purtell
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: