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

Usability regression, we don't parse compression algos anymore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.92.1
    • 0.92.2, 0.94.0, 0.95.0
    • None
    • None

    Description

      It seems that string with 0.92.0 we can't create tables in the shell by specifying "lzo" anymore. I remember we used to do better parsing than that, but right now if you follow the wiki doing this:

      create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}

      You'll get:

      ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo

      Bad for usability.

      Attachments

        1. 5871-0.92.txt
          1 kB
          Lars Hofhansl
        2. 5871-0.94.txt
          2 kB
          Lars Hofhansl
        3. 5871-trunk.txt
          2 kB
          Lars Hofhansl

        Activity

          People

            larsh Lars Hofhansl
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: