hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Izaak Rubin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-734) scan '.META.', {LIMIT => 10} crashes
Date Wed, 09 Jul 2008 22:07:31 GMT

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

Izaak Rubin updated HBASE-734:
------------------------------

    Attachment: hbase-734.patch

The problem was in the documentation of the scan command, not the actual command itself. 
Scan must take in the name of the table, and may optionally take an array of columns *or*
an array of columns and scanner specifications.  Scan will not accept only a table name and
scanner specifications.  The attached patch makes this more clear in the documentation, and
gives the user a warning if they use scan with only a table name and scanner specifications.

> scan '.META.', {LIMIT => 10} crashes
> ------------------------------------
>
>                 Key: HBASE-734
>                 URL: https://issues.apache.org/jira/browse/HBASE-734
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.2.0
>            Reporter: Sebastien Rainville
>            Assignee: Izaak Rubin
>            Priority: Minor
>         Attachments: hbase-734.patch
>
>
> this command in the jruby doesn't work: scan '.META.', {LIMIT => 10}
> got this:
> hbase(main):007:0> scan '.META.', {LIMIT => 10}
> 08/07/09 16:49:08 DEBUG client.HConnectionManager$TableServers: Cache hit in table locations
for row <> and tableName .META.: location server 127.0.0.1:51708, location region name
.META.,,1
> NoMethodError: undefined method `to_java' for {"LIMIT"=>10}:Hash
> 	from /home/sebastien/projets/java/hbase-trunk/bin/../bin/HBase.rb:225:in `scan'
> 	from /home/sebastien/projets/java/hbase-trunk/bin/../bin/hirb.rb:265:in `scan'
> 	from (hbase):8:in `binding'
> hbase(main):008:0> 

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


Mime
View raw message