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

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:
主站蜘蛛池模板: 梓潼县| 卓资县| 中宁县| 兰坪| 犍为县| 三门峡市| 肇州县| 易门县| 陈巴尔虎旗| 大城县| 龙井市| 清水河县| 镇雄县| 云龙县| 屏东县| 炎陵县| 营口市| 宁蒗| 密云县| 旅游| 清镇市| 黄石市| 凤庆县| 彭阳县| 本溪市| 东海县| 贵阳市| 郧西县| 星子县| 奉化市| 日照市| 宿州市| 苍山县| 颍上县| 清涧县| 通州区| 泸州市| 潢川县| 安吉县| 浙江省| 藁城市|