Hadoop2.6.0分布式部署參考手冊(cè)_第1頁(yè)
Hadoop2.6.0分布式部署參考手冊(cè)_第2頁(yè)
Hadoop2.6.0分布式部署參考手冊(cè)_第3頁(yè)
Hadoop2.6.0分布式部署參考手冊(cè)_第4頁(yè)
Hadoop2.6.0分布式部署參考手冊(cè)_第5頁(yè)
已閱讀5頁(yè),還剩13頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、.頁(yè)腳Hadoop 260分布式部署參考手冊(cè)1. 環(huán)境說(shuō)明. 21.1安裝環(huán)境說(shuō)明 . 22.2 Hadoop集群環(huán)境說(shuō)明: . 22. 基礎(chǔ)環(huán)境安裝及配置 . 22.1 添加hadoop用戶 . 22.2 JDK 1.7 安裝 . 22.3 SSH無(wú)密碼登陸配置 . 32.4修改hosts映射文件 . 33. Hadoop安裝及配置 . 43.1通用部分安裝及配置 . 43.2各節(jié)點(diǎn)配置 . 44. 格式化/啟動(dòng)集群 . 44.1格式化集群HDFS文件系統(tǒng). 44.2啟動(dòng)Hadoop集群 . 5附錄1關(guān)鍵配置內(nèi)容參考 . 51core-site.xml . 52hdfs-site.xml .

2、 53mapred-site.xml . 64yar n-site.xml . 65hadoop-e nv.sh . 76slaves . 7附錄2詳細(xì)配置內(nèi)容參考 . 71core-site.xml . 72hdfs-site.xml . 83mapred-site.xml . 84yarn-site.xml . 105hadoop-e nv.sh . 136slaves . 13附錄3詳細(xì)配置參數(shù)參考 . 13* con f/core-site.xml . 13* con f/hdfs-site.xml . 13o Con figurati ons forNameNode: 13o Con

3、 figurati ons forDataNode: 14* conf/yarn-site.xml . 14o Con figuratio ns forResourceMa nager and NodeMa nager: 14o Con figurati ons forResourceMa nager: 15o Con figurati ons forNodeMa nager: 16o Con figuratio ns for History Server (Needs to be moved elsewhere):.17* con f/mapred-site.xml . 17o Con fi

4、guratio ns for MapReduce Applicati ons:. 17o Con figuratio ns for MapReduce JobHistory Server:. 18.頁(yè)腳1.環(huán)境說(shuō)明1.1安裝環(huán)境說(shuō)明本列中,操作系統(tǒng)為 Centos 7.0 , JDK版本為 Oracle HotSpot 1.7 , Hadoop版本為 ApacheHadoop 2.6.0 ,操作用戶為 hadoop。2.2 Hadoop集群環(huán)境說(shuō)明:集群各節(jié)點(diǎn)信息參考如下:主機(jī)名IP地址角色ResourceMa nagerResourceMa nager & MR JobH

5、istory ServerNameNodeNameNodeSec on daryNameNodeSec on daryNameNodeDataNode01DataNode & NodeMa nagerDataNode02DataNode & NodeMa nagerDataNode03DataNode & NodeMa nagerDataNode04DataNode & NodeMa nagerDataNode05DataNode & NodeMa nag

6、er注:上述表中用”&連接多個(gè)角色,如主機(jī)”ResourceMa nager ”有兩個(gè)角色,分別為ResourceManager 和 MR JobHistory Server 。2.基礎(chǔ)環(huán)境安裝及配置2.1添加hadoop用戶useradd hadoop用戶hadoop”即為Hadoop集群的安裝和使用用戶。2.2 JDK 1.7 安裝Centos 7自帶的JDK版本為OpenJDK 1.7,本例中需要將其更換為Oracle HotSpot 1.7版,本例中采用解壓二進(jìn)制包方式安裝,安裝目錄為/opt/。查看當(dāng)前JDK rpm包rpm -qa | grep jdk java-1.7.0-ope

7、njdk-1-.el7.x86_64java-1.7.0-openjdk-headless-1-.el7.x86_64.頁(yè)腳刪除自帶JDKrpm -e -no depsjava-1.7.0-openjdk-1-.el7.x86_64rpm -e -no depsjava-1.7.0-openjdk-headless-1-.el7.x86_64安裝指定JDK進(jìn)入安裝包所在目錄并解壓配置環(huán)境變量編輯/.bashrc 或者/etc/profile,添加如下內(nèi)容:#JAVAexport JA

8、VA_HOME=/opt/jdk1.7export PATH=$PATH:$JAVA_HOME/binexport CLASSPATH=$JAVA_HOME/libexport CLASSPATH=$CLASSPATH:$JAVA_HOME/jre/lib2.3 SSH無(wú)密碼登陸配置需要設(shè)置如上表格所示8臺(tái)主機(jī)間的SSH無(wú)密碼登陸。進(jìn)入hadoop用戶的根目錄下并通過(guò)命令ssh-keygen -t rsa生成秘鑰對(duì)創(chuàng)建公鑰認(rèn)證文件authorized_keys并將生成的/.ssh 目錄下的id_rsa.pub 文件的內(nèi)容輸出至該文件:more id_rsa.pub auhorized_keys

9、分別改變/.ssh目錄和authorized_keys 文件的權(quán)限:chmod 700 /.ssh;chmod 600 /.ssh/authorized_keys每個(gè)節(jié)點(diǎn)主機(jī)都重復(fù)以上步驟,并將各自的/.ssh/ id_rsa.pub 文件的公鑰拷貝至其他主機(jī)。對(duì)于以上操作,也可以通過(guò)一句命令搞定:rm -rf /.ssh;ssh-keyge n -t rsa;chmod 700 /.ssh;more /.ssh/id_rsa.pub /.ssh/authorized_keys;chmod 600 /.ssh/authorized_keys;注:在centos 6中可以用dsa方式:ssh-k

10、eygen -t dsa命令來(lái)設(shè)置無(wú)密碼登陸,在centos7中只能用rsa方式,否則只能ssh無(wú)密碼登陸本機(jī),無(wú)能登陸它機(jī)。2.4修改hosts映射文件分別編輯各節(jié)點(diǎn)上的/etc/hosts文件,添加如下內(nèi)容:ResourceManagerNameNodeSecondaryNameNodeDataNode01DataNode02.頁(yè)腳DataNode03DataNode04DataNode05NodeManager

11、01NodeManager02NodeManager03NodeManager04 NodeManager053.Hadoop安裝及配置3.1通用部分安裝及配置以下操作內(nèi)容為通用操作部分,及在每個(gè)節(jié)點(diǎn)上的內(nèi)容一樣。分別在每個(gè)節(jié)點(diǎn)上重復(fù)如下操作:將hadoop安裝包(hadoop-2.6.0.tar )拷貝至/opt目錄下,并解壓:tar -xvf hadoop-2.6.0.tar解壓后的 hadoop-2.6.0 目錄(/opt/hadoop-2.6.0) 即為hadoop的安裝根目錄更改hadoop安裝目錄had

12、oop-2.6.0的所有者為 hadoop用戶:chow n -R hadoop.hadoop /opt/hadoop-2.6.0添加環(huán)境變量:#hadoopexport HAD00P_H0ME=/opt/hadoop-2.6.0export PATH=$PATH:$HADOOP_HOME/binexport PATH=$PATH:$HADOOP_HOME/sbin3.2各節(jié)點(diǎn)配置分別將如下配置文件解壓并分發(fā)至每個(gè)節(jié)點(diǎn)的Hadoop “ $HADOOP_HOME/etc/hadoop目錄中,如提示是否覆蓋文件,確認(rèn)即可。Hadoop配置文件 參考 .zip注:關(guān)于各節(jié)點(diǎn)的配置參數(shù)設(shè)置,請(qǐng)參考后

13、面的“附錄1”或“附錄2”4.格式化/啟動(dòng)集群4.1格式化集群HDFS文件系統(tǒng)安裝完畢后,需登陸NameNode節(jié)點(diǎn)或任一 DataNode節(jié)點(diǎn)執(zhí)行 hdfs name node -format格式化集群HDFS文件系統(tǒng);.頁(yè)腳注:如果非第一次格式化HDFS文件系統(tǒng),則需要在進(jìn)行格式化操作前分別將NameNode的 .dir 禾口各個(gè) DataNode 節(jié)點(diǎn)的 dfs.datanode.data.dir目錄(在本例中為/home/hadoop/hadoopdata) 下的所有內(nèi)容清空。4.2啟動(dòng)Hadoop集群分別登陸如下主機(jī)并執(zhí)行相應(yīng)命令:登陸Resourc

14、eManger執(zhí)行start-yarn.sh命令啟動(dòng)集群資源管理系統(tǒng)yarn登陸NameNode執(zhí)行start-dfs.sh 命令啟動(dòng)集群 HDFS文件系統(tǒng)分別登陸 SecondaryNameNode、DataNode01、DataNode02、DataNode03、DataNode04節(jié)點(diǎn)執(zhí)行jps命令,查看每個(gè)節(jié)點(diǎn)是否有如下Java進(jìn)程運(yùn)行:ResourceManger 節(jié)點(diǎn)運(yùn)行的進(jìn)程:ResouceNamagerNameNode?點(diǎn)運(yùn)行的進(jìn)程:NameNodeSecondaryNameNod節(jié)點(diǎn)運(yùn)行的進(jìn)程:SecondaryNameNode 各個(gè) DataNode節(jié)點(diǎn)運(yùn)行的進(jìn)程:Data

15、Node & NodeManager如果以上操作正常則說(shuō)明Hadoop集群已經(jīng)正常啟動(dòng)。附錄1關(guān)鍵配置內(nèi)容參考1 core-site.xmlconfigurationfs.defaultFShdfs:/NameNode:9000NameNode URI 屬性” fs.defaultFS “表示 NameNode節(jié)點(diǎn)地址, 由” hdfs:/ 主機(jī)名(或ip):端口號(hào)” 組成.dirfile:/home/hadoop/hadoopdata/hdfs/namenodedfs.datanode.data.dirfile:/home/jack

16、/hadoopdata/hdfs/datanode/node.secondary.http-addressSecondaryNameNode:50090v/configuration屬性dfs.n ame no de. name.dir”表示NameNode存儲(chǔ)命名空間和操作日志相關(guān)的元數(shù).頁(yè)腳據(jù)信息的本地文件系統(tǒng)目錄,該項(xiàng)默認(rèn)本地路徑為/tmp/hadoop-username/dfs/name”;屬性” dfs.datanode.data.dir表示DataNode節(jié)點(diǎn)存儲(chǔ) HDFS文件的本地文件系統(tǒng)目錄,由file:/ 本地目錄組成,該項(xiàng)默認(rèn)本地路徑為/tm

17、p/hadoop-username/dfs/data 。屬性node.secondary.http-address表示 SecondNameNode主機(jī)及端口號(hào)(如果無(wú)需額外指定 Seco ndNameNode角色,可以不進(jìn)行此項(xiàng)配置);3yarnExecution framework set to Hadoop YARN. 屬性表示執(zhí)行 mapreduce任務(wù)所使用的運(yùn)行框架,默認(rèn)為local,需要將其改為yarn 4yarn

18、-site.xmlyarn.resourcemanager.hostnameResourceManagerResourceManager hostyarn.nodemanager.aux-servicesmapreduce_shuffleShuffle service that needs to be set for Map Reduce applications. .頁(yè)腳屬性” yarn.resourcemanager.hostname”用來(lái)指定 ResourceManager主機(jī)地址;屬性” yarn.nodemanager.aux-service表示MRapplicatons所使用的sh

19、uffle 工具5hadoop-e nv.shJAVA_H0M表示當(dāng)前的 Java安裝目錄export JAVA_H0ME=/opt/jdk-1.76slaves集群中的 master節(jié)點(diǎn)(NameNode ResourceManager)需要配置其所擁有的slaver 節(jié)點(diǎn),其中:NameNode節(jié)點(diǎn)的slaves內(nèi)容為:DataNode01DataNodeO2DataNodeO3DataNode04DataNode05ResourceManager 節(jié)點(diǎn)的 slaves 內(nèi)容為:NodeManager01NodeManager02NodeManager03NodeManager04Node

20、Manager05附錄2詳細(xì)配置內(nèi)容參考注:以下的紅色字體部分的配置參數(shù)為必須配置的部分,其他配置皆為默認(rèn)配置。1 core-site.xmlconfiguration fs.defaultFShdfs:/NameNode:9000NameNode URIio.file.buffer.size131072Size of read/write buffer used in SequenceFiles,The default value is 131072屬性” fs.defaultFS “表示 NameNode節(jié)點(diǎn)地址, 由” hdfs:/ 主機(jī)名(或ip):端口號(hào)”組成。.頁(yè)腳hdfs-sit

21、e.xmlconfiguration!-Configurations for NameNode:-.dirfile:/home/hadoop/hadoopdata/hdfs/node.secondary.http-addressSecondaryNameNode:50090dfs.replication3/node.handler.count100dfs.datanode.data.dirfile:/home/hadoop/hadoopdata/hdfs

22、/datanode 屬性dfs.n ame no de. name.dir”表示NameNode存儲(chǔ)命名空間和操作日志相關(guān)的元數(shù)據(jù)信息的本地文件系統(tǒng)目錄,該項(xiàng)默認(rèn)本地路徑為” /tmp/hadoop-username/dfs/name ”; 屬性” dfs.datanode.data.dir 表示DataNode節(jié)點(diǎn)存儲(chǔ) HDFS文件的本地文件系統(tǒng)目錄,由” file:/ 本地目錄”組成,該項(xiàng)默認(rèn)本地路徑 為” /tmp/hadoop-username/dfs/data ”。屬性node.secondary.http-address”表示 SecondNameNode主機(jī)及端口

23、號(hào)(如果無(wú)需額外指定 Seco ndNameNode角色,可以不進(jìn)行此項(xiàng)配置);3mapred-site.xml頁(yè)腳yarnExecution framework set to Hadoop YARN.mapreduce.map.memory.mb1024Larger resource limit for maps.mapreduce.map.java.optsXmx1024MLarger heap-size for child jvms of maps.mapreduce.reduce.memory.mb1024Larger resource

24、limit for reduces.mapreduce.reduce.java.optsXmx2560Mmapreduce.task.io.sort.mb512mapreduce.task.io.sort.factor10More streams merged at once while sorting files.mapreduce.reduce.shuffle.parallelcopies5Highernumber of parallel copies run by reduces to fetch outputs from very large numberof maps.!-Confi

25、gurations for MapReduce JobHistory Server:-mapreduce.jobhistory.addressResourceManager:10020MapReduce JobHistory Server host:port Default port is 10020mapreduce.jobhistory.webapp.addressResourceManager:19888MapReduce JobHistory Server Web UI host:port Default port is 19888erm

26、ediate-done-dir/mr-history/tmpDirectory where history files are written by MapReduce jobs. Defalut is/mr-history/tmpmapreduce.jobhistory.done-dir.頁(yè)腳/mr-history/doneDirectory where history files are managed by the MR JobHistory Server.Default value is /mr-history/done屬性” 表示執(zhí)行

27、mapreduce任務(wù)所使用的運(yùn)行框架,默認(rèn)為local,需要將其改為yarn ”4yarn-site.xmlconfigurationyarn.acl.enablefalseEnable ACLs? Defaults to false. The value of the optional is true orfalseyarn.admin.acl*ACL to set admins on the cluster. ACLs are of for comma-separated-usersspacecomma-separated-groups. Defaults to special valu

28、e of * which means anyone. Special value of just space means no one has accessyar n.lo g-aggregation-enablefalseConfiguration to enable or disable log aggregationyarn.resourcemanager.addressResourceManager:8032ResourceManager host:port for clients to submit jobs.NOTES:host:port If set, overrides the

29、 hostname set in yarn.resourcemanager.hostname.yarn.resourcemanager.scheduler.addressResourceManager:8030ResourceManager host:port for ApplicationMasters to talk to Scheduler to obtain resources.NOTES:host:port If set, overrides the hostname set in yarn.resourcemanager.hostnameyarn.resourcemanager.r

30、esource-tracker.addressResourceManager:8031ResourceManager host:port for NodeManagers.NOTES:host:port If set, overrides thehostname set in yarn.resourcemanager.hostnameyarn.resourcemanager.admin.addressResourceManager:8033ResourceManager host:port for administrative commands.NOTES:host:port If set,o

31、verrides the hostname set in yarn.resourcemanager.hostname.yarn.resourcemanager.webapp.address.頁(yè)腳ResourceManager:8088ResourceManager web-ui host:port. NOTES:host:port If set, overrides the hostname set in yarn.resourcemanager.hostnameyarn.resourcemanager.hostnameResourceManagerResourceManager hostya

32、rn.resourcemanager.scheduler.classorg.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacitySchedulerResourceManager Scheduler class CapacityScheduler (recommended), FairScheduler (also recommended), or FifoScheduler.The default value is org.apache.hadoop.yarn.server.resourcemanager.s

33、cheduler.capacity.CapacityScheduler.yarn.scheduler.minimum-allocation-mb1024Minimum limit of memory to allocate to each container request at the ResourceManager.NOTES:In MBsyarn.scheduler.maximum-allocation-mb8192Maximum limit of memory to allocate to each container request at the ResourceManager.NO

34、TES:In MBsyar n.lo g-aggregation.retain-seconds-1How long to keep aggregation logs before deleting them. -1 disables. Be careful, setthis too small and you will spam the name node.yar n.lo g-aggregation.retain-check-interval-seconds-1Time between checks for aggregated log retention. If set to 0 or a

35、 negative value then the value is computed as one-tenth of the aggregated log retention time. Be careful, set this too small and you will spam the name node.yarn.nodemanager.resource.memory-mb8192Resource i.e. available physical memory, in MB, for given NodeManager.The default value is 8192.NOTES:De

36、fines total available resources on the NodeManager to be made available to runningcontainers.頁(yè)腳memoryusageyarn.nodemanager.vmem-pmem-ratio2.1Maximum ratio by which virtual memory usage of tasks may exceed physical memory.The default value is 2.1NOTES:The virtual memory usage of each task may exceed

37、its physical memory limit by this ratio. The total amount of virtual memoryused by tasks on the NodeManagermayexceed its physical by this ratio.yarn.nodemanager.local-dir$hadoop.tmp.dir/nm-local-dirComma-separated list of paths on the local filesystem where intermediate data is written.The default v

38、alue is $hadoop.tmp.dir/nm-local-dirNOTES:Multiple paths help spread disk i/o.yarn.nodemanager.log-dirs$yar n.lo g.dir/userlogsComma-separated list of paths on the local filesystem where logs are writtenThe default value is $yar n.lo g.dir/userlogsNOTES:Multiple paths help spread disk i/o.yarn.nodem

39、anager.log.retain-seconds10800Default time (in seconds) to retain log files on the NodeManager Only applicable if log-aggregation is disabled.The default value is 10800yarn.nodemanager.remote-app-log-dir/logsHDFS directory where the application logs are moved on application completion. Need to set a

40、ppropriate permissions. Only applicable if log-aggregation is enabled.The default value is /logs or /tmp/logsyarn.nodemanager.remote-app-log-dir-suffixlogsSuffix appended to the remote log dir. Logs will be aggregated to $yarn.nodemanager.remote-app-log-dir/$user/$thisParam Only applicable if log-ag

41、gregation is enabled.yarn.nodemanager.aux-servicesmapreduce_shuffleShuffle service that needs to be set for Map Reduce applications. .頁(yè)腳屬性” yarn.resourcemanager.hostname”用來(lái)指定 ResourceManager主機(jī)地址;屬性” yarn.nodemanager.aux-service表示MRapplicatons所使用的shuffle 工具5hadoop-e nv.shJAVA_H0M表示當(dāng)前的 Java安裝目錄export

42、JAVA_H0ME=/opt/jdk-1.76slaves集群中的 master節(jié)點(diǎn)(NameNode ResourceManager)需要配置其所擁有的slaver 節(jié)點(diǎn),其中:NameNode節(jié)點(diǎn)的slaves內(nèi)容為:DataNode01DataNodeO2DataNodeO3DataNode04DataNode05ResourceManager 節(jié)點(diǎn)的 slaves 內(nèi)容為:NodeManager01NodeManager02NodeManager03NodeManager04NodeManager05附錄3詳細(xì)配置參數(shù)參考Con figuri ng the Hadoop Daem on

43、s in Non-Secure ModeThis section deals with important parameters to be specified in the given configuration files:* conf/core-site.xmlParameterValueNotesfs.defaultFSNameNode URIhdfs:/host:port/io.file.buffer.size131072Size of read/write buffer used in SequenceFiles.* conf/hdfs-site.xmlo Configuratio

44、ns for NameNode:.頁(yè)腳ParameterValueN.dirPath on the local filesystem whe re the NameNode stores the names pace and transactions logs persi stently.If this is a comma-delimited lis t of directories then the name t able is replicated in all of the directories, for redundancy.dfs.nam

45、enode.hosts/node.hosts.excludeList of permitted/excluded DataN odes.If necessary, use these files to control the list of allowable d atanodes.dfs.blocksize268435456HDFS blocksize of 256MB for larg e node.handler.count100More NameNode server threads to handle RPCs from la

46、rge number of DataNodes.o Configurations for DataNode:ParameterValueNotesdfs.datanode.data.dirComma separated list of paths on the local filesystem of aDataNode where it should store it s blocks.If this is a comma-delimited lis t of directories, then data will be stored in all named director ies, ty

47、pically on different devi ces.* conf/yarn-site.xmlo Configurations for ResourceManager and NodeManager:ParameterValueNotesyarn.acl.enabletrue / falseEnable ACLs? Defaults tofalse .yarn.admin.aclAdmin ACLACL to set admins on the cluster. ACLs are of forcomma-separated-usersspacecomma-separated-gr oup

48、s. Defaults to special value of * which means anyone. Spec ial value of justspace meansno one has access.yarn .l og-aggregation-enablefalseConfiguration to enable or disab le log aggregation.頁(yè)腳o Configurations for ResourceManager:ParameterValueNotesyarn.resourcemanager.addressResourceManager host:po

49、rt for clients to submit jobs.host:portIf set, overrides the hostname set in yarn.resourcemanager.h ostname.yarn.resourcemanager.scheduler.addressResourceManager host:port for ApplicationMasters to talk to S cheduler to obtain resources.host:portIf set, overrides the hostname set in yarn.resourceman

50、ager.h ostname.yarn.resourcemanager.resourc e-tracker.addressResourceManager host:port for NodeManagers.host:portIf set, overrides the hostname set in yarn.resourcemanager.h ostname.yarn.resourcemanager.admin.addressResourceManager host:port foradministrative commands.host:portIf set, overrides the

51、hostname set in yarn.resourcemanager.h ostname.yarn.resourcemanager.webapp. addressResourceManager web-ui host:p ort.host:portIf set, overrides the hostname set in yarn.resourcemanager.h ostname.yarn.resourcemanager.hostnameResourceManager host.hostSingle hostname that can be set in place of setting

52、 allyarn.resourcemanager*address resou rces. Results in default ports f or ResourceManager components.yarn.resourcemanager.scheduler.classResourceManager Scheduler class.CapacityScheduler(recommended), FairScheduler(also recommended), or FifoScheduleryarn.scheduler.minimum-allocation-mbMinimum limit

53、 of memory to alloc ate to each container request at the Resource Manager .In MBsyarn.scheduler.maximum-allocation-mbMaximum limit of memory to alloc ate to each container request at the Resource Manager .In MBs.頁(yè)腳yarn.resourcemanager.nodes.i nclude-path/yarn.resourcemanager.nodes.exclude-pathList o

54、f permitted/excluded NodeM anagers.If necessary, use these files to control the list of allowable N odeManagers.o Configurations for NodeManager:ParameterValueNotesyarn.nodemanager.resource.me mory-mbResource i.e. available physical memory, in MB, for givenNodeManagerDefines total available resource

55、s on the NodeManager to be m ade available to running contain ersyarn.nodemanager.vmem-pmem-ratioMaximum ratio by which virtual m emory usage of tasks may exceed physical memoryThe virtual memory usage of each task may exceed its physical me mory limit by this ratio. The to tal amount of virtual mem

56、ory use d by tasks on the NodeManager ma y exceed its physical memory usa ge by this ratio.yarn.nodemanagero cal-dirsComma-separated list of paths on the local filesystem where inte rmediate data is written.Multiple paths help spread disk i/o.yarn.nodemanagero g-dirsComma-separated list of paths on

57、the local filesystem where logs are written.Multiple paths help spread disk i/o.yarn.nodemanager.log.retain-seconds10800Default time (in seconds) to ret ain log files on the NodeManager Only applicable if log-aggregat ion is disabled.yarn.nodemanager.remote-app- log-dir/logsHDFS directory where the applica tion logs are moved on applicati on completion. Need to set appro priate permissions. Only applica ble if log-aggregation is enable d.yarn.nodemanager.remote-app- log-dir-suffixlogsSuffix

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論