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

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:
主站蜘蛛池模板: 青岛市| 札达县| 九龙县| 大安市| 平利县| 西林县| 来凤县| 清原| 陇西县| 马鞍山市| 奉节县| 多伦县| 内黄县| 游戏| 马关县| 宜阳县| 察雅县| 尖扎县| 连山| 大连市| 东阳市| 莲花县| 金阳县| 普兰店市| 麻城市| 巨鹿县| 苏尼特右旗| 乐安县| 广水市| 天等县| 宜兰市| 禄劝| 玉门市| 华蓥市| 重庆市| 忻城县| 永登县| 墨脱县| 南安市| 平泉县| 台安县|