modified to compliant with hbase 0.94.1-security