Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Doris Logs

Updated on 2024-11-29 GMT+08:00

Description

Log path: Doris logs are stored in /var/log/Bigdata/doris/role name by default.

  • FE: /var/log/Bigdata/doris/fe (run logs) and /var/log/Bigdata/audit/doris/fe (audit logs)
  • BE: /var/log/Bigdata/doris/be (run logs)
  • DBroker: /var/log/Bigdata/doris/dbroker (run logs)

Log archive rule: The automatic compression and archive function is enabled for Doris logs. By default, when a log file exceeds a specified size (which is configurable), the log file is automatically compressed. The naming rule of the compressed log file is as follows: <Original log file name>-<yyyy-mm-dd_hh-mm-ss>.[ID].log.zip. A maximum of 20 latest compressed files are retained by default. The number of compressed files and compression threshold can be changed.

Table 1 Doris logs

Log Type

Log File

Description

Run log

/fe/fe.out

Standard/Error logs (stdout and stderr)

/fe/fe.log

Main log, including all contents except fe.out

/fe/fe.warn.log

Subset of fe.log. Only WARN and ERROR logs are recorded.

/fe/fe-omm-<Date>-<PID>-gc.log.<No.>

GC logs of the FE process

/fe/preStart.log

Work logs before the FE starts

/fe/check_fe_status.log.log

Log file that records whether the FE service is started successfully

/fe/cleanup.log

Cleanup log for FE uninstallation

/fe/start_fe.log

FE process startup log

/fe/stop_fe.log

FE process stop log

/fe/postinstallDetail.log

Work logs generated after the FE is installed and before it starts

/be/be.INFO

Run log of the BE process

be.WARNING

Subset of be.log. Only WARN and FATAL logs are recorded.

/be/be-omm-<Date>-<PID>-gc.log.<No.>

GC logs of the BE process

/be/postinstallDetail.log

Work logs generated after BE is installed and before it starts

/be/preStart.log

Work logs before BE starts

/be/cleanup.log

Cleanup log for BE uninstallation

/be/start_be.log

BE process startup log

/be/stop_be.log

BE process stop log

/be/check_be_status.log

Log file that records whether the BE service is started successfully

/be/be.out

Standard/Error output logs of the BE process (stdout and stderr)

/dbroker/start_broker.log

Log file that records the normal start and stop of the DBroker process

/dbroker/stop_broker.log

log file that records start and stop exceptions of the DBroker process

/dbroker/preStart.log

Work log before DBroker starts

/dbroker/cleanup.log

Cleanup log generated during or before DBroker uninstallation

/dbroker/check_db_status.log

Log file that records whether the DBroker service is started successfully

/dbroker/dbroker-omm-<Date>-<PID>-gc.log.<No.>

GC log of the DBroker process

/dbroker/apache_hdfs_broker.log

Run log of the DBroker process

Audit log

fe.audit.log

Audit log, which records all SQL requests received by the FE

Log Levels

Table 2 describes the log levels supported by Doris.

The priorities of run log levels are FATAL, ERROR, WARN, and INFO in descending order. Logs whose levels are higher than or equal to a specified level are displayed. The number of displayed logs decreases as the specified log level increases.

Table 2 Log levels

Level

Description

FATAL

Logs of this level record program assertion errors

ERROR

Logs of this level record error information about system running

WARN

Logs of this level record exception information about the current event processing

INFO

Logs of this level record normal running status information about the system and events

To change log levels, perform the following operations:

  1. Log in to FusionInsight Manager and choose Cluster > Services > Doris > Configurations > All Configurations. The All Configurations page of the Doris service is displayed.
  2. On the menu bar on the left, select the log menu of the target role.
  3. Select a desired log level and save the configuration.

    NOTE:

    The Doris log level takes effect immediately after being configured. You do not need to restart the service.

Log Formats

The following table describes Doris log formats and gives you some examples:

Table 3 Log format

Log Type

Format

Example

FE run log

<yyyy-MM-dd HH:mm:ss,SSS><LogLevel>(Thread name|Thread ID)<Location where the log event occurs>|<Messages in the log>

2023-04-13 11:17:14,371 INFO (tablet stat mgr|34) [TabletStatMgr.runAfterCatalogReady():125] finished to update index row num of all databases. cost: 0 ms

BE run log

<Log level. I for INFO, W for WARN, F for FATAL|MMdd HH:mm:ss.SSS> <Thread ID> <Location where a log event occurs> <Messages in the log>

I0413 11:26:03.439189 25248 tablet_manager.cpp:895] begin to build all report tablets info

DBroker run log

<MMdd HH:mm:ss.SSS> <Thread ID> <Log Level><Messages in the log>

2023-04-11 11:43:13 [ main:0 ] - [ INFO ] starting apache hdfs broker....

Audit log

<yyyy-MM-dd HH:mm:ss,SSS[Operation type] >|<Client>|<User Name>|<Db Name>|<State>|<ErrorCode>|<ErrorMessage>|<Time>|<ScanBytes>|<ScanRows>|<ReturnRows>|<StmtId>|<QueryId>|<IsQuery>|<feIp>|

<Stmt>|<CpuTimeMS>|<SqlHash>|<peakMemoryBytes>|<SqlDigest>|<TraceId>|<FuzzyVariables>

2023-04-13 10:49:26,410 [query] |Client=192.168.64.223:44382|User=root|Db=hivedoris|State=ERR|ErrorCode=1105|ErrorMessage=errCode = 2, detailMessage = (192.168.64.78)[INTERNAL_ERROR]failed to init reader for file /user/hive/warehouse/hivedoris.db/test/000000_0, err: [INTERNAL_ERROR]connect to hdfs failed. error: (255), Unknown error 255), reason: NullPointerException: |Time=67|ScanBytes=0|ScanRows=0|ReturnRows=0|StmtId=91|QueryId=e1125283f12c4994-a69e3a323044d681|IsQuery=true|feIp=192.168.64.78|Stmt=select * from test|CpuTimeMS=0|SqlHash=3bbc220823c3e757002fb9490196cf84|peakMemoryBytes=0|SqlDigest=|TraceId=|FuzzyVariables=

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback