Commit 46fbd4bf authored by Your Name's avatar Your Name

bug fix

parent 67a36e5b
......@@ -195,7 +195,10 @@ if __name__ == "__main__":
tf.logging.set_verbosity(tf.logging.INFO)
te_files = ["hdfs://172.16.32.4:8020/strategy/esmm/nearby/part-r-00000"]
main(te_files)
rdd_te_files = spark.sparkContext.parallelize(te_files)
rdd_te_files.repartition(5).map(lambda x: main(x))
# main(te_files)
b = time.time()
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