
spark
我一无所知
我一无所知,希望能一直在自己喜欢的事,不厌不烦。
展开
-
2021-08-03
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You un原创 2021-08-03 19:47:18 · 340 阅读 · 0 评论 -
2021-07-26
java + scala + maven + idea + spark 配置 1.java 安装 + JAVA_HOME + path里 %SCALA_HOME%\bin; 2.Scala 解压(无需安装)+ SCALA_HOME + path里 %SCALA_HOME%\bin 3.apache-maven-3.6.1 解压(无需安装)+ MAVEN_HOME + path里 %MAVEN_HOME%\bin 4.进入apache-maven-3.6.1\conf 下可以找到settings,查找<原创 2021-07-26 23:13:02 · 133 阅读 · 0 评论 -
2021-07-25
pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org原创 2021-07-25 20:59:45 · 133 阅读 · 0 评论 -
2021-07-25
***# hdfs*** package geektime.connecter import org.apache.spark.sql.{SaveMode,SparkSession} object SparkHDFS { def main(args: Array[String]): Unit = { val spark = SparkSession.builder().master(master = "local").appName(name = "SparkDataFormat").getOr原创 2021-07-25 20:56:20 · 281 阅读 · 0 评论