Skip to content

Commit 7adbfe3

Browse files
committed
updated hbase_generate_data.py
1 parent ec751e7 commit 7adbfe3

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

hbase_generate_data.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ def run(self):
160160
try:
161161
log.info('connecting to HBase Thrift Server at {0}:{1}'.format(self.host, self.port))
162162
self.conn = happybase.Connection(host=self.host, port=self.port, timeout=10 * 1000) # ms
163-
# happybase.hbase.ttypes.IOError no longer there in Happybase 1.0
164-
#except (socket.timeout, ThriftException, happybase.hbase.ttypes.IOError) as _:
165163
except (socket.timeout, ThriftException, HBaseIOError) as _:
166164
die('ERROR: {0}'.format(_))
167165
tables = self.get_tables()

0 commit comments

Comments
 (0)