Coder Social home page Coder Social logo

appcluster's Introduction

appCluster

移动手机安装应用列表反映不同用户群体喜爱,可以抽象提取为用户画像特征
训练样本以7天30多G,dwu=2600多万,启动脚本如下:

spark2-submit  --master yarn --deploy-mode cluster --class com.meiyou.cluster.AppCluster --queue lee --executor-memory 8G --executor-cores 4 --driver-memory 8G --num-executors 50 --driver-cores 1 --conf spark.default.parallelism=600 hdfs://lee:8020/jars/app_cluster.jar 50 20 128 129

离线测试样本为每天数据,启动脚本如下:

spark2-submit  --master yarn --deploy-mode cluster --class com.meiyou.cluster.OnLineCluster --queue lee --executor-memory 4G --executor-cores 8 --driver-memory 16G --num-executors 20 --driver-cores 10 --conf spark.default.parallelism=600 --conf spark.kryoserializer.buffer.max=128m hdfs://bjn-1:8020/jars/app_cluster.jar 20 $(date +"%Y%m%d" -d "-1 days")

实时测试样本batch=30,启动脚本如下:

spark2-submit  --master yarn --deploy-mode cluster --class com.meiyou.cluster.AppClusterDstream --queue lee --executor-memory 4G --executor-cores 4 --driver-memory 8G --num-executors 5 --driver-cores 4 --conf spark.kryoserializer.buffer.max=128m hdfs://bjn-1:8020/jars/app_cluster.jar 30

appcluster's People

Contributors

baymaxkevin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.