-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I am totally new about hbase, just want to learn how to use it. So I install hbase in a standalone mode, when I call getHBaseVersion function in pyhbase, it return the error. It is appropriated that anyone could help to resolve it. Thanks a lot.
Traceback (most recent call last):
File "Process.py", line 5, in
Hbase_DB.get_hbase_version()
File "/home/dennis/URL_DB_script/pyhbase/connection.py", line 22, in f
return fn(self, _args, *_kwargs)
File "/home/dennis/URL_DB_script/pyhbase/connection.py", line 64, in get_hbase_version
return self.requestor.request("getHBaseVersion", {})
File "build/bdist.linux-i686/egg/avro/ipc.py", line 145, in request
File "build/bdist.linux-i686/egg/avro/ipc.py", line 260, in issue_request
File "build/bdist.linux-i686/egg/avro/ipc.py", line 187, in read_handshake_response
File "build/bdist.linux-i686/egg/avro/io.py", line 445, in read
File "build/bdist.linux-i686/egg/avro/io.py", line 490, in read_data
File "build/bdist.linux-i686/egg/avro/io.py", line 690, in read_record
File "build/bdist.linux-i686/egg/avro/io.py", line 482, in read_data
File "build/bdist.linux-i686/egg/avro/io.py", line 544, in read_enum
File "build/bdist.linux-i686/egg/avro/io.py", line 178, in read_int
File "build/bdist.linux-i686/egg/avro/io.py", line 184, in read_long
TypeError: ord() expected a character, but string of length 0 found