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

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:
主站蜘蛛池模板: 重庆市| 孙吴县| 东源县| 嘉鱼县| 大英县| 丹巴县| 石狮市| 郎溪县| 高碑店市| 铜陵市| 淮北市| 舟曲县| 汕尾市| 松溪县| 河间市| 漳州市| 大邑县| 巴彦县| 肃宁县| 广东省| 和顺县| 远安县| 突泉县| 古蔺县| 佛坪县| 文登市| 夏河县| 高碑店市| 荔浦县| 石嘴山市| 泸州市| 湖南省| 华阴市| 大埔区| 凤城市| 武义县| 龙江县| 红桥区| 元江| 孝义市| 电白县|