001-scala Development environment Construction and HelloWorld parsing
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6F/7A/wKiom1Wd1vGx30HBAAST-S83WFU734.jpg "title=" 001- Scala development Environment Building and HelloWorld parsing. png "alt=" wkiom1wd1vgx30hbaast-s83wfu734.jpg "/>scalafunctional programming and object-oriented languagefunctional Programming excels at numerical calculationsObject oriented organization and teamwork of large engineering and projectScalawill it be the next great language?? Sparkis to useScalalanguage written byHadoopis to useJavalanguage written bymove one finger less .ScalaDevelopment Environmentbased onJvmthe operating environmentneed to installJavaRecommended7or8versionNote Select the number of digits to match and the system'sJavaConfiguring environment VariablesJava_homepathadded inBinCatalogueCLASS_PATHdt.jartools.jar
current directoryScalasparksupported versions are required2.10.x2.10.4*.msiConfiguring environment VariablesScala_homepathadded inBinCatalogueTestOpenCmdCommand Prompt,View versionJava-versionscalaidearecommended use of thisBig Data development is done on this one.support is particularly goodIntegratedSbt,mavenespecially easy to share and packEclipseBeginner Essentialshas been automatically integrated withScalaPluginsHELLOWORLDprogramautomatically import related packagesLibEstablishObjectscalastatic object of the classThe default is staticcan automatically prompt the codePassing ParametersRun configurationarguments (Parameters)using the EnhancedForLoopsvariables do not need to be declared
Welcome to the vast number of enthusiasts to learn and exchange. Also welcome to join the study enthusiasts
DT Big Data Dream Factory Exchange Group: 462923555
DT Big Data public account: Dt_spark
Video Watch Link http://www.tudou.com/listplay/Yy5F5gsurSE/sFM_BhV1si0.html
This article is from the "play Big Data Spark" blog, so be sure to keep this source http://sparklearn.blog.51cto.com/10501871/1672415
Scala-----------001-scala Development environment Construction and HelloWorld analysis