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

Fail to config COMPACTION_ENABLED by hbase shell

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.2
    • Fix Version/s: 1.3.3, 1.2.7
    • Component/s: shell
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      HBASE-19340 backported the missing option from 1.4+ to 1.3 and 1.2. However, we made a mistaken to COMPACTION_ENABLED.

      htd.setCompactionEnabled(JBoolean.valueOf(arg.delete[COMPACTION_ENABLED])) if arg[COMPACTION_ENABLED]

      arg.delete[COMPACTION_ENABLED] should be changed to arg.delete(COMPACTION_ENABLED)

        Attachments

        1. HBASE-20575-branch-1.2.patch
          2 kB
          Mingdao Yang
        2. HBASE-20575-branch-1.2.v1.patch
          4 kB
          Mingdao Yang
        3. HBASE-20575-branch-1.2.v2.patch
          1 kB
          Mingdao Yang
        4. HBASE-20575-branch-1.2.v3.patch
          4 kB
          Mingdao Yang
        5. HBASE-20575-branch-1.2.v4.patch
          4 kB
          Mingdao Yang

          Issue Links

            Activity

              People

              • Assignee:
                mingdaoy Mingdao Yang
                Reporter:
                chia7712 Chia-Ping Tsai
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: