官术网_书友最值得收藏!

Setting up the Scala environment on the Command Line

To set up the environment locally, follow the steps listed next:

  1. Go to the root directory of Chapter 2, and choose the appropriate folder.
      $ cd /PATH/spark-ml/Chapter_02/breeze
Alternatively, choose the following:
      $ cd /PATH/spark-ml/Chapter_02/spark
  1. Compile the code.
      $ sbt compile
  1. Run the compiled code, and choose the program to run (classes shown depend on whether sbt run is executed in the Spark or Breeze folder).
      $ sbt run

Multiple main classes detected, select one to run:
....
Enter number:
主站蜘蛛池模板: 阳原县| 安龙县| 长武县| 灵武市| 西华县| 陇南市| 嘉禾县| 屯留县| 高青县| 南郑县| 方正县| 色达县| 科技| 德惠市| 龙泉市| 卓尼县| 尚志市| 礼泉县| 兴和县| 甘南县| 内乡县| 布拖县| 新龙县| 宜良县| 宕昌县| 噶尔县| 安新县| 曲沃县| 搜索| 宽甸| 玉门市| 绵阳市| 麟游县| 湘潭县| 合肥市| 西盟| 六枝特区| 湘乡市| 宁安市| 庆城县| 南昌县|