Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 4321 invoked from network); 19 Sep 2008 14:15:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2008 14:15:05 -0000 Received: (qmail 89344 invoked by uid 500); 19 Sep 2008 14:15:02 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 89317 invoked by uid 500); 19 Sep 2008 14:15:02 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 89296 invoked by uid 99); 19 Sep 2008 14:15:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 07:15:02 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 14:14:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4FD22234C1DE for ; Fri, 19 Sep 2008 07:14:44 -0700 (PDT) Message-ID: <1839805948.1221833684326.JavaMail.jira@brutus> Date: Fri, 19 Sep 2008 07:14:44 -0700 (PDT) From: "Tim Sell (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-889) The current Thrift API does not allow a new scanner to be created without supplying a column list unlike the other APIs. In-Reply-To: <1638156883.1221771164328.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632691#action_12632691 ] Tim Sell commented on HBASE-889: -------------------------------- actually I was reading the REST code (branch 0.2), opening a scanner, it checks if the columns are specified, and if not // TODO: Need to put into the scanner all of the table's column // families. TODO: Verify this returns all rows. For now just fail. doMethodNotAllowed(response, "Unspecified columns parameter currently not supported!"); Are you sure the REST api allows it? Unless I'm looking at the wrong code. The obvious way to do this is if it's null we get the columns list from the table. > The current Thrift API does not allow a new scanner to be created without supplying a column list unlike the other APIs. > ------------------------------------------------------------------------------------------------------------------------ > > Key: HBASE-889 > URL: https://issues.apache.org/jira/browse/HBASE-889 > Project: Hadoop HBase > Issue Type: Bug > Components: thrift > Affects Versions: 0.2.0, 0.2.1 > Reporter: Charlie Mason > > The current Thrift API does not allow a new scanner to be created without supplying a column list, unlike the REST api. I posted this on the HBase-Users mailing list. Others concurred that it appears to have been an oversight in the Thrift API. > Its quite significant as there is no easy work around, unless you already know which the column families names then list them all when you open the scanner. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.