Commit 13ccecd1 authored by litaolemo's avatar litaolemo

update

parent f496d45b
......@@ -72,7 +72,7 @@ sparkConf.setAppName("search_diary_ctr")
spark = (SparkSession.builder.config(conf=sparkConf).config("spark.sql.extensions", "org.apache.spark.sql.TiExtensions")
.config("spark.tispark.pd.addresses", "172.16.40.170:2379").appName(
"search_diary_ctr").enableHiveSupport().getOrCreate())
spark.sparkContext.setLogLevel("ERROR")
# spark.sparkContext.setLogLevel("ERROR")
spark.sql("ADD JAR hdfs:///user/hive/share/lib/udf/brickhouse-0.7.1-SNAPSHOT.jar")
spark.sql("ADD JAR hdfs:///user/hive/share/lib/udf/hive-udf-1.0-SNAPSHOT.jar")
......
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