support Thrift in smRunner