You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2008/07/22 20:45:31 UTC

[jira] Updated: (HBASE-760) brittle/broken HCD create handling in HBase.rb

     [ https://issues.apache.org/jira/browse/HBASE-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-760:
---------------------------------

    Attachment: HBase.rb.patch

Fix attached. 

> brittle/broken HCD create handling in HBase.rb
> ----------------------------------------------
>
>                 Key: HBASE-760
>                 URL: https://issues.apache.org/jira/browse/HBASE-760
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.2.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>         Attachments: HBase.rb.patch
>
>
> HCD creation in HBase.rb was brittle and nonfunctional. 
> [hadoop@sjdc-atr-dns tmp]$ hbase shell --master=10.30.94.1:60000
> (eval):1 warning: already initialized constant MEMCACHE_FLUSHSIZE
> (eval):1 warning: already initialized constant IN_MEMORY
> (eval):1 warning: already initialized constant VERSIONS
> HBase Shell; enter 'help<RETURN>' for list of supported commands.
> Version: 0.2.0-dev, r678650, Tue Jul 22 06:15:47 UTC 2008
> hbase(main):001:0> create 'content', {NAME => 'url', VERSIONS => 1, TTL => 2592000}, {NAME => 'info', VERSIONS => 1, TTL => 2592000, BLOCKCACHE => 'true'}, {NAME => 'content', VERSIONS => 1, COMPRESSION => 'RECORD', TTL => 2592000,BLOCKCACHE => 'true' }
> NameError: no constructor with arguments matching [class [B, class java.lang.Long, class org.apache.hadoop.hbase.HColumnDescriptor$CompressionType, class java.l
> ang.Boolean, class java.lang.String, class java.lang.Long, class java.lang.Long,
>  class java.lang.Boolean] on object JavaUtilities
>         from file:/opt/hadoop-0.17.1/contrib/hbase/lib/jruby-complete-1.1.2.jar!
> /builtin/javasupport/proxy/concrete.rb:23:in `__jcreate!'
>         from file:/opt/hadoop-0.17.1/contrib/hbase/lib/jruby-complete-1.1.2.jar!
> /builtin/javasupport/proxy/concrete.rb:23:in `initialize'
>         from file:/opt/hadoop-0.17.1/contrib/hbase/lib/jruby-complete-1.1.2.jar!
> /builtin/javasupport/proxy/concrete.rb:6:in `new'
>         from file:/opt/hadoop-0.17.1/contrib/hbase/lib/jruby-complete-1.1.2.jar!
> /builtin/javasupport/proxy/concrete.rb:6:in `new'
>         from /opt/hadoop/contrib/hbase/bin/../bin/HBase.rb:156:in `hcd'
>         from /opt/hadoop/contrib/hbase/bin/../bin/HBase.rb:112:in `create'
>         from /opt/hadoop/contrib/hbase/bin/../bin/HBase.rb:106:in `each'
>         from /opt/hadoop/contrib/hbase/bin/../bin/HBase.rb:106:in `create'
>         from /opt/hadoop/contrib/hbase/bin/../bin/hirb.rb:223:in `create'
>         from wtp.create.rb:3:in `binding'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.