FAQ
[stargate] deletes not working as expected
------------------------------------------

Key: HBASE-2024
URL: https://issues.apache.org/jira/browse/HBASE-2024
Project: Hadoop HBase
Issue Type: Bug
Reporter: Andrew Purtell
Assignee: Andrew Purtell
Fix For: 0.20.3, 0.21.0

From private communication, an example:
{noformat}
hbase(main):051:0> get 'books', 'fe80a1eb-2b3c-4995-8630-4131ef4b4eb7'

COLUMN CELL

attribute:author timestamp=5410348784985219840, value=\001Richard Matheson

attribute:description timestamp=5410348784985219840, value=\001The most clever and riveting vampire nov

el since Dracula.

attribute:links timestamp=5410348784985219840, value=--- []\n\n

attribute:title timestamp=5410348784985219840, value=\001I Am Legend

log:change timestamp=5410348784985219840, value=--- []\n\n

5 row(s) in 0.0070 seconds



==========


<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>


* About to connect() to localhost port 8080 (#0)

* Trying ::1... connected

* Connected to localhost (::1) port 8080 (#0)
DELETE /books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7 HTTP/1.1
User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.10
Host: localhost:8080
Accept: */*
>

< HTTP/1.1 200 OK

< Content-Length: 0

<

* Connection #0 to host localhost left intact

* Closing connection #0


<?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
{noformat}


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

Search Discussions

  • Andrew Purtell (JIRA) at Dec 3, 2009 at 5:06 am
    [ https://issues.apache.org/jira/browse/HBASE-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785184#action_12785184 ]

    Andrew Purtell commented on HBASE-2024:
    ---------------------------------------

    This scenario is covered by the Stargate test suite, which passes in the release and on trunk. Investigate further.
    [stargate] deletes not working as expected
    ------------------------------------------

    Key: HBASE-2024
    URL: https://issues.apache.org/jira/browse/HBASE-2024
    Project: Hadoop HBase
    Issue Type: Bug
    Reporter: Andrew Purtell
    Assignee: Andrew Purtell
    Fix For: 0.20.3, 0.21.0


    From private communication, an example:
    {noformat}
    hbase(main):051:0> get 'books', 'fe80a1eb-2b3c-4995-8630-4131ef4b4eb7'
    COLUMN CELL
    attribute:author timestamp=5410348784985219840, value=\001Richard Matheson
    attribute:description timestamp=5410348784985219840, value=\001The most clever and riveting vampire nov
    el since Dracula.
    attribute:links timestamp=5410348784985219840, value=--- []\n\n
    attribute:title timestamp=5410348784985219840, value=\001I Am Legend
    log:change timestamp=5410348784985219840, value=--- []\n\n
    5 row(s) in 0.0070 seconds

    ==========
    curl http://localhost:8080/books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
    curl -X DELETE -v http://localhost:8080/books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7
    * About to connect() to localhost port 8080 (#0)
    * Trying ::1... connected
    * Connected to localhost (::1) port 8080 (#0)
    DELETE /books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7 HTTP/1.1
    User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.10
    Host: localhost:8080
    Accept: */*
    < HTTP/1.1 200 OK
    < Content-Length: 0
    <
    * Connection #0 to host localhost left intact
    * Closing connection #0
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
    {noformat}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Andrew Purtell (JIRA) at Dec 10, 2009 at 8:28 pm
    [ https://issues.apache.org/jira/browse/HBASE-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Andrew Purtell updated HBASE-2024:
    ----------------------------------

    Priority: Minor (was: Major)

    Lowering priority as I am currently not able to reproduce this.
    [stargate] deletes not working as expected
    ------------------------------------------

    Key: HBASE-2024
    URL: https://issues.apache.org/jira/browse/HBASE-2024
    Project: Hadoop HBase
    Issue Type: Bug
    Reporter: Andrew Purtell
    Assignee: Andrew Purtell
    Priority: Minor
    Fix For: 0.20.3, 0.21.0


    From private communication, an example:
    {noformat}
    hbase(main):051:0> get 'books', 'fe80a1eb-2b3c-4995-8630-4131ef4b4eb7'
    COLUMN CELL
    attribute:author timestamp=5410348784985219840, value=\001Richard Matheson
    attribute:description timestamp=5410348784985219840, value=\001The most clever and riveting vampire nov
    el since Dracula.
    attribute:links timestamp=5410348784985219840, value=--- []\n\n
    attribute:title timestamp=5410348784985219840, value=\001I Am Legend
    log:change timestamp=5410348784985219840, value=--- []\n\n
    5 row(s) in 0.0070 seconds

    ==========
    curl http://localhost:8080/books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
    curl -X DELETE -v http://localhost:8080/books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7
    * About to connect() to localhost port 8080 (#0)
    * Trying ::1... connected
    * Connected to localhost (::1) port 8080 (#0)
    DELETE /books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7 HTTP/1.1
    User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.10
    Host: localhost:8080
    Accept: */*
    < HTTP/1.1 200 OK
    < Content-Length: 0
    <
    * Connection #0 to host localhost left intact
    * Closing connection #0
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
    {noformat}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Jean-Daniel Cryans (JIRA) at Dec 10, 2009 at 10:42 pm
    [ https://issues.apache.org/jira/browse/HBASE-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Jean-Daniel Cryans resolved HBASE-2024.
    ---------------------------------------

    Resolution: Invalid
    Assignee: (was: Andrew Purtell)

    I just had a discussion with Greg (he's an ex-coworker of mine) because I remembered a similar problem I had there. In the pasted request, the delete is done without specifying a timestamp but they use ts in microseconds (as the get shows in their shell). That means that the delete is actually putting a marker in their definition of the "past". The resolution is that if you want to use custom timestamps, you should always provide your own ts instead of letting HBase doing it. This way you don't get time reference weirdness.
    [stargate] deletes not working as expected
    ------------------------------------------

    Key: HBASE-2024
    URL: https://issues.apache.org/jira/browse/HBASE-2024
    Project: Hadoop HBase
    Issue Type: Bug
    Reporter: Andrew Purtell
    Priority: Minor
    Fix For: 0.20.3, 0.21.0


    From private communication, an example:
    {noformat}
    hbase(main):051:0> get 'books', 'fe80a1eb-2b3c-4995-8630-4131ef4b4eb7'
    COLUMN CELL
    attribute:author timestamp=5410348784985219840, value=\001Richard Matheson
    attribute:description timestamp=5410348784985219840, value=\001The most clever and riveting vampire nov
    el since Dracula.
    attribute:links timestamp=5410348784985219840, value=--- []\n\n
    attribute:title timestamp=5410348784985219840, value=\001I Am Legend
    log:change timestamp=5410348784985219840, value=--- []\n\n
    5 row(s) in 0.0070 seconds

    ==========
    curl http://localhost:8080/books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
    curl -X DELETE -v http://localhost:8080/books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7
    * About to connect() to localhost port 8080 (#0)
    * Trying ::1... connected
    * Connected to localhost (::1) port 8080 (#0)
    DELETE /books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7 HTTP/1.1
    User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.10
    Host: localhost:8080
    Accept: */*
    < HTTP/1.1 200 OK
    < Content-Length: 0
    <
    * Connection #0 to host localhost left intact
    * Closing connection #0
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
    {noformat}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Greg Lu (JIRA) at Jan 14, 2010 at 3:36 am
    [ https://issues.apache.org/jira/browse/HBASE-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Greg Lu reopened HBASE-2024:
    ----------------------------

    Assignee: Greg Lu

    After resolving HBASE-2120, I realized what's causing this problem.

    In RowResource.java (line 274), the Delete object is instantiated without the timestamp argument, even if one was specified. This will prevent any whole row deletes to occur if your database uses a custom timestamp format.

    I've created a patch for both trunk and the 0.20 branch.
    [stargate] deletes not working as expected
    ------------------------------------------

    Key: HBASE-2024
    URL: https://issues.apache.org/jira/browse/HBASE-2024
    Project: Hadoop HBase
    Issue Type: Bug
    Reporter: Andrew Purtell
    Assignee: Greg Lu
    Priority: Minor
    Fix For: 0.20.3, 0.21.0

    Attachments: HBASE-2024_0.20.3.patch, HBASE-2024_trunk.patch


    From private communication, an example:
    {noformat}
    hbase(main):051:0> get 'books', 'fe80a1eb-2b3c-4995-8630-4131ef4b4eb7'
    COLUMN CELL
    attribute:author timestamp=5410348784985219840, value=\001Richard Matheson
    attribute:description timestamp=5410348784985219840, value=\001The most clever and riveting vampire nov
    el since Dracula.
    attribute:links timestamp=5410348784985219840, value=--- []\n\n
    attribute:title timestamp=5410348784985219840, value=\001I Am Legend
    log:change timestamp=5410348784985219840, value=--- []\n\n
    5 row(s) in 0.0070 seconds

    ==========
    curl http://localhost:8080/books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
    curl -X DELETE -v http://localhost:8080/books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7
    * About to connect() to localhost port 8080 (#0)
    * Trying ::1... connected
    * Connected to localhost (::1) port 8080 (#0)
    DELETE /books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7 HTTP/1.1
    User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.10
    Host: localhost:8080
    Accept: */*
    < HTTP/1.1 200 OK
    < Content-Length: 0
    <
    * Connection #0 to host localhost left intact
    * Closing connection #0
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
    {noformat}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Greg Lu (JIRA) at Jan 14, 2010 at 3:36 am
    [ https://issues.apache.org/jira/browse/HBASE-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Greg Lu updated HBASE-2024:
    ---------------------------

    Attachment: HBASE-2024_0.20.3.patch
    HBASE-2024_trunk.patch
    [stargate] deletes not working as expected
    ------------------------------------------

    Key: HBASE-2024
    URL: https://issues.apache.org/jira/browse/HBASE-2024
    Project: Hadoop HBase
    Issue Type: Bug
    Reporter: Andrew Purtell
    Assignee: Greg Lu
    Priority: Minor
    Fix For: 0.20.3, 0.21.0

    Attachments: HBASE-2024_0.20.3.patch, HBASE-2024_trunk.patch


    From private communication, an example:
    {noformat}
    hbase(main):051:0> get 'books', 'fe80a1eb-2b3c-4995-8630-4131ef4b4eb7'
    COLUMN CELL
    attribute:author timestamp=5410348784985219840, value=\001Richard Matheson
    attribute:description timestamp=5410348784985219840, value=\001The most clever and riveting vampire nov
    el since Dracula.
    attribute:links timestamp=5410348784985219840, value=--- []\n\n
    attribute:title timestamp=5410348784985219840, value=\001I Am Legend
    log:change timestamp=5410348784985219840, value=--- []\n\n
    5 row(s) in 0.0070 seconds

    ==========
    curl http://localhost:8080/books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
    curl -X DELETE -v http://localhost:8080/books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7
    * About to connect() to localhost port 8080 (#0)
    * Trying ::1... connected
    * Connected to localhost (::1) port 8080 (#0)
    DELETE /books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7 HTTP/1.1
    User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.10
    Host: localhost:8080
    Accept: */*
    < HTTP/1.1 200 OK
    < Content-Length: 0
    <
    * Connection #0 to host localhost left intact
    * Closing connection #0
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
    {noformat}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Andrew Purtell (JIRA) at Jan 14, 2010 at 10:44 am
    [ https://issues.apache.org/jira/browse/HBASE-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Andrew Purtell resolved HBASE-2024.
    -----------------------------------

    Resolution: Fixed
    Hadoop Flags: [Reviewed]

    Applied to trunk and 0.20 branch. Thanks for the fixes Greg!
    [stargate] deletes not working as expected
    ------------------------------------------

    Key: HBASE-2024
    URL: https://issues.apache.org/jira/browse/HBASE-2024
    Project: Hadoop HBase
    Issue Type: Bug
    Reporter: Andrew Purtell
    Assignee: Greg Lu
    Priority: Minor
    Fix For: 0.20.3, 0.21.0

    Attachments: HBASE-2024_0.20.3.patch, HBASE-2024_trunk.patch


    From private communication, an example:
    {noformat}
    hbase(main):051:0> get 'books', 'fe80a1eb-2b3c-4995-8630-4131ef4b4eb7'
    COLUMN CELL
    attribute:author timestamp=5410348784985219840, value=\001Richard Matheson
    attribute:description timestamp=5410348784985219840, value=\001The most clever and riveting vampire nov
    el since Dracula.
    attribute:links timestamp=5410348784985219840, value=--- []\n\n
    attribute:title timestamp=5410348784985219840, value=\001I Am Legend
    log:change timestamp=5410348784985219840, value=--- []\n\n
    5 row(s) in 0.0070 seconds

    ==========
    curl http://localhost:8080/books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
    curl -X DELETE -v http://localhost:8080/books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7
    * About to connect() to localhost port 8080 (#0)
    * Trying ::1... connected
    * Connected to localhost (::1) port 8080 (#0)
    DELETE /books/fe80a1eb-2b3c-4995-8630-4131ef4b4eb7 HTTP/1.1
    User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.10
    Host: localhost:8080
    Accept: */*
    < HTTP/1.1 200 OK
    < Content-Length: 0
    <
    * Connection #0 to host localhost left intact
    * Closing connection #0
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><CellSet><Row key="ZmU4MGExZWItMmIzYy00OTk1LTg2MzAtNDEzMWVmNGI0ZWI3"><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmF1dGhvcg==">AVJpY2hhcmQgTWF0aGVzb24=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmRlc2NyaXB0aW9u">AVRoZSBtb3N0IGNsZXZlciBhbmQgcml2ZXRpbmcgdmFtcGlyZSBub3ZlbCBzaW5jZSBEcmFjdWxhLg==</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOmxpbmtz">LS0tIFtdCgo=</Cell><Cell timestamp="5410348784985219840" column="YXR0cmlidXRlOnRpdGxl">AUkgQW0gTGVnZW5k</Cell><Cell timestamp="5410348784985219840" column="bG9nOmNoYW5nZQ==">LS0tIFtdCgo=</Cell></Row></CellSet>
    {noformat}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieshbase, hadoop
postedDec 2, '09 at 4:00p
activeJan 14, '10 at 10:44a
posts7
users1
websitehbase.apache.org

1 user in discussion

Andrew Purtell (JIRA): 7 posts

People

Translate

site design / logo © 2022 Grokbase