How to view Hive execution logs?

You can view the Hive running logs by following these steps:

  1. Log in to the server running Hive.
  2. Open the terminal or command prompt.
  3. Navigate to the Hive log directory using the following command:
cd /var/log/hive
  1. Run the following command to view the latest log file:
tail -f hive.log

This will display the latest log output and automatically refresh.

If you want to view older logs, you can use the less command.

less hive.log

Scroll up and down using the arrow keys, press q to exit.

Additionally, Hive also offers a web interface for viewing logs. To access the web interface for Hive, please enter http://:10002/ in your browser and then log in.

Note: The paths and commands in the steps above may vary depending on the Hive version or configuration, so please adjust according to your own actual environment.

bannerAds