您的当前位置:首页正文

本地测试

来源:图艺博知识网
    path = "/Users/ohmyfish/mdl0731"
    page_df = spark.read.json(path)

./bin/spark-submit --master local[4] ~/data_check.py 0
def calc_convert_rate(spark, one_day):
    json_df=spark.read.json("hdfs://10.0.0.55:9000/ald_log_etl/" + str(the_day))
Top