You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (Created) (JIRA)" <ji...@apache.org> on 2011/10/23 12:04:32 UTC

[jira] [Created] (GORA-55) Fix TestHBaseStore

Fix TestHBaseStore
------------------

                 Key: GORA-55
                 URL: https://issues.apache.org/jira/browse/GORA-55
             Project: Gora
          Issue Type: Sub-task
          Components: storage-hbase
    Affects Versions: 0.2-incubating
            Reporter: Lewis John McGibbney
             Fix For: 0.2-incubating


TestHBaseStore
Hanging indefinately with some interesting output below
11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
	at sun.nio.ch.Net.connect(Native Method)
	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
	at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Commented] (GORA-55) Fix TestHBaseStore

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Guys,

Regarding these tests, I am happy to make this trivial commit and work
towards fixing the errors if this is seen to better the situation?

Thanks

On Wed, Dec 14, 2011 at 7:37 PM, Lewis John McGibbney (Commented)
(JIRA) <ji...@apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/GORA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169608#comment-13169608 ]
>
> Lewis John McGibbney commented on GORA-55:
> ------------------------------------------
>
> For clarification the failing tests all display
>
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
>        at junit.framework.Assert.fail(Assert.java:50)
>
>
>
>> Fix TestHBaseStore
>> ------------------
>>
>>                 Key: GORA-55
>>                 URL: https://issues.apache.org/jira/browse/GORA-55
>>             Project: Gora
>>          Issue Type: Sub-task
>>          Components: storage-hbase
>>    Affects Versions: 0.2-incubating
>>            Reporter: Lewis John McGibbney
>>             Fix For: 0.2-incubating
>>
>>         Attachments: GORA-55.patch
>>
>>
>> TestHBaseStore
>> Hanging indefinately with some interesting output below
>> 11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
>> 11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
>> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
>> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
>> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
>> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
>> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
>> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
>> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
>> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
>> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
>> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
>> 11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
>> 11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null, unexpected error, closing socket connection and attempting reconnect
>> java.net.ConnectException: Connection refused
>>       at sun.nio.ch.Net.connect(Native Method)
>>       at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
>>       at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
>>       at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>



-- 
Lewis

[jira] [Commented] (GORA-55) Fix TestHBaseStore

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175670#comment-13175670 ] 

Hudson commented on GORA-55:
----------------------------

Integrated in gora-trunk #81 (See [https://builds.apache.org/job/gora-trunk/81/])
    [GORA-55] Excluded ranged queries from the tests, since the tests assume end key to be inclussive while Hbase considers it exclusive.

iocanel : http://svn.apache.org/viewvc/incubator/gora/trunk/viewvc/?view=rev&root=&revision=1222596
Files : 
* /incubator/gora/trunk/gora-hbase/src/test/java/org/apache/gora/hbase/store/TestHBaseStore.java

                
> Fix TestHBaseStore
> ------------------
>
>                 Key: GORA-55
>                 URL: https://issues.apache.org/jira/browse/GORA-55
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-hbase
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-55.patch
>
>
> TestHBaseStore
> Hanging indefinately with some interesting output below
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
> 11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
> 11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null, unexpected error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
> 	at sun.nio.ch.Net.connect(Native Method)
> 	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GORA-55) Fix TestHBaseStore

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175294#comment-13175294 ] 

Hudson commented on GORA-55:
----------------------------

Integrated in gora-trunk #80 (See [https://builds.apache.org/job/gora-trunk/80/])
    [GORA-55] Removed second assertion for schema existence, since schema is already deleted.

iocanel : http://svn.apache.org/viewvc/incubator/gora/trunk/viewvc/?view=rev&root=&revision=1222399
Files : 
* /incubator/gora/trunk/gora-core/src/test/java/org/apache/gora/store/DataStoreTestBase.java

                
> Fix TestHBaseStore
> ------------------
>
>                 Key: GORA-55
>                 URL: https://issues.apache.org/jira/browse/GORA-55
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-hbase
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-55.patch
>
>
> TestHBaseStore
> Hanging indefinately with some interesting output below
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
> 11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
> 11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null, unexpected error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
> 	at sun.nio.ch.Net.connect(Native Method)
> 	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (GORA-55) Fix TestHBaseStore

Posted by "Lewis John McGibbney (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GORA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney updated GORA-55:
-------------------------------------

    Fix Version/s:     (was: 0.2)
                   0.3

Shifting to 0.3 as there are outstanding HBase issues which will not be resolved shortly. Until then we need to skip these tests.
                
> Fix TestHBaseStore
> ------------------
>
>                 Key: GORA-55
>                 URL: https://issues.apache.org/jira/browse/GORA-55
>             Project: Apache Gora
>          Issue Type: Sub-task
>          Components: storage-hbase
>    Affects Versions: 0.2
>            Reporter: Lewis John McGibbney
>             Fix For: 0.3
>
>         Attachments: GORA-55.patch
>
>
> TestHBaseStore
> Hanging indefinately with some interesting output below
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
> 11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
> 11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null, unexpected error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
> 	at sun.nio.ch.Net.connect(Native Method)
> 	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GORA-55) Fix TestHBaseStore

Posted by "Lewis John McGibbney (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169608#comment-13169608 ] 

Lewis John McGibbney commented on GORA-55:
------------------------------------------

For clarification the failing tests all display

junit.framework.AssertionFailedError: expected:<1> but was:<0>
	at junit.framework.Assert.fail(Assert.java:50)


                
> Fix TestHBaseStore
> ------------------
>
>                 Key: GORA-55
>                 URL: https://issues.apache.org/jira/browse/GORA-55
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-hbase
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-55.patch
>
>
> TestHBaseStore
> Hanging indefinately with some interesting output below
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
> 11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
> 11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null, unexpected error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
> 	at sun.nio.ch.Net.connect(Native Method)
> 	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GORA-55) Fix TestHBaseStore

Posted by "Keith Turner (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179052#comment-13179052 ] 

Keith Turner commented on GORA-55:
----------------------------------

Hope it works, this it what we do in the Accumulo Range class for inclusive/exclusive rows.  Has there been any discussion about adding an inclusive/exclusive flag to the Gora Query object?  So the user can make the startKey exclusive or the endKey exclusive.  Accumulo could support this.  HBase could support an exclusive start key using the same binary zero trick that makes the endkey inclusive.  Not sure about the other stores.
                
> Fix TestHBaseStore
> ------------------
>
>                 Key: GORA-55
>                 URL: https://issues.apache.org/jira/browse/GORA-55
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-hbase
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-55.patch
>
>
> TestHBaseStore
> Hanging indefinately with some interesting output below
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
> 11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
> 11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null, unexpected error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
> 	at sun.nio.ch.Net.connect(Native Method)
> 	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GORA-55) Fix TestHBaseStore

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170263#comment-13170263 ] 

Hudson commented on GORA-55:
----------------------------

Integrated in gora-trunk #71 (See [https://builds.apache.org/job/gora-trunk/71/])
    commit to address part of GORA-55. Downgraded Slf4j dependency from 1.6.4 to 1.5.8 to remove multiple bindings available on classpath, finally updated CHANGES.txt

lewismc : http://svn.apache.org/viewvc/incubator/gora/trunk/viewvc/?view=rev&root=&revision=1214741
Files : 
* /incubator/gora/trunk/CHANGES.txt
* /incubator/gora/trunk/pom.xml

                
> Fix TestHBaseStore
> ------------------
>
>                 Key: GORA-55
>                 URL: https://issues.apache.org/jira/browse/GORA-55
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-hbase
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-55.patch
>
>
> TestHBaseStore
> Hanging indefinately with some interesting output below
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
> 11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
> 11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null, unexpected error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
> 	at sun.nio.ch.Net.connect(Native Method)
> 	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GORA-55) Fix TestHBaseStore

Posted by "Lewis John McGibbney (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179071#comment-13179071 ] 

Lewis John McGibbney commented on GORA-55:
------------------------------------------

This type of uncertainty made me slightly hesitant to fire ahead with committing some other issues. I will try my best to get up to speed with the Cassandra material with regards to the issues you highlight above, if we can come to some kind of happy medium it would be great to support this within Gora. I'll try on cassandra-dev lists and feedback in due course.
                
> Fix TestHBaseStore
> ------------------
>
>                 Key: GORA-55
>                 URL: https://issues.apache.org/jira/browse/GORA-55
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-hbase
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-55.patch
>
>
> TestHBaseStore
> Hanging indefinately with some interesting output below
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
> 11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
> 11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null, unexpected error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
> 	at sun.nio.ch.Net.connect(Native Method)
> 	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GORA-55) Fix TestHBaseStore

Posted by "Ioannis Canellos (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179040#comment-13179040 ] 

Ioannis Canellos commented on GORA-55:
--------------------------------------

Thanks for the tip, I will try this asap.
                
> Fix TestHBaseStore
> ------------------
>
>                 Key: GORA-55
>                 URL: https://issues.apache.org/jira/browse/GORA-55
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-hbase
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-55.patch
>
>
> TestHBaseStore
> Hanging indefinately with some interesting output below
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
> 11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
> 11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null, unexpected error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
> 	at sun.nio.ch.Net.connect(Native Method)
> 	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (GORA-55) Fix TestHBaseStore

Posted by "Lewis John McGibbney (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GORA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney updated GORA-55:
-------------------------------------

    Attachment: GORA-55.patch

By simply downgrading the slf4j version to 1.5.8 as per the attached patch, I've managed to reduce the failing gora-hbase tests significantly. This can be seen in the output below.

Tests run: 28, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 1,791.874 sec <<< FAILURE!

Results :

Failed tests: 
  testSchemaExists(org.apache.gora.hbase.store.TestHBaseStore)
  testQueryEndKey(org.apache.gora.hbase.store.TestHBaseStore)
  testQueryKeyRange(org.apache.gora.hbase.store.TestHBaseStore)
  testDeleteByQuery(org.apache.gora.hbase.store.TestHBaseStore)

Tests in error: 

Tests run: 30, Failures: 4, Errors: 1, Skipped: 0

11/12/14 19:31:02 INFO server.SessionTrackerImpl: SessionTrackerImpl exited loop!
[ERROR] There are test failures.

Please refer to /home/lewis/ASF/gora_trunk/gora-hbase/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30 minutes 50 seconds
[INFO] Finished at: Wed Dec 14 19:31:02 GMT 2011
[INFO] Final Memory: 41M/209M

These tests all fail in the same way e.g.

-------------------------------------------------------------------------------
Test set: org.apache.gora.hbase.store.TestHBaseStore
-------------------------------------------------------------------------------
Tests run: 28, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 1,791.875 sec <<< FAILURE!
testSchemaExists(org.apache.gora.hbase.store.TestHBaseStore)  Time elapsed: 61.583 sec  <<< FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:48)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertTrue(Assert.java:27)
	at org.apache.gora.hbase.store.TestHBaseStore.assertSchemaExists(TestHBaseStore.java:77)
	at org.apache.gora.store.DataStoreTestBase.testSchemaExists(DataStoreTestBase.java:163)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:261)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:875)
                
> Fix TestHBaseStore
> ------------------
>
>                 Key: GORA-55
>                 URL: https://issues.apache.org/jira/browse/GORA-55
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-hbase
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-55.patch
>
>
> TestHBaseStore
> Hanging indefinately with some interesting output below
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
> 11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
> 11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null, unexpected error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
> 	at sun.nio.ch.Net.connect(Native Method)
> 	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GORA-55) Fix TestHBaseStore

Posted by "Keith Turner (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178889#comment-13178889 ] 

Keith Turner commented on GORA-55:
----------------------------------

If Hbase considers end rows exclusive, there is a trick to query inclusively.  Just add a binary zero.  For example, if you want to query from row 'bar'  inclusive to row 'foo' inclusive, then query hbase for 'bar' and 'foo'+0x00.  

Nothing can sort between 'foo' and 'foo'+0x00, therefore 'foo'+0x00 is next possible key.  So querying on  'foo'+0x00 exclusively should pull in 'foo' but no other undesired data.  If row 'foo'+0x00 happens to exist, then it will not be returned.    

The Gora Hbase store could do this transformation (add the binary 0 to end keys) to make the end key inclusive when querying hbase.
                
> Fix TestHBaseStore
> ------------------
>
>                 Key: GORA-55
>                 URL: https://issues.apache.org/jira/browse/GORA-55
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-hbase
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-55.patch
>
>
> TestHBaseStore
> Hanging indefinately with some interesting output below
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
> 11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
> 11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null, unexpected error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
> 	at sun.nio.ch.Net.connect(Native Method)
> 	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira