You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2012/04/25 02:30:06 UTC

[jira] [Created] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Jean-Daniel Cryans created HBASE-5871:
-----------------------------------------

             Summary: Usability regression, we don't parse compression algos anymore
                 Key: HBASE-5871
                 URL: https://issues.apache.org/jira/browse/HBASE-5871
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.92.1
            Reporter: Jean-Daniel Cryans
            Priority: Critical
             Fix For: 0.92.2, 0.94.0, 0.96.0


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:

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

You'll get:

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

Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Posted by "Lars Hofhansl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261180#comment-13261180 ] 

Lars Hofhansl commented on HBASE-5871:
--------------------------------------

Use LZO? I think you always had to match the case, no?
                
> Usability regression, we don't parse compression algos anymore
> --------------------------------------------------------------
>
>                 Key: HBASE-5871
>                 URL: https://issues.apache.org/jira/browse/HBASE-5871
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Jean-Daniel Cryans
>            Priority: Critical
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>
> 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:
> bq. create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> You'll get:
> bq. ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo
> Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Posted by "Lars Hofhansl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl reassigned HBASE-5871:
------------------------------------

    Assignee: Lars Hofhansl
    
> Usability regression, we don't parse compression algos anymore
> --------------------------------------------------------------
>
>                 Key: HBASE-5871
>                 URL: https://issues.apache.org/jira/browse/HBASE-5871
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: Lars Hofhansl
>            Priority: Critical
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: 5871-0.92.txt, 5871-0.94.txt, 5871-trunk.txt
>
>
> 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:
> bq. create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> You'll get:
> bq. ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo
> Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261474#comment-13261474 ] 

Hudson commented on HBASE-5871:
-------------------------------

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

                
> Usability regression, we don't parse compression algos anymore
> --------------------------------------------------------------
>
>                 Key: HBASE-5871
>                 URL: https://issues.apache.org/jira/browse/HBASE-5871
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: Lars Hofhansl
>            Priority: Critical
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: 5871-0.92.txt, 5871-0.94.txt, 5871-trunk.txt
>
>
> 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:
> bq. create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> You'll get:
> bq. ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo
> Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268873#comment-13268873 ] 

Hudson commented on HBASE-5871:
-------------------------------

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

                
> Usability regression, we don't parse compression algos anymore
> --------------------------------------------------------------
>
>                 Key: HBASE-5871
>                 URL: https://issues.apache.org/jira/browse/HBASE-5871
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: Lars Hofhansl
>            Priority: Critical
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: 5871-0.92.txt, 5871-0.94.txt, 5871-trunk.txt
>
>
> 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:
> bq. create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> You'll get:
> bq. ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo
> Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261422#comment-13261422 ] 

Hudson commented on HBASE-5871:
-------------------------------

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

                
> Usability regression, we don't parse compression algos anymore
> --------------------------------------------------------------
>
>                 Key: HBASE-5871
>                 URL: https://issues.apache.org/jira/browse/HBASE-5871
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: Lars Hofhansl
>            Priority: Critical
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: 5871-0.92.txt, 5871-0.94.txt, 5871-trunk.txt
>
>
> 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:
> bq. create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> You'll get:
> bq. ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo
> Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261420#comment-13261420 ] 

Hudson commented on HBASE-5871:
-------------------------------

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

                
> Usability regression, we don't parse compression algos anymore
> --------------------------------------------------------------
>
>                 Key: HBASE-5871
>                 URL: https://issues.apache.org/jira/browse/HBASE-5871
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: Lars Hofhansl
>            Priority: Critical
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: 5871-0.92.txt, 5871-0.94.txt, 5871-trunk.txt
>
>
> 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:
> bq. create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> You'll get:
> bq. ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo
> Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261185#comment-13261185 ] 

Jean-Daniel Cryans commented on HBASE-5871:
-------------------------------------------

No.
                
> Usability regression, we don't parse compression algos anymore
> --------------------------------------------------------------
>
>                 Key: HBASE-5871
>                 URL: https://issues.apache.org/jira/browse/HBASE-5871
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Jean-Daniel Cryans
>            Priority: Critical
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>
> 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:
> bq. create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> You'll get:
> bq. ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo
> Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Posted by "Lars Hofhansl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl updated HBASE-5871:
---------------------------------

    Attachment: 5871-trunk.txt
                5871-0.94.txt
                5871-0.92.txt

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.
                
> Usability regression, we don't parse compression algos anymore
> --------------------------------------------------------------
>
>                 Key: HBASE-5871
>                 URL: https://issues.apache.org/jira/browse/HBASE-5871
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Jean-Daniel Cryans
>            Priority: Critical
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: 5871-0.92.txt, 5871-0.94.txt, 5871-trunk.txt
>
>
> 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:
> bq. create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> You'll get:
> bq. ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo
> Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261895#comment-13261895 ] 

Hudson commented on HBASE-5871:
-------------------------------

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

                
> Usability regression, we don't parse compression algos anymore
> --------------------------------------------------------------
>
>                 Key: HBASE-5871
>                 URL: https://issues.apache.org/jira/browse/HBASE-5871
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: Lars Hofhansl
>            Priority: Critical
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: 5871-0.92.txt, 5871-0.94.txt, 5871-trunk.txt
>
>
> 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:
> bq. create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> You'll get:
> bq. ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo
> Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262273#comment-13262273 ] 

Hudson commented on HBASE-5871:
-------------------------------

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

                
> Usability regression, we don't parse compression algos anymore
> --------------------------------------------------------------
>
>                 Key: HBASE-5871
>                 URL: https://issues.apache.org/jira/browse/HBASE-5871
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: Lars Hofhansl
>            Priority: Critical
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: 5871-0.92.txt, 5871-0.94.txt, 5871-trunk.txt
>
>
> 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:
> bq. create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> You'll get:
> bq. ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo
> Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261313#comment-13261313 ] 

stack commented on HBASE-5871:
------------------------------

+1 if it works
                
> Usability regression, we don't parse compression algos anymore
> --------------------------------------------------------------
>
>                 Key: HBASE-5871
>                 URL: https://issues.apache.org/jira/browse/HBASE-5871
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: Lars Hofhansl
>            Priority: Critical
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: 5871-0.92.txt, 5871-0.94.txt, 5871-trunk.txt
>
>
> 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:
> bq. create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> You'll get:
> bq. ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo
> Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HBASE-5871) Usability regression, we don't parse compression algos anymore

Posted by "Lars Hofhansl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl resolved HBASE-5871.
----------------------------------

    Resolution: Fixed

Committed to 0.92, 0.94, 0.96.
                
> Usability regression, we don't parse compression algos anymore
> --------------------------------------------------------------
>
>                 Key: HBASE-5871
>                 URL: https://issues.apache.org/jira/browse/HBASE-5871
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: Lars Hofhansl
>            Priority: Critical
>             Fix For: 0.92.2, 0.94.0, 0.96.0
>
>         Attachments: 5871-0.92.txt, 5871-0.94.txt, 5871-trunk.txt
>
>
> 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:
> bq. create 'mytable', {NAME=>'colfam:', COMPRESSION=>'lzo'}
> You'll get:
> bq. ERROR: java.lang.IllegalArgumentException: No enum const class org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.lzo
> Bad for usability.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira