摘要: 1.先将Hadoop环境加入到eclipse中 2.生成模拟数据 1 package com.blb.core; 2 3 import java.io.BufferedWriter; 4 import java.io.File; 5 import java.io.FileNotFoundExcept 阅读全文
posted @ 2020-03-08 12:10 Tsugar 阅读(884) 评论(0) 推荐(0) 编辑
摘要: 1.下载插件 链接:https://pan.baidu.com/s/1Ds4p5eKWVhOD11D5dbtqNg 提取码:9lu4 2.将 hadoop-eclipse-plugin-2.7.3.jar 放入eclipse文件下的plugins文件夹目录下 3.将hadoopBin.rar解压的文 阅读全文
posted @ 2020-03-06 23:27 Tsugar 阅读(594) 评论(0) 推荐(0) 编辑
摘要: MapReduce 基于HDFS 1.环境搭建起来 伪分布式2.MapReduce是基于HDFS之上的 MapReduce计算的内容应该是HDFS上的文件/文件夹3.计算=>统计=>Mapper阶段=>Reduce阶段 MapReduce的编程模型4.Mapper类 继承Mapper类 重写Mapp 阅读全文
posted @ 2020-03-06 23:05 Tsugar 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Eclipse快捷键: https://www.runoob.com/eclipse/eclipse-shortcuts.html Js面试题: https://www.jianshu.com/p/f1f39d5b2a2e 阅读全文
posted @ 2020-02-28 14:36 Tsugar 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1.导入相关的jar包 druid mybatis mybatis-spring pageHelper mysql驱动包 spring-context-support spring-aspect spring-jdbc 事务切面 spring-tx 事务建议 spring-web servlet-a 阅读全文
posted @ 2020-02-22 14:11 Tsugar 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 1.rz命令将hadoop压缩包上传至Linux服务器中 2.tar -zxvf hadoop-2.7.7.tar.gz(解压即可用) 3.将解压出来的hadoop移到想要放的位置 mv hadoop-2.7.7 ../software 4.配置六个文件 配置文件在etc目录下 1.hadoop-e 阅读全文
posted @ 2020-02-19 22:31 Tsugar 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 1.安装wget yum install -y wget 2.备份/etc/yum.repos.d/CentOS-Base.repo cd /etc/yum.repos.d/ mv CentOS-Base.repo CentOS-Base.repo.back 3.下载阿里云的CentOS-6.rep 阅读全文
posted @ 2020-02-19 12:32 Tsugar 阅读(84) 评论(0) 推荐(0) 编辑
摘要: List<String> warnings = new ArrayList<String>();boolean overwrite = true;File configFile = new File("G:\\IdeaProjects\\Spring-study\\spring-mybatis\\s 阅读全文
posted @ 2020-02-12 18:43 Tsugar 阅读(195) 评论(0) 推荐(0) 编辑
摘要: applicationContext.xml: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/ 阅读全文
posted @ 2020-02-12 13:24 Tsugar 阅读(165) 评论(0) 推荐(0) 编辑
摘要: jar包 <!-- https://mvnrepository.com/artifact/cglib/cglib --><dependency> <groupId>cglib</groupId> <artifactId>cglib</artifactId> <version>3.1</version 阅读全文
posted @ 2020-02-11 23:38 Tsugar 阅读(140) 评论(0) 推荐(0) 编辑