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

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:
主站蜘蛛池模板: 祁阳县| 许昌县| 利津县| 冷水江市| 嵩明县| 青铜峡市| 砀山县| 子长县| 子洲县| 定结县| 宁乡县| 山东省| 吉安市| 额济纳旗| 昭觉县| 合川市| 余干县| 巍山| 兴海县| 龙州县| 河津市| 宜章县| 株洲县| 林芝县| 永济市| 塘沽区| 德兴市| 榆中县| 米脂县| 阿克| 石狮市| 成都市| 仁布县| 额敏县| 石景山区| 烟台市| 太湖县| 道孚县| 娄底市| 博爱县| 江西省|