server.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:Spark_Movie_recsys 作者: dreamcity 项目源码 文件源码
def init_spark_context():
    # load spark context
    conf = SparkConf().setAppName("movie_recommendation-server")
    # IMPORTANT: pass aditional Python modules to each worker
    # sc = SparkContext(conf=conf, pyFiles=['rec_engine.py', 'app.py'])
    sc = SparkContext(conf=conf)

    return sc
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号