Hadoop集群配置详细版1.0.3

Hive4.0.1集群安装部署(Hadoop版本为3.3.6)(详细教程) hive本身没有直接关停服务的命令,可以通过端口进程的方式进行关闭。两个RunJar分别为metastore、hiveserver2的进程,可以通过“kill -9 进程号”进行关停。配置完metastore-site.xml,需要先初始化hive元数据库,选择在一台节点初始化即可。在hadoop安装目录下的core-site.xml中,需要开启hadoop代理用户配置。进入Hive的配置目录: cd /opt/apps/hive/conf/hive4.0已经弃用默认的Hive Cli。 阅读详情

之前配置Hadoop的很多步骤不太详细,配置文件的许多优化点也没太搞清楚,重新写一下。

2012.06.22更新:Hadoop版本兼容到1.0.3。

0、ssh免密码登录

1ssh-keygen -t rsa -P ""
2cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
3echo "StrictHostKeyChecking no" >> ~/.ssh/config

1、安装JDK7

01#下载 && 解压缩 && 安装
03tar -xzf jdk-7u2-linux-i586.tar.gz
04mv ./jdk1.7.0_02 ~/jdk
05  
06#配置JAVA_HOME环境变量
07vim ~/.bashrc
08export JAVA_HOME=/home/hadoop/jdk/
09export JAVA_BIN=/home/hadoop/jdk/bin
10export PATH=$JAVA_HOME/bin:$PATH
11export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

2、安装Hadoop(0.23.0)

01#安装解压缩Hadoop
03tar -xzvf hadoop-1.0.3-bin.tar.gz
04mv ./hadoop-1.0.3 ~/hadoop_home
05  
06#创建运行时目录
07cd ~/hadoop_home
08mkdir var
09cd var
10mkdir tmp mapred hdfs
11cd hdfs
12mkdir name data
13  
14#导出Java_HOME
15cd ~/hadoop_home/conf/
16vim ./hadoop-env.sh
17export JAVA_HOME=/home/hadoop/jdk/

更新:注意权限,新版本中,所有HDFS目录权限务必是755,不能是775。

1chmod 755 data name

3、准备环境变量

主要是HADOOP_HOME,在1.0之后,还要这个参数

1export HADOOP_HOME=/home/hadoop/hadoop_home/
2export HADOOP_HOME_WARN_SUPPRESS=1

4、配置hosts(Linux和Hadoop)

01#配置每个结点上的hosts文件
02sudo vim /etc/hosts
03#Hosts for hadoop
0410.70.0.101 hadoop1
0510.70.0.102 hadoop2
06......
07  
08#配置masters和slaves
09vim ~/hadoop_home/conf
10vim masters
11hadoop1
12vim slaves
13hadoop1
14hadoop2
15......

5、配置文件:

参数详细配置参考:http://hadoop.apache.org/common/docs/current/cluster_setup.html

core-site.xml

01<?xml version="1.0"?>
02<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
03<configuration>
04<property>
05  <name>fs.default.name</name>
06  <value>hdfs://hadoop1:54310</value>
07</property>
08<property>
09  <name>hadoop.tmp.dir</name>
10  <value>/home/hadoop/hadoop_home/var/tmp</value>
11</property>
12<!--Following use more memory but speed up more  -->
13<property>
14  <name>fs.inmemory.size.mb</name>
15  <value>200</value>
16</property>
17<property>
18  <name>io.sort.factor</name>
19  <value>100</value>
20</property>
21<property>
22  <name>io.sort.mb</name>
23  <value>200</value>
24</property>
25</configuration>

hdfs-site.xml

01<?xml version="1.0"?>
02<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
03<configuration>
04<property>
05  <name>dfs.replication</name>
06  <value>3</value>
07</property>
08<property>
09  <name>dfs.data.dir</name>
10  <value>/home/hadoop/hadoop_home/var/hdfs/data</value>
11</property>
12<property>
13  <name>dfs.name.dir</name>
14  <value>/home/hadoop/hadoop_home/var/hdfs/name</value>
15</property>
16<!--Here is 128MB !! -->
17<property>
18  <name>dfs.block.size</name>
19  <value>134217728</value>
20</property>
21<!--Parrel RPC Handler for namenode-->
22<property>
23    <name>dfs.namenode.handler.count</name>
24    <value>40</value>
25</property>
26</configuration>

mapred-site.xml

01<?xml version="1.0"?>
02<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
03<configuration>
04<property>
05  <name>mapred.job.tracker</name>
06  <value>hadoop1:54311</value>
07</property>
08<property>
09    <name>mapred.reduce.parallel.copies</name>
10    <value>20</value>
11</property>
12<property>
13  <name>mapred.local.dir</name>
14  <value>/home/hadoop/hadoop_home/var/mapred</value>
15</property>
16<property>
17  <name>mapred.tasktracker.map.tasks.maximum</name>
18  <value>12</value>
19</property>
20<property>
21  <name>mapred.tasktracker.reduce.tasks.maximum</name>
22  <value>6</value>
23</property>
24<!--Following use more memory but speed up more  -->
25<property>
26  <name>mapred.map.child.java.opts</name>
27  <value>-Xmx512M</value>
28</property>
29<property>
30  <name>mapred.reduce.child.java.opts</name>
31  <value>-Xmx512M</value>
32</property>
33</configuration>

6、格式化namenode

1cd bin
2./hadoop namenode -format

7、启动Hadoop

01cd ~/hadoop_home/bin
02./start-all.sh
03  
04#查看启动情况
05jps
067532 SecondaryNameNode
077346 NameNode
087433 DataNode
097605 JobTracker
107759 Jps
117701 TaskTracker

GUI:http://localhost:50030 (集群)
GUI:http://hadoop1:50070(HDFS)

8、其他说明:

mapred.tasktracker.map.tasks.maximum 每个结点最多运行多少个map
mapred.tasktracker.reduce.tasks.maximum 每个结点最多运行多少个reduce

Hadoop详细集群搭建 Hadoop详细安装 环境:在虚拟机上,或者租一个服务器(用学生证可以认证白嫖喔,阿里云服务器等) 阅读详情

相关推荐

hadoop3.3.0集群搭建(详细教程)

hadoop3.3.0 集群搭建详细教程

Andy86666的博客 1万+

Eclipse连接Hadoop集群(详细版)

相关连接 HDFS相关知识 Hadoop集群的安装与部署 Hadoop集群连接 HDFS Java API Eclipse连接Hadoop集群 注意事项 准备文件 具体步骤 WordCount程序运行示例

围炉夜敲的博客 1万+

Hadoop 3.1.3 详细安装教程

Hadoop 3.1.3 详细安装教程Hadoop运行环境搭建虚拟机环境准备(三台虚拟机都要执行)配置集群(三台虚拟机都要执行) Hadoop运行环境搭建 虚拟机环境准备(三台虚拟机都要执行) 1.准备三台虚拟机,虚拟机配置要求如下: (1)单台虚拟机:内存4G,硬盘50G,安装必要环境 sudo yum install -y epel-release sudo yum install -y psmisc nc net-tools rsync vim lrzsz ntp libzstd openssl-st

great0220的博客 5648

Hadoop集群搭建(详细版)

分别在hadoop101、hadoop102、hadoop103中修改 hosts 文件(主要用于映射 IP 地址和域名之间的连接)设置hostname,分别修改主机名为hadoop101、hadoop102、hadoop103,cat命令查看主机名。进入hadoop101,打开终端,设置为静态 ip ,添加 ip 地址、网关和域名。打开xshell,hadoop101、hadoop102、hadoop103建立连接。打开ens33并修改主机名为hadoop101,点击完成,开始安装。

qq_73824705的博客 1万+

Hadoop2.7.3和Spark2.1.0集群详细搭建教程

1.本文介绍本文包括如下内容 Ubuntu虚拟机安装过程 Ubuntu配置静态IP 配置SSH免密登录 Ubuntu国内APT软件源的配置 JDK,Scala,MySQL软件安装 Hadoop集群安装 Spark集群安装 Anaconda安装 使用到的软件的版本及下载地址 VMware Workstation 12.5.2 ubuntu-14.04.1-server-amd64 XShell 5

一黑到底 5097

python实现ECMS算法

ECMS(Equivalent Consumption Minimization Strategy)算法是一种用于混合动力汽车能量管理系统的优化策略。它通过计算等效油耗来平衡电池电量消耗和燃油消耗,从而优化整体能耗。以下是一个简单的Python实现,用于演示ECMS算法的基本思想。这个实现假设了一个简单的混合动力汽车模型,其中电池电量和燃油消耗是主要的优化目标。

weixin_45570158的博客 930

Hadoop大数据集群搭建(超详细)

本文主要介绍了Hadoop集群的搭建过程,图文详细,适合新手入门

小飞飞V5的博客 6万+

labview汽车电子通用测试程序架构,CAN通讯上位机

结合做过的汽车电子测试项目,车身控制器测试,CAN网络模块测试,电机控制器功能测试,汽车仪表盘视觉及功能测试、电气盒功能测试、EOL下线检测、车用空调控制器功能测试等项目,结合实际项目,整理编写的一个汽车电子,通用测试架构,包含项目的讲解等。6、数据保存 、数据处理、 曲线显示 、报警处理等。7、CAN总线故障信息监控及记录保存。2、参数设置(CAN端口及参数)5、CAN通讯+数据解析。

ali2805486883的博客 2778

Hadoop 3.1.3 分布式集群搭建,超详细,保姆级教程

Hadoop 3.1.3 分布式集群搭建,超详细,保姆级教程1.环境准备2 jdk1.8安装2.1 卸载虚拟机自带的JDK2.2 安装JDK1.83.在 hadoop102 安装Hadoop集群3.1集群安装准备3.2 安装hadoop3.3 hadoop运行模式3.4 完全分布式运行模式(开发重点)3.4.1 编写集群分发脚本 xsync3.4.2 ssh免密配置3.4.3 集群配置3.4.4 启动集群 在学习的时候,碰到过很多同学,因为安装集群遇到过各种稀奇古怪的问题,导致很多人的兴趣大大降低。并且本人

m0_50293032的博客 1万+

使用 ANSYS AEDT(双向耦合)对高功率射频同轴滤波器进行热分析

使用 ANSYS HFSS,可以精确计算 EM 损耗,然后将其导入 ANSYS 热分析并使用 ANSYS Icepak CFD 求解器进行仿真,以帮助工程师解决最复杂的热挑战,并预测其设计在温度变化下的表现。然后,RF 损耗将与 ANSYS Icepak CFD 求解器耦合,以执行热分析,包括传热的传导、对流和辐射模式,并计算温度曲线。在此演示中,我们将仿真下面的 RF 同轴滤波器,并计算由于所用材料的有限电导率和介电损耗而导致的 RF 传导损耗。设置 HFSS 设计后,我们可以开始 HFSS 仿真。

jkh920184196的博客 1063

从零开始做题:big_zip

内容为:You_know_the_bed_feels_warmer_Sleeping_here_alone_You_know_I_dream_in_color_And_do_the_things_I_want_You_think_you_got_the_best_of_me_Think_you_had_the_last_laugh_Bet_you_think_that_everything_good_is_gone。查看压缩包内容,发现有五字节长度的文件,用crc碰撞攻击破解明文。

weixin_44626085的博客 1245

Hadoop3.3.0完全分布式集群搭建详细教程

Hadoop3.3.0完全分布式集群搭建 前言 从零开始学习hadoop,记录成长过程,也是为了集群崩了还能搭好。话不多说,我们开始干活了! 环境: 虚拟机:VMware15 Linux系统:centos7 需要提前准备好的安装包: 1.centos7镜像文件 2.VMware安装包 3.hadoop3.3.0和jdk1.8压缩包 4.远程访问工具xshell和xftp 接下来面对疾风吧 一、VMware安装 一直点击下一步就可以了,如果c盘不够,可以选择更改安装位置。 密钥可以去网上搜 安装完成

m0_46698362的博客 9243

硬件知识点-----SPI串联电阻、振铃、过冲

电阻取值,没有公式,一被传输线的特征阻抗为50欧姆左右,而TTL电路输出电阻大桃为13欧姆左右,在源端串一个33姆,大致和50相当,这样就可以柳制从终端反射回来的倍号,防止再次反射。传输时间tp=L/V,其中L是导线长度,V是电磁波在电路板中的传输速度V=C/sqrDk,其中Dk是光速衰减因子,对于电路板而言是铜线,Dk=4电磁波在电路板中的速度都是慢于光速的。实际上串联多大的电阻与传输线的阻抗有关,为了保证阻抗的连续性,如果传输线的特性阻抗 Z0与驱动源的输出阻抗 Zd不匹配,会引发信号的反射。

贾saisai的博客 2755

hadoop3.x版本集群部署(万字整理详细图文版)

本篇为hadoop3.x版本的集群部署过程,涵盖从环境搭建、hadoop集群NameNode、DataNone、SecondaryNameNode、ResourceManager、JobHistory、HDFS、Yarn的组件服务配置等步骤,其中搭建过程参考尚硅谷的部署资料。

Rookie_10的博客 2138

大厂面试:字节跳动大数据面试题及参考答案(10万字长文及多张原理图持续更新)

在 Spark 中,宽窄依赖是用来描述 RDD(弹性分布式数据集)之间的依赖关系的概念。窄依赖是指父 RDD 的每个分区最多被一个子 RDD 的分区使用,即子 RDD 的分区可以通过确定的规则从父 RDD 的分区计算得到,并且不需要跨节点进行数据传输。窄依赖通常可以在一个节点上进行计算,不需要进行数据的 shuffle 操作,因此性能较高。宽依赖是指父 RDD 的一个分区可能被多个子 RDD 的分区使用,即子 RDD 的分区需要通过跨节点的数据 shuffle 操作从父 RDD 的多个分区获取数据。

大模型大数据攻城狮的专栏 1658

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

搭建 Hadoop 集群详细教程

## 1. 准备工作 ### 1.1 环境 - Centos 7 - JDK 1.8 - Hadoop 2.10.0

深刻的博客 7453

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

VMware+Centos7+Hadoop3.2.0搭建hadoop集群(详细教程!!)

第一步:VMware的下载、安装及破解 附上教程:https://blog.csdn.net/qq_40950957/article/details/80467513 第二步:Centos7镜像的下载、安装 镜像下载地址:https://mirrors.aliyun.com/centos/7.6.1810/isos/x86_64/ 下载完成之后 我们打开VMware。 1.创建新的虚拟机 2.点...

paotianzhou的博客 9667

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain&#39;s apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath(&#39;DeepLearnToolbox&#39;));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand(&#39;state&#39;,0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W&#39;); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand(&#39;state&#39;,0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = &#39;sigm&#39;;%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, &#39;Too big error&#39;);```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand(&#39;state&#39;,0)sae = saesetup([784 100]);sae.ae{1}.activation_function = &#39;sigm&#39;;sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)&#39;)% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = &#39;sigm&#39;;nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, &#39;Too big error&#39;);```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x&#39;,28,28,60000))/255;test_x = double(reshape(test_x&#39;,28,28,10000))/255;train_y = double(train_y&#39;);test_y = double(test_y&#39;);%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you&#39;ll get around 1.2% errorrand(&#39;state&#39;,0)cnn.layers = { struct(&#39;type&#39;, &#39;i&#39;) %input layer struct(&#39;type&#39;, &#39;c&#39;, &#39;outputmaps&#39;, 6, &#39;kernelsize&#39;, 5) %convolution layer struct(&#39;type&#39;, &#39;s&#39;, &#39;scale&#39;, 2) %sub sampling layer struct(&#39;type&#39;, &#39;c&#39;, &#39;outputmaps&#39;, 12, &#39;kernelsize&#39;, 5) %convolution layer struct(&#39;type&#39;, &#39;s&#39;, &#39;scale&#39;, 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, &#39;Too big error&#39;);```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, &#39;Too big error&#39;);%% ex2 neural net with L2 weight decayrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex3 neural net with dropoutrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex4 neural net with sigmoid activation functionrand(&#39;state&#39;,0)nn = nnsetup([784 100 10]);nn.activation_function = &#39;sigm&#39;; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex5 plotting functionalityrand(&#39;state&#39;,0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = &#39;softmax&#39;; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand(&#39;state&#39;,0)nn = nnsetup([784 20 10]); nn.output = &#39;softmax&#39;; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, &#39;Too big error&#39;);```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

Hadoop集群搭建配置教程

Hadoop3.1.3集群搭建前言集群规划集群搭建具体步骤1、下载`hadoop-3.1.3.tar.gz`2、上传并解压3、配置`path`变量4、修改配置文件4.1 修改文件`hadoop-env.sh`4.2 修改文件workers4.3 修改文件`core-site.xml`4.4 修改文件`hdfs-site.xml`4.5 修改文件`mapred-site.xml`4.6 修改文件 `yarn-site.xml`5、把`/opt/module/hadoop`复制到其他节点上6、在其他节点上操作7

笑看风云路的博客 9604

Hadoop3.3.0集群安装

Hadoop3.3.0集群安装1.集群规划2.关闭防火墙3.设置静态IP,修改主机名,以及创建集群账号4.关机,快照,克隆5.编写一个分发脚本6.配置免密登陆7.安装Java和Hadoop8.安装hadoop集群9.通过网页访问hdfs集群的状态10.通过网页访问YARN集群的状态寄语 环境:JDK1.8 Centos 7.8 Hadoop 3.3.0 1.集群规划 在VMWare中构建3台运行Centos的机器作为服务器,一共3个node,一个node为namenode(master主机) ,另外两个no

学无止境,永不停歇 7653

Hadoop3.0集群环境搭建

1 前言 项目中大部分数据存储在Hadoop分布式文件系统(HDFS)中,包括MPI并行用到的原始数据,因此我搭建了Hadoop集群进行测试。距离我搭建Hadoop集群也有几个月了,当时只记录下了主要步骤,有些细节可能被遗忘。不过我会用最通俗的语言还原搭建Hadoop3.0集群的流程,尽可能保证所有读者在看了我的文章后可以成功搭建出Hadoop集群。 2 准备工作 集群中两个节点(m...

secyb的博客 5511

1、hadoop3.1.3 分布式集群搭建的详细教程

1、创建虚拟机 扩展知识: VMware虚拟机的网络模式 — 桥接模式、仅主机模式、NAT模式的特点和配置 2、用户登录过程中遇到的问题 扩展知识: xxx is not in the sudoers file.This incident will be reported.的解决方法 Ubuntu16.04 只能以游客身份登录问题 每天学一个linux命令——chown将指定文件的拥有者改为指定的...

STAR GAME 5165

【大数据平台搭建】Hadoop 3.1.3+Spark 3.0.0集群搭建

1、安装环境 vmware、centos 7、jdk 1.8、scala 2.12.11、hadoop 3.1.3、spark 3.0.0(spark 版本对 jdk、scala 版本有要求,详见官方文档) 2、运行环境搭建 3、系统集群规划 4、hadoop配置 5、hadoop 测试 6、spark配置 7、spark 测试 ...

人生何事不浮云 8379

CentOS7搭建Hadoop-3.3.0集群手记

前提这篇文章是基于Linux系统CentOS7搭建Hadoop-3.3.0分布式集群的详细手记。基本概念Hadoop中的HDFS和YARN都是主从架构,主从架构会有一主多从和多主多从两种...

Throwable 5893

搭建hadoop集群的详细步骤

在前一篇hadoop虚拟机第一次部署完成后,接下来就是搭建hadoop集群,本次搭建三台虚拟机构成一个集群实现完全分布式运行模式,三台虚拟机分别是hadoop112、hadoop213、hadoop214。将本地下载好的JDK和Hadoop(为了下面hadoop安装)的jar包通过xftp传到hadoop112虚拟机的 /opt/software 目录下。(jar包下载资源在我博客内,需要的自行下载。) 安装成功! 注意:如果 java -version 不可用重启一下试试。由于第二步已经将hadoop安

Big_Jojo的博客 2891
上一篇: 从hadoop0.21 到 hadoop1.0.3
下一篇: linux安装hadoop 1.0.3
gaobooo
博客等级 码龄18年 3粉丝 12原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值