- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Created on 01-16-2017 08:36 PM
This is a simple command that can be used to run via a browser to change the log level without needing a restart.
For Hbase Master: http://<SERVER-HOSTNAME>:16010/logLevel?log=org.apache.hadoop.hbase& level=<DESIRED-LOG-LEVEL> For HBase Region Server: http://<SERVER-HOSTNAME>:16030/logLevel?log=org.apache.hadoop.hbase& level=<DESIRED-LOG-LEVEL> **NOTE: Please make sure there is no space between '&' and 'level'. There seems to be a formatting issue in HCC because of which a space was introduced in the syntax. <SERVER-HOSTNAME> : Represents the hostname of the server where the daemon is running. <DESIRED-LOG-LEVEL>: Represent the log level that is desired by the user to have. Ex. INFO, DEBUG,..
Created on 03-11-2022 01:41 AM - edited 03-11-2022 11:23 AM
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
We can use the HBase master UI for enabling and disabling the TRACE/DEBUG/INFO without restarting any service.
➤ To enable the TRACE/DEBUG logging please follow the below steps from the Hbase master UI for the master server.
Step 1: Hbase Master UI -> click on log level-> add the property(org.apache.hadoop.ipc) on the second log box-> enter the DBUG in Level box-> click on Set log level radio button.
➤ To enable the TRACE/DEBUG logging please follow the below steps from the Hbase master UI for the specific region server.
Step 1: Hbase Master UI -> select specific region server-> click on log level-> add the property(org.apache.hadoop.ipc) on the second log box-> enter the DBUG in Level box-> click on Set log level radio button.
➤ Once the completion of the above steps, just verifies whether the changes are effected or not with the below steps.
Step 2: Hbase Master UI -> select specific region server/Master server-> click on log level-> add the property(org.apache.hadoop.ipc) on the fist log box-> click on the Get log level radio button, and verify the log level.
Or
➤ hadoop daemonlog -setlevel <hbase regionserver host>:<port> org.apache.hadoop.hbase TRACE/DEBUG/INFO
Created on 08-03-2023 01:29 PM
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @kkanchu
Can you please accept the answer if the above steps helps to change the log level of the HBase daemon on the fly without any restart.