trans data from psql to hive and hdfs