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/09/11 05:11:57 UTC

[jira] Created: (HBASE-1828) CompareFilters are broken from client-side

CompareFilters are broken from client-side
------------------------------------------

                 Key: HBASE-1828
                 URL: https://issues.apache.org/jira/browse/HBASE-1828
             Project: Hadoop HBase
          Issue Type: Bug
          Components: filters
    Affects Versions: 0.20.0
            Reporter: Jonathan Gray
            Priority: Critical
             Fix For: 0.20.1, 0.21.0


Some filters pass region-level tests but seem to freeze client-side.

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


[jira] Resolved: (HBASE-1828) CompareFilters are broken from client-side

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

Jonathan Gray resolved HBASE-1828.
----------------------------------

    Resolution: Fixed
      Assignee: Jonathan Gray

Opened HBASE-1830 to deal with the real issue here.

Committed to branch and trunk.  Thanks for investigation JD.

> CompareFilters are broken from client-side
> ------------------------------------------
>
>                 Key: HBASE-1828
>                 URL: https://issues.apache.org/jira/browse/HBASE-1828
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: filters
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>            Priority: Critical
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: HBASE-1828-FailTest.patch, HBASE-1828-v2.patch, HBASE-1828.patch
>
>
> Some filters pass region-level tests but seem to freeze client-side.

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


[jira] Updated: (HBASE-1828) CompareFilters are broken from client-side

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

Jonathan Gray updated HBASE-1828:
---------------------------------

    Attachment: HBASE-1828-v2.patch

I want to get this working in branch and trunk.  Will open new issue to deal with properly.  This patch should fix for now.  Instantiates a single HBC in a static so we don't have to redo each time.

> CompareFilters are broken from client-side
> ------------------------------------------
>
>                 Key: HBASE-1828
>                 URL: https://issues.apache.org/jira/browse/HBASE-1828
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: filters
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Priority: Critical
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: HBASE-1828-FailTest.patch, HBASE-1828-v2.patch, HBASE-1828.patch
>
>
> Some filters pass region-level tests but seem to freeze client-side.

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


[jira] Commented: (HBASE-1828) CompareFilters are broken from client-side

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

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

The real exception was eaten in HBaseServer.Listener.doRead:

{code}
java.lang.NullPointerException
	at org.apache.hadoop.hbase.io.HbaseObjectWritable.readObject(HbaseObjectWritable.java:365)
	at org.apache.hadoop.hbase.io.HbaseObjectWritable.readObject(HbaseObjectWritable.java:347)
	at org.apache.hadoop.hbase.filter.CompareFilter.readFields(CompareFilter.java:133)
	at org.apache.hadoop.hbase.client.Scan.readFields(Scan.java:523)
	at org.apache.hadoop.hbase.io.HbaseObjectWritable.readObject(HbaseObjectWritable.java:418)
	at org.apache.hadoop.hbase.ipc.HBaseRPC$Invocation.readFields(HBaseRPC.java:175)
	at org.apache.hadoop.hbase.ipc.HBaseServer$Connection.processData(HBaseServer.java:873)
	at org.apache.hadoop.hbase.ipc.HBaseServer$Connection.readAndProcess(HBaseServer.java:841)
	at org.apache.hadoop.hbase.ipc.HBaseServer$Listener.doRead(HBaseServer.java:424)
	at org.apache.hadoop.hbase.ipc.HBaseServer$Listener.run(HBaseServer.java:319)
{code}

> CompareFilters are broken from client-side
> ------------------------------------------
>
>                 Key: HBASE-1828
>                 URL: https://issues.apache.org/jira/browse/HBASE-1828
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: filters
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Priority: Critical
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: HBASE-1828-FailTest.patch
>
>
> Some filters pass region-level tests but seem to freeze client-side.

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


[jira] Updated: (HBASE-1828) CompareFilters are broken from client-side

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

Jonathan Gray updated HBASE-1828:
---------------------------------

    Attachment: HBASE-1828-FailTest.patch

Test fails.  Freezes up and throws:

{noformat}
org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to contact region server 192.168.249.50:3928 for region testFilters,,1252638503066, row '', but failed after 3 attempts.
Exceptions:
java.io.IOException: Call to /192.168.249.50:3928 failed on local exception: java.io.EOFException
java.io.IOException: Call to /192.168.249.50:3928 failed on local exception: java.io.EOFException
java.io.IOException: Call to /192.168.249.50:3928 failed on local exception: java.io.EOFException
	at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getRegionServerWithRetries(HConnectionManager.java:994)
	at org.apache.hadoop.hbase.client.HTable$ClientScanner.nextScanner(HTable.java:1880)
	at org.apache.hadoop.hbase.client.HTable$ClientScanner.initialize(HTable.java:1826)
	at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:372)
	at org.apache.hadoop.hbase.client.TestClient.testFilters(TestClient.java:88)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
....
{noformat}

> CompareFilters are broken from client-side
> ------------------------------------------
>
>                 Key: HBASE-1828
>                 URL: https://issues.apache.org/jira/browse/HBASE-1828
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: filters
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Priority: Critical
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: HBASE-1828-FailTest.patch
>
>
> Some filters pass region-level tests but seem to freeze client-side.

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


[jira] Updated: (HBASE-1828) CompareFilters are broken from client-side

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

Jean-Daniel Cryans updated HBASE-1828:
--------------------------------------

    Attachment: HBASE-1828.patch

With this the test is green, I copied what was done in ColumnValueFilter.

> CompareFilters are broken from client-side
> ------------------------------------------
>
>                 Key: HBASE-1828
>                 URL: https://issues.apache.org/jira/browse/HBASE-1828
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: filters
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Priority: Critical
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: HBASE-1828-FailTest.patch, HBASE-1828.patch
>
>
> Some filters pass region-level tests but seem to freeze client-side.

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


[jira] Commented: (HBASE-1828) CompareFilters are broken from client-side

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

Jonathan Gray commented on HBASE-1828:
--------------------------------------

So what seems to be broken are the changes I made to HOW to allow null HBCs to be passed.

> CompareFilters are broken from client-side
> ------------------------------------------
>
>                 Key: HBASE-1828
>                 URL: https://issues.apache.org/jira/browse/HBASE-1828
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: filters
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Priority: Critical
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: HBASE-1828-FailTest.patch, HBASE-1828.patch
>
>
> Some filters pass region-level tests but seem to freeze client-side.

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