install in sogou-env & test with thrift, sogou-cdh3u4, pre-hbase

Summary:
    1.change hbase version in pom.xml
    2.install thrift and run gen_thrift_code.sh
    3.fix rpm package bug in rhel5
    4.compatible sogou-hadoop environment