概述
CDH 中大数据相关组件的日志目录存放在
/var/log/${component} 目录下面。
[root@cdh-manager log]# pwd
/var/log
[root@cdh-manager log]# ll
total 8600
drwxr-xr-x. 2 root root 204 Dec 4 2018 anaconda
drwx------. 2 root root 99 Apr 26 21:40 audit
-rw-------. 1 root root 0 May 20 18:33 boot.log
-rw------- 1 root root 19006 Feb 19 16:42 boot.log-20200219
-rw------- 1 root root 14781 Apr 10 15:38 boot.log-20200410
-rw------- 1 root root 13796 Apr 14 15:32 boot.log-20200414
-rw------- 1 root root 13877 Apr 19 15:46 boot.log-20200419
-rw------- 1 root root 14594 Apr 21 15:18 boot.log-20200421
-rw------- 1 root root 14279 Apr 25 16:47 boot.log-20200425
-rw------- 1 root root 14831 May 20 18:33 boot.log-20200520
-rw------- 1 root utmp 0 May 1 15:41 btmp
-rw------- 1 root utmp 0 Apr 1 15:20 btmp-20200501
drwxr-xr-x. 2 chrony chrony 6 Apr 13 2018 chrony
drwxr-xr-x. 2 root root 193 Dec 10 2018 cloudera-manager-installer
drwxr-x--- 2 cloudera-scm cloudera-scm 4096 May 20 23:40 cloudera-scm-agent
drwxrwxr-x 3 cloudera-scm cloudera-scm 192 May 22 18:58 cloudera-scm-alertpublisher
drwxrwxr-x 3 cloudera-scm cloudera-scm 73 Dec 12 2018 cloudera-scm-eventserver
drwxrwxr-x 3 cloudera-scm cloudera-scm 129 Dec 12 2018 cloudera-scm-firehose
drwxrwxr-x 3 cloudera-scm cloudera-scm 76 Dec 12 2018 cloudera-scm-headlamp
drwxr-x--- 2 cloudera-scm cloudera-scm 4096 May 25 02:01 cloudera-scm-server
-rw------- 1 root root 75382 May 27 00:10 cron
-rw------- 1 root root 202586 Apr 26 15:07 cron-20200426
-rw------- 1 root root 224480 May 3 15:06 cron-20200503
-rw------- 1 root root 73507 May 20 18:33 cron-20200520
-rw------- 1 root root 124981 May 24 15:49 cron-20200524
drwxr-xr-x. 2 lp sys 57 Dec 4 2018 cups
-rw-r--r-- 1 root root 124271 May 20 18:00 dmesg
-rw-r--r-- 1 root root 124343 Apr 25 15:07 dmesg.old
-rw-r--r--. 1 root root 0 Dec 4 2018 firewalld
drwx--x--x. 2 root gdm 6 Nov 20 2018 gdm
drwxr-xr-x. 2 root root 6 Nov 5 2018 glusterfs
-rw-------. 1 root root 2609 Dec 11 2018 grubby
-rw-r--r--. 1 root root 489 Dec 10 2018 grubby_prune_debug
drwxrwxr-x 4 hdfs hadoop 4096 May 20 18:03 hadoop-hdfs
drwxrwxr-x 3 mapred hadoop 107 May 26 17:20 hadoop-mapreduce
drwxrwxr-x 3 yarn hadoop 171 May 26 17:20 hadoop-yarn
drwxr-xr-x 3 hbase hbase 190 Apr 19 16:11 hbase
drwxr-xr-x 8 hive hive 306 May 26 17:22 hive
drwx------ 2 root root 190 Dec 20 2018 httpd
drwxr-xr-x 3 kafka kafka 56 Jan 22 2019 kafka
-rw-r--r--. 1 root root 292292 May 26 17:01 lastlog
drwx------. 3 root root 18 Nov 29 2018 libvirt
-rw------- 1 root root 482774 May 27 00:00 maillog
-rw------- 1 root root 1422671 Apr 26 15:00 maillog-20200426
-rw------- 1 root root 1449155 May 3 15:05 maillog-20200503
-rw------- 1 root root 470790 May 20 18:30 maillog-20200520
-rw------- 1 root root 824590 May 24 15:47 maillog-20200524
-rw------- 1 root root 122761 May 27 00:10 messages
-rw------- 1 root root 1148525 Apr 26 15:01 messages-20200426
-rw------- 1 root root 268036 May 3 15:06 messages-20200503
-rw------- 1 root root 298772 May 20 18:33 messages-20200520
-rw------- 1 root root 219054 May 24 15:49 messages-20200524
-rw-r----- 1 mysql mysql 214112 May 20 18:01 mysqld.log
drwxr-xr-x. 2 ntp ntp 6 Apr 13 2018 ntpstats
drwxr-xr-x. 3 root root 18 Dec 3 2018 pluto
drwx------. 2 root root 6 Jun 10 2014 ppp
drwxr-xr-x. 2 root root 6 Oct 31 2018 qemu-ga
drwxr-xr-x. 2 root root 6 Dec 4 2018 rhsm
drwxr-xr-x. 2 root root 4096 May 26 12:00 sa
drwx------. 3 root root 17 Oct 31 2018 samba
-rw------- 1 root root 2831 May 26 20:58 secure
-rw------- 1 root root 84133 Apr 25 22:25 secure-20200426
-rw------- 1 root root 2432 May 2 13:30 secure-20200503
-rw------- 1 root root 8639 May 20 18:33 secure-20200520
-rw------- 1 root root 27742 May 24 01:02 secure-20200524
drwxr-xr-x 3 spark spark 21 Jan 22 2019 spark
drwx------. 2 root root 6 Jun 10 2014 speech-dispatcher
-rw------- 1 root root 0 May 24 15:49 spooler
-rw------- 1 root root 0 Apr 19 15:46 spooler-20200426
-rw------- 1 root root 0 Apr 26 15:07 spooler-20200503
-rw------- 1 root root 0 May 3 15:06 spooler-20200520
-rw------- 1 root root 0 May 20 18:33 spooler-20200524
drwxr-x---. 2 sssd sssd 6 Oct 31 2018 sssd
drwxr-xr-x 3 root root 21 Dec 11 2018 swtpm
-rw-------. 1 root root 0 Dec 4 2018 tallylog
drwxr-xr-x. 2 root root 23 Nov 5 2018 tuned
drwxr-xr-x 3 root root 17 Dec 19 2018 vmware-caf
-rw-r--r-- 1 root root 23242 Dec 19 2018 vmware-install.log
-rw-r--r-- 1 root root 1358 Dec 19 2018 vmware-network.1.log
-rw-r--r-- 1 root root 1058 Dec 18 2018 vmware-network.2.log
-rw-r--r-- 1 root root 1358 Dec 14 2018 vmware-network.3.log
-rw-r--r-- 1 root root 1057 Dec 14 2018 vmware-network.4.log
-rw-r--r-- 1 root root 1357 Dec 13 2018 vmware-network.5.log
-rw-r--r-- 1 root root 678 Dec 13 2018 vmware-network.6.log
-rw-r--r-- 1 root root 678 Dec 13 2018 vmware-network.7.log
-rw-r--r-- 1 root root 1057 Dec 13 2018 vmware-network.8.log
-rw-r--r-- 1 root root 1357 Dec 12 2018 vmware-network.9.log
-rw-r--r-- 1 root root 1058 Dec 19 2018 vmware-network.log
-rw-r--r--. 1 root root 32595 Dec 19 2018 vmware-vgauthsvc.log.0
-rw-r--r--. 1 root root 86251 May 20 18:00 vmware-vmsvc.log
-rw-r--r--. 1 root root 1128 Dec 4 2018 vmware-vmusr.log
-rw-r--r--. 1 root root 40 Dec 3 2018 wpa_supplicant.log
-rw-rw-r--. 1 root utmp 177792 May 26 20:58 wtmp
-rw-r--r--. 1 root root 21952 Dec 4 2018 Xorg.0.log
-rw-r--r--. 1 root root 21452 Dec 3 2018 Xorg.0.log.old
-rw------- 1 root root 0 Jan 2 2019 yum.log
-rw-------. 1 root root 109143 Dec 11 2018 yum.log-20181211
-rw------- 1 root root 651 Dec 19 2018 yum.log-20190102
drwxr-xr-x 3 zookeeper zookeeper 96 Apr 19 17:20 zookeeper
[root@cdh-manager log]#
可以看到相关的组件
hadoop-hdfs
hadoop-yarn
hadoop-mapreduce
kafka
zookeeper
hbase
hive
等相关组件的日志目录
最后
以上就是温婉机器猫为你收集整理的CDH_大数据相关组件的日志,存放目录的全部内容,希望文章能够帮你解决CDH_大数据相关组件的日志,存放目录所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复