HBase
  1. HBase
  2. HBASE-5871

Usability regression, we don't parse compression algos anymore

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.92.1
    • Fix Version/s: 0.92.2, 0.94.0, 0.95.0
    • Component/s: None
    • Labels:
      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.

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

        Activity

        Hide
        Lars Hofhansl added a comment -

        Use LZO? I think you always had to match the case, no?

        Show
        Lars Hofhansl added a comment - Use LZO? I think you always had to match the case, no?
        Hide
        Jean-Daniel Cryans added a comment -

        No.

        Show
        Jean-Daniel Cryans added a comment - No.
        Hide
        Lars Hofhansl added a comment -

        Indeed in 0.92+ somebody added a superfluous call to setCompression, which causes this problem.

        Simple patches for 0.92, 0.94, and 0.96, removing that. Works fine now.

        Show
        Lars Hofhansl added a comment - Indeed in 0.92+ somebody added a superfluous call to setCompression, which causes this problem. Simple patches for 0.92, 0.94, and 0.96, removing that. Works fine now.
        Hide
        stack added a comment -

        +1 if it works

        Show
        stack added a comment - +1 if it works
        Hide
        Lars Hofhansl added a comment -

        Committed to 0.92, 0.94, 0.96.

        Show
        Lars Hofhansl added a comment - Committed to 0.92, 0.94, 0.96.
        Hide
        Hudson added a comment -

        Integrated in HBase-TRUNK #2811 (See https://builds.apache.org/job/HBase-TRUNK/2811/)
        HBASE-5871 Usability regression, we don't parse compression algos anymore (Revision 1330123)

        Result = FAILURE
        larsh :
        Files :

        • /hbase/trunk/src/main/ruby/hbase/admin.rb
        Show
        Hudson added a comment - Integrated in HBase-TRUNK #2811 (See https://builds.apache.org/job/HBase-TRUNK/2811/ ) HBASE-5871 Usability regression, we don't parse compression algos anymore (Revision 1330123) Result = FAILURE larsh : Files : /hbase/trunk/src/main/ruby/hbase/admin.rb
        Hide
        Hudson added a comment -

        Integrated in HBase-0.94 #148 (See https://builds.apache.org/job/HBase-0.94/148/)
        HBASE-5871 Usability regression, we don't parse compression algos anymore (Revision 1330124)

        Result = SUCCESS
        larsh :
        Files :

        • /hbase/branches/0.94/src/main/ruby/hbase/admin.rb
        Show
        Hudson added a comment - Integrated in HBase-0.94 #148 (See https://builds.apache.org/job/HBase-0.94/148/ ) HBASE-5871 Usability regression, we don't parse compression algos anymore (Revision 1330124) Result = SUCCESS larsh : Files : /hbase/branches/0.94/src/main/ruby/hbase/admin.rb
        Hide
        Hudson added a comment -

        Integrated in HBase-0.92 #390 (See https://builds.apache.org/job/HBase-0.92/390/)
        HBASE-5871 Usability regression, we don't parse compression algos anymore (Revision 1330122)

        Result = FAILURE
        larsh :
        Files :

        • /hbase/branches/0.92/CHANGES.txt
        • /hbase/branches/0.92/src/main/ruby/hbase/admin.rb
        Show
        Hudson added a comment - Integrated in HBase-0.92 #390 (See https://builds.apache.org/job/HBase-0.92/390/ ) HBASE-5871 Usability regression, we don't parse compression algos anymore (Revision 1330122) Result = FAILURE larsh : Files : /hbase/branches/0.92/CHANGES.txt /hbase/branches/0.92/src/main/ruby/hbase/admin.rb
        Hide
        Hudson added a comment -

        Integrated in HBase-0.94-security #21 (See https://builds.apache.org/job/HBase-0.94-security/21/)
        HBASE-5871 Usability regression, we don't parse compression algos anymore (Revision 1330124)

        Result = FAILURE
        larsh :
        Files :

        • /hbase/branches/0.94/src/main/ruby/hbase/admin.rb
        Show
        Hudson added a comment - Integrated in HBase-0.94-security #21 (See https://builds.apache.org/job/HBase-0.94-security/21/ ) HBASE-5871 Usability regression, we don't parse compression algos anymore (Revision 1330124) Result = FAILURE larsh : Files : /hbase/branches/0.94/src/main/ruby/hbase/admin.rb
        Hide
        Hudson added a comment -

        Integrated in HBase-TRUNK-security #184 (See https://builds.apache.org/job/HBase-TRUNK-security/184/)
        HBASE-5871 Usability regression, we don't parse compression algos anymore (Revision 1330123)

        Result = FAILURE
        larsh :
        Files :

        • /hbase/trunk/src/main/ruby/hbase/admin.rb
        Show
        Hudson added a comment - Integrated in HBase-TRUNK-security #184 (See https://builds.apache.org/job/HBase-TRUNK-security/184/ ) HBASE-5871 Usability regression, we don't parse compression algos anymore (Revision 1330123) Result = FAILURE larsh : Files : /hbase/trunk/src/main/ruby/hbase/admin.rb
        Hide
        Hudson added a comment -

        Integrated in HBase-0.92-security #106 (See https://builds.apache.org/job/HBase-0.92-security/106/)
        HBASE-5871 Usability regression, we don't parse compression algos anymore (Revision 1330122)

        Result = SUCCESS
        larsh :
        Files :

        • /hbase/branches/0.92/CHANGES.txt
        • /hbase/branches/0.92/src/main/ruby/hbase/admin.rb
        Show
        Hudson added a comment - Integrated in HBase-0.92-security #106 (See https://builds.apache.org/job/HBase-0.92-security/106/ ) HBASE-5871 Usability regression, we don't parse compression algos anymore (Revision 1330122) Result = SUCCESS larsh : Files : /hbase/branches/0.92/CHANGES.txt /hbase/branches/0.92/src/main/ruby/hbase/admin.rb

          People

          • Assignee:
            Lars Hofhansl
            Reporter:
            Jean-Daniel Cryans
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development