Commit 7dec134c authored by 张彦钊's avatar 张彦钊

add test file

parent fe17b60f
import time import time
from pyspark.context import SparkContext
from pyspark.conf import SparkConf
conf = SparkConf().setMaster("spark://10.30.181.88:7077").setAppName("My app")
sc = SparkContext(conf=conf)
sc.setLogLevel("WARN")
for i in range(1,100): for i in range(1,100):
print(i) print(i)
time.sleep(5) time.sleep(5)
\ No newline at end of file
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