Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-17056

EC: Fix verifyClusterSetup output in case of an invalid param.

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      bin/hdfs ec  -verifyClusterSetup XOR-2-1-1024k        
      9 DataNodes are required for the erasure coding policies: RS-6-3-1024k, XOR-2-1-1024k. The number of DataNodes is only 3. 

      verifyClusterSetup requires -policy then the name of policies, else it defaults to all enabled policies.

      In case there are additional invalid options it silently ignores them, unlike other EC commands which throws out Too Many Argument exception.

      Attachments

        Issue Links

          Activity

            People

              huangzhaobo99 Zhaobo Huang
              ayushtkn Ayush Saxena
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: