Fix bug 1246791 HBase Thrift service did not work for Apache distro