You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jonathan Gray (JIRA)" <ji...@apache.org> on 2009/08/31 21:53:32 UTC

[jira] Created: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

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


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.


[jira] Commented: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749655#action_12749655 ] 

Jonathan Gray commented on HBASE-1804:
--------------------------------------

As I said, it breaks stuff.

There doesn't seem to be a fixed contract here.  Sometimes we pass it "family" other times we pass it "family:qualifier".

We should only ever be passing it "family" and should never pass it with a colon... We don't store the colon, we don't use the colon in the API, it's leftover from the old API.

I will spend more time digging in where we'd need to change things.

Family comparator is used in the HRegion map of Stores and the HTD map of Families... in both cases, we should be able to deal strictly with "family", there just seems to be some old API calls making it's way down to HR and HTD.

> 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: 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.


[jira] Updated: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Gray updated HBASE-1804:
---------------------------------

    Status: Open  (was: Patch Available)

This breaks stuff.

> 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: 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.


[jira] Updated: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1804:
-------------------------

    Attachment: 1804-v3.patch

Adds test to TestHRegion that checks whether Put does right thing when family has a colon.

Adds handler to old api getclosest to handle case where passed a ':' on family.

Most of rest of patch is like jgray's original.  I removed the check in Put/Get/Scan/Delete.

> 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, 1804-v3.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.


[jira] Commented: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750585#action_12750585 ] 

Jean-Daniel Cryans commented on HBASE-1804:
-------------------------------------------

+1

> 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, 1804-v3.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.


[jira] Commented: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750451#action_12750451 ] 

stack commented on HBASE-1804:
------------------------------

The old api tests failed for me w/ NPEs.   Will remove the additions to Put/Get/Scan/Delete that I added.  Shouldn't be double checking.

> 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.


[jira] Updated: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Gray updated HBASE-1804:
---------------------------------

    Attachment: HBASE-1804-v1.patch

Removes usage of FAMILY_COMPARATOR.  Replaces with straight binary compare, Bytes.BYTES_COMPARATOR.

Needs to be tested and discussed.  I don't see why or where we expect or need to be tolerant of a family with a colon.  It should be stripped from old api stuff, and is not even part of the equation of the new api.

This does fix the original bug.  If you run a new API put with family: it will throw no such column family exception.

> 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: 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.


[jira] Commented: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750583#action_12750583 ] 

Jonathan Gray commented on HBASE-1804:
--------------------------------------

+1.  thanks for cleaning up the patch, stack

> 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, 1804-v3.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.


[jira] Commented: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749604#action_12749604 ] 

Jonathan Gray commented on HBASE-1804:
--------------------------------------

Issue is because we use a special FAMILY_COMPARATOR for the HTD map... It currently ignores the delimiter when doing the comparison.  IMO, we should not ignore it, if we support old API stuff with delimiters, we should be stripping them before we do any family checking.

{code}
  public static final RawComparator<byte []> FAMILY_COMPARATOR =
    new RawComparator<byte []> () {
      public int compare(byte [] a, int ao, int al, byte [] b, int bo, int bl) {
        int indexa = KeyValue.getDelimiter(a, ao, al, COLUMN_FAMILY_DELIMITER);
        if (indexa < 0) {
          indexa = al;
        }
        int indexb = KeyValue.getDelimiter(b, bo, bl, COLUMN_FAMILY_DELIMITER);
        if (indexb < 0) {
          indexb = bl;
        }
        return Bytes.compareTo(a, ao, indexa, b, bo, indexb);
      }

      public int compare(byte[] a, byte[] b) {
        return compare(a, 0, a.length, b, 0, b.length);
      }
    };
{code}

> 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
>
>
> 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.


[jira] Resolved: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-1804.
--------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Thanks for review lads.  Committed branch and trunk.

> 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, 1804-v3.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.


[jira] Updated: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1804:
-------------------------

    Attachment: 1804-v2.patch

Here's a v2.  Running tests now.  Its Jon's patch only it purges the family comparator from KV and it adds checks to Put, Get, Scan and Delete that throw exception if family is 'illegal'.

> 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.


[jira] Updated: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Gray updated HBASE-1804:
---------------------------------

    Status: Patch Available  (was: Open)

Please review.

> 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: 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.


[jira] Commented: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749643#action_12749643 ] 

stack commented on HBASE-1804:
------------------------------

Does your patch work?  Seems odd that it would.  Is family comparator used elsewhere?  Should it be purged?

> 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: 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.


[jira] Commented: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750463#action_12750463 ] 

Jonathan Gray commented on HBASE-1804:
--------------------------------------

I must have missed the patch somehow.  You should be able to add a few KV.parseColumn calls inside old-API HTable code so that we don't send something that's supposed to just be "family" with a color or qualifier

> 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.


[jira] Commented: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749948#action_12749948 ] 

Jean-Daniel Cryans commented on HBASE-1804:
-------------------------------------------

Shouldn't we just strip the colon in Put, Delete, Get, Scan when passed-in in a family,qualifier method? Or even throw an exception?

> 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: 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.


[jira] Commented: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750290#action_12750290 ] 

Jonathan Gray commented on HBASE-1804:
--------------------------------------

hmm... tests are passing for me now.

> 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.


[jira] Commented: (HBASE-1804) Puts are permitted (and stored) when including an appended colon

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749960#action_12749960 ] 

Jonathan Gray commented on HBASE-1804:
--------------------------------------

Yes.  I'm working on a patch that does that, just need to run a lot of tests because it's hard to track down all the old API instances internally and in the tests themselves.

> 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: 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.