Bug#587120: hbase-bin: fails to create table with VERSIONS specified

Alexander E. Patrakov patrakov at gmail.com
Fri Jun 25 10:18:19 UTC 2010


Package: hbase-bin
Version: 0.20.4+dfsg1-1
Severity: important

In the help of hbase, I see:

hbase(main):002:0> help
HBASE SHELL COMMANDS:
<snip>
   Examples:
   hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
   hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
   hbase> # The above in shorthand would be the following:
   hbase> create 't1', 'f1', 'f2', 'f3'
   hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000, \
     BLOCKCACHE => true}
<snip>

So I try to copy-paste the first example:

hbase(main):017:0> create 't1', {NAME => 'f1', VERSIONS => 5}
TypeError: cannot convert instance of class
org.jruby.java.proxies.ConcreteJavaProxy to int

It should have created this table as instructed instead of showing me a
TypeError.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core) [in a KVM guest]
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hbase-bin depends on:
ii  libhbase-java             0.20.4+dfsg1-1 HBase (Hadoop database)
java libra

hbase-bin recommends no packages.

Versions of packages hbase-bin suggests:
pn  hbase-regionmasterd          <none>      (no description available)
ii  jruby                        1.5.0~rc3-1 100% pure-Java
implementation of R

-- no debconf information







More information about the pkg-java-maintainers mailing list