Commit 064892be authored by 张彦钊's avatar 张彦钊

修改master

parent 0fc1eb15
......@@ -77,7 +77,7 @@ def test():
# click = click.map(lambda x: (x[0], x[1], x[2], 1))
def hive():
conf = SparkConf().setMaster("spark://10.30.181.88:7077").setAppName("My app")
conf = SparkConf().setAppName("My app")
sc = SparkContext(conf=conf)
sc.setLogLevel("WARN")
sqlContext = HiveContext(sc)
......
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