摘要:
HDFS 的 API 操作 package com.atguigu.hdfs;import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.*;import org.apache.hadoop.yarn.webapp. 阅读全文
摘要:
HDFS 的 Shell 操作 [-appendToFile <localsrc> ... <dst>] [-cat [-ignoreCrc] <src> ...] [-chgrp [-R] GROUP PATH...] [-chmod [-R] <MODE[,MODE]... | OCTALMOD 阅读全文
摘要:
配置历史服务器 (1)配置 mapred-site.xml <!-- 历史服务器端地址 --> <property> <name>mapreduce.jobhistory.address</name> <value>hadoop102:10020</value> </property> <!-- 历 阅读全文
摘要:
配置集群 (1)配置 core-site.xml <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <!-- 指定 Na 阅读全文
摘要:
完全分布式运行模式 (1)xsync 集群分发脚本 在/home/atguigu/bin 目录下创建 xsync 文件 #!/bin/bash #1. 判断参数个数 if [ $# -lt 1 ] then echo Not Enough Arguement! exit; fi #2. 遍历集群所有 阅读全文
摘要:
在 hadoop102 安装 Hadoop (1)用 XShell 文件传输工具将 hadoop-3.1.3.tar.gz 导入到 opt 目录下面的 software 文件夹下v> (2)解压安装文件到/opt/module 下面tar -zxvf hadoop-3.1.3.tar.gz -C / 阅读全文
摘要:
hadoop102安装jdk (1)卸载现有 JDK (2)用 XShell 传输工具将 JDK 导入到 opt 目录下面的 software 文件夹下面 (3)解压 JDK 到/opt/module 目录下 tar -zxvf jdk-8u212-linux x64.tar.gz -C /opt 阅读全文
摘要:
1.安装hadoop 模板虚拟机环境准备 (1)安装模板虚拟机,IP地址192.168.10.100、主机名称hadoop100、内存4G、硬盘50G (2)安装epel-release(3)在/opt目录下创建文件夹,并修改所属主和所属组 利用模板机 hadoop100,克隆三台虚拟机: hado 阅读全文
摘要:
1.热词分析实现 部分代码: div align="center"><a target='_blank' href="find.jsp">论文查询</a></div><body> <div id="main" align="center" style="height:300%;"> </div> < 阅读全文