hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1804) Puts are permitted (and stored) when including an appended colon
Date Wed, 02 Sep 2009 06:12:32 GMT

    [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750288#action_12750288

Jonathan Gray commented on HBASE-1804:

Is it necessary to add these client-side checks in the new API?  Should have checks when creating
HTD/HCD but if you put something wonky in normal methods you'll get NoSuchFam.

The change of comparator does break some of the old API tests in the client package.  In calls
like getClosest... we need to run KV.parseColumn() and remove the : and qualifier from family.

> Puts are permitted (and stored) when including an appended colon
> ----------------------------------------------------------------
>                 Key: HBASE-1804
>                 URL: https://issues.apache.org/jira/browse/HBASE-1804
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.0, 0.21.0
>         Attachments: 1804-v2.patch, HBASE-1804-v1.patch
> If I have a table with family "testFamily", currently I can do Puts using the new API
by specifying the family name with or without a colon.  The KV is then stored w/ or w/o depending
on how the Put was done.
> If you try to Put.add("testFamily:", "qualifier", "value") this should throw a NoSuchColumnFamilyException

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

View raw message