Commit c7ac85c4 c7ac85c4fab8c976e486c484c6eebca40184d1ac by zhanghao

commit

1 parent 18e0a635
...@@ -8,4 +8,4 @@ ...@@ -8,4 +8,4 @@
8 #total=$(hive -f ./shell/select.hql) 8 #total=$(hive -f ./shell/select.hql)
9 #result=$(echo $total | tr " " ",") 9 #result=$(echo $total | tr " " ",")
10 #curl http://192.168.8.113:9090/tool/hadoopTotal?total=${result} 10 #curl http://192.168.8.113:9090/tool/hadoopTotal?total=${result}
11 $(hive -e 'create table testdb.qa_log_$(1) as select * from testdb.qa_log')
...\ No newline at end of file ...\ No newline at end of file
11 $(hive -hivevar name=qa_log_$1 -f ./shell/back_up.hql)
...\ No newline at end of file ...\ No newline at end of file
......
1 use testdb;
2 create table ${hivevar:name} as select * from qa_log
...\ No newline at end of file ...\ No newline at end of file