View big data component log method

Hadoop components

01. First, you need to enter your hadoop installation directory.

Take mine as an example, as shown in the figure:

 02. After entering the hadoop directory, there is a logs directory, enter.

 03. You can see all hadoop logs of this station, we can check the files ending with .log.

 04. It is recommended to use commands such as tail -100 to view the error information of the latest service.

Note: If the service of any server is down, you can go to that server to check the log. There are log files in the corresponding location of each server.

 HBase

Almost all big data components are viewed in a similar way, and you can infer other cases from one instance.

01. Enter the hbase directory, there is a logs directory.

 02. Enter this directory, you can view the log of hbae service, the viewing method is similar to hadoop.

 

Guess you like

Origin blog.csdn.net/weixin_38620636/article/details/120838691