Commit c9cbe2fc authored by 高雅喆's avatar 高雅喆

update

parent e5bdf6e4
......@@ -81,6 +81,10 @@ if __name__ == '__main__':
spark.sparkContext.addPyFile("/srv/apps/ffm-baseline_git/eda/smart_rank/tool.py")
device_ids_lst_rdd = spark.sparkContext.parallelize(action_type)
print("="*100)
print(action_type)
print(type(device_ids_lst_rdd))
print(device_ids_lst_rdd)
print("=" * 100)
result = device_ids_lst_rdd.repartition(100).map(
lambda x: args_test(x))
result.foreach(print)
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