Commit 640b61aa authored by 郭羽's avatar 郭羽

hive test

parent bb6c2aaa
...@@ -21,8 +21,8 @@ from collections import defaultdict ...@@ -21,8 +21,8 @@ from collections import defaultdict
import json import json
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
import utils.connUtils as connUtils
import utils.configUtils as configUtils import utils.configUtils as configUtils
import utils.connUtils as connUtils
......
import redis import redis
from pyhive import hive
def getRedisConn(): def getRedisConn():
pool = redis.ConnectionPool(host="172.16.50.145",password="XfkMCCdWDIU%ls$h",port=6379,db=0) pool = redis.ConnectionPool(host="172.16.50.145",password="XfkMCCdWDIU%ls$h",port=6379,db=0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment