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

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:
主站蜘蛛池模板: 江安县| 邵东县| 巴楚县| 嘉荫县| 绍兴县| 石泉县| 惠水县| 宜丰县| 大冶市| 北流市| 泸溪县| 慈溪市| 凤山市| 阳西县| 无锡市| 伊通| 麟游县| 西贡区| 东乡县| 平江县| 迁西县| 万山特区| 武城县| 黄浦区| 黔南| 扶余县| 万宁市| 岳阳市| 岳普湖县| 万载县| 洛扎县| 灵川县| 宁陵县| 甘南县| 枝江市| 巫山县| 木兰县| 舞钢市| 磐安县| 博爱县| 贺兰县|