摘要:
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 阅读全文
摘要:
1.下载插件 链接:https://pan.baidu.com/s/1Ds4p5eKWVhOD11D5dbtqNg 提取码:9lu4 2.将 hadoop-eclipse-plugin-2.7.3.jar 放入eclipse文件下的plugins文件夹目录下 3.将hadoopBin.rar解压的文 阅读全文
摘要:
MapReduce 基于HDFS 1.环境搭建起来 伪分布式2.MapReduce是基于HDFS之上的 MapReduce计算的内容应该是HDFS上的文件/文件夹3.计算=>统计=>Mapper阶段=>Reduce阶段 MapReduce的编程模型4.Mapper类 继承Mapper类 重写Mapp 阅读全文
摘要:
Eclipse快捷键: https://www.runoob.com/eclipse/eclipse-shortcuts.html Js面试题: https://www.jianshu.com/p/f1f39d5b2a2e 阅读全文
摘要:
1.导入相关的jar包 druid mybatis mybatis-spring pageHelper mysql驱动包 spring-context-support spring-aspect spring-jdbc 事务切面 spring-tx 事务建议 spring-web servlet-a 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
List<String> warnings = new ArrayList<String>();boolean overwrite = true;File configFile = new File("G:\\IdeaProjects\\Spring-study\\spring-mybatis\\s 阅读全文
摘要:
applicationContext.xml: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/ 阅读全文
摘要:
jar包 <!-- https://mvnrepository.com/artifact/cglib/cglib --><dependency> <groupId>cglib</groupId> <artifactId>cglib</artifactId> <version>3.1</version 阅读全文