{"action":"created","issue":{"url":"https://api.github.com/repos/wbolster/happybase/issues/59","labels_url":"https://api.github.com/repos/wbolster/happybase/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/wbolster/happybase/issues/59/comments","events_url":"https://api.github.com/repos/wbolster/happybase/issues/59/events","html_url":"https://github.com/wbolster/happybase/issues/59","id":28282226,"number":59,"title":"Test with HBase 0.98 (and add compat mode)","user":{"login":"wbolster","id":748944,"avatar_url":"https://avatars.githubusercontent.com/u/748944?v=3","gravatar_id":"","url":"https://api.github.com/users/wbolster","html_url":"https://github.com/wbolster","followers_url":"https://api.github.com/users/wbolster/followers","following_url":"https://api.github.com/users/wbolster/following{/other_user}","gists_url":"https://api.github.com/users/wbolster/gists{/gist_id}","starred_url":"https://api.github.com/users/wbolster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbolster/subscriptions","organizations_url":"https://api.github.com/users/wbolster/orgs","repos_url":"https://api.github.com/users/wbolster/repos","events_url":"https://api.github.com/users/wbolster/events{/privacy}","received_events_url":"https://api.github.com/users/wbolster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-02-25T20:38:42Z","updated_at":"2015-04-21T15:35:40Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/wbolster/happybase/issues/comments/94840934","html_url":"https://github.com/wbolster/happybase/issues/59#issuecomment-94840934","issue_url":"https://api.github.com/repos/wbolster/happybase/issues/59","id":94840934,"user":{"login":"jeroenvlek","id":3686221,"avatar_url":"https://avatars.githubusercontent.com/u/3686221?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenvlek","html_url":"https://github.com/jeroenvlek","followers_url":"https://api.github.com/users/jeroenvlek/followers","following_url":"https://api.github.com/users/jeroenvlek/following{/other_user}","gists_url":"https://api.github.com/users/jeroenvlek/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenvlek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenvlek/subscriptions","organizations_url":"https://api.github.com/users/jeroenvlek/orgs","repos_url":"https://api.github.com/users/jeroenvlek/repos","events_url":"https://api.github.com/users/jeroenvlek/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenvlek/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T15:35:40Z","updated_at":"2015-04-21T15:35:40Z","body":"@wbolster, are there any issues with 0.98 that you are already aware of? I ran the suite against my port of happybase to Python 3 (see output below) and hbase-0.98.8-hadoop2 and two tests failed. There are several potential sources of error here, so if you could already confirm that 0.98 has issues, then I can narrow down the problem.\r\n\r\n```\r\n(happybase)[jvlek@orochimaru happybase]$ make test\r\nfind coverage/ -mindepth 1 -delete\r\npython $(which nosetests) ${TESTS}\r\ntests.test_api.test_connection_compat ... ok\r\ntests.test_api.test_timeout_arg ... ok\r\ntests.test_api.test_enabling ... ok\r\ntests.test_api.test_compaction ... ok\r\ntests.test_api.test_prefix ... ok\r\ntests.test_api.test_stringify ... ok\r\ntests.test_api.test_table_listing ... ok\r\ntests.test_api.test_table_regions ... ok\r\ntests.test_api.test_invalid_table_create ... ok\r\ntests.test_api.test_families ... ok\r\ntests.test_api.test_put ... ok\r\ntests.test_api.test_atomic_counters ... ERROR\r\nERROR\r\n\r\n======================================================================\r\nERROR: tests.test_api.test_atomic_counters\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/jvlek/.virtualenvs/happybase/lib/python3.4/site-packages/nose/case.py\", line 198, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/jvlek/dev/lib/happybase/tests/test_api.py\", line 172, in test_atomic_counters\r\n    table.counter_set(row, column, 0)\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/table.py\", line 540, in counter_set\r\n    self.put(row, {column: pack_i64(value)})\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/table.py\", line 436, in put\r\n    batch.put(row, data)\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/batch.py\", line 132, in __exit__\r\n    self.send()\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/batch.py\", line 55, in send\r\n    self._table.connection.client.mutateRows(self._table.name, bms, {})\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/hbase/Hbase.py\", line 1598, in mutateRows\r\n    self.send_mutateRows(tableName, rowBatches, attributes)\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/hbase/Hbase.py\", line 1607, in send_mutateRows\r\n    args.write(self._oprot)\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/hbase/Hbase.py\", line 7470, in write\r\n    iter351.write(oprot)\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/hbase/ttypes.py\", line 589, in write\r\n    iter6.write(oprot)\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/hbase/ttypes.py\", line 495, in write\r\n    oprot.writeString(self.value)\r\n  File \"/home/jvlek/.virtualenvs/happybase/lib/python3.4/site-packages/thrift/protocol/TBinaryProtocol.py\", line 122, in writeString\r\n    encoded = bytearray(str, 'utf-8')\r\nnose.proxy.TypeError: encoding or errors without a string argument\r\n-------------------- >> begin captured logging << --------------------\r\nhappybase.batch: DEBUG: Sending batch for 'happybase_tests_tmp_test1' (1 mutations on 1 rows)\r\n--------------------- >> end captured logging << ---------------------\r\n\r\n======================================================================\r\nERROR: test suite for <module 'tests.test_api' from '/home/jvlek/dev/lib/happybase/tests/test_api.py'>\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/jvlek/.virtualenvs/happybase/lib/python3.4/site-packages/nose/suite.py\", line 229, in run\r\n    self.tearDown()\r\n  File \"/home/jvlek/.virtualenvs/happybase/lib/python3.4/site-packages/nose/suite.py\", line 352, in tearDown\r\n    self.teardownContext(ancestor)\r\n  File \"/home/jvlek/.virtualenvs/happybase/lib/python3.4/site-packages/nose/suite.py\", line 368, in teardownContext\r\n    try_run(context, names)\r\n  File \"/home/jvlek/.virtualenvs/happybase/lib/python3.4/site-packages/nose/util.py\", line 471, in try_run\r\n    return func()\r\n  File \"/home/jvlek/dev/lib/happybase/tests/test_api.py\", line 76, in teardown_module\r\n    connection.delete_table(TEST_TABLE_NAME, disable=True)\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/connection.py\", line 320, in delete_table\r\n    if disable and self.is_table_enabled(name):\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/connection.py\", line 351, in is_table_enabled\r\n    return self.client.isTableEnabled(name)\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/hbase/Hbase.py\", line 727, in isTableEnabled\r\n    return self.recv_isTableEnabled()\r\n  File \"/home/jvlek/dev/lib/happybase/happybase/hbase/Hbase.py\", line 744, in recv_isTableEnabled\r\n    raise x\r\nthrift.Thrift.TApplicationException: Negative length: -2147418111\r\n\r\nName                   Stmts   Miss  Cover   Missing\r\n----------------------------------------------------\r\nhappybase.batch           57     18    68%   24, 27-31, 50, 87, 101-115, 130\r\nhappybase.connection     118      9    92%   111, 126, 170, 183-190, 321-324\r\nhappybase.pool            54     38    30%   54-78, 82-85, 91, 114-157\r\nhappybase.table          141     92    35%   23-24, 29-30, 67-68, 110-125, 146-169, 193-213, 294-407, 455-456, 570\r\nhappybase.util            30     12    60%   15-22, 31, 41, 67-71\r\ntests                      0      0   100%   \r\ntests.test_api           363    259    29%   49, 52-53, 77, 173-183, 187-208, 212-248, 252-291, 295-321, 325-352, 356-428, 432-444, 451-453, 457-480, 484-488, 493-540, 544-557, 561-578\r\ntests.test_util           26     22    15%   11-29, 33-54\r\n----------------------------------------------------\r\nTOTAL                    789    450    43%   \r\n----------------------------------------------------------------------\r\nRan 12 tests in 3.982s\r\n\r\nFAILED (errors=2)\r\nMakefile:12: recipe for target 'test' failed\r\nmake: *** [test] Error 1\r\n```"}}