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

EC: Fix verifyClusterSetup output in case of an invalid param

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • ec
    • None

    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

        Activity

          People

            Unassigned Unassigned
            ayushtkn Ayush Saxena
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: