[ 
https://issues.apache.org/jira/browse/IMPALA-11341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Quanlong Huang resolved IMPALA-11341.
-------------------------------------
    Fix Version/s: Impala 4.2.0
       Resolution: Fixed

> Print error log files when data-loading fails
> ---------------------------------------------
>
>                 Key: IMPALA-11341
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11341
>             Project: IMPALA
>          Issue Type: Task
>          Components: Infrastructure
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Major
>             Fix For: Impala 4.2.0
>
>
> When the data-loading phase fails, we see console ouputs like
> {noformat}
> 05:04:02 Beginning execution of hive SQL: 
> /home/ubuntu/Impala/logs/data_loading/sql/functional/load-functional-query-exhaustive-hive-generated-rc-def-block.sql
> 05:05:34 Finished execution of hive SQL: 
> /home/ubuntu/Impala/logs/data_loading/sql/functional/load-functional-query-exhaustive-hive-generated-seq-bzip-record.sql
> 05:05:34 Error executing hive SQL: 
> /home/ubuntu/Impala/logs/data_loading/sql/functional/load-functional-query-exhaustive-hive-generated-text-def-block.sql
>  See: 
> /home/ubuntu/Impala/logs/data_loading/sql/functional/load-functional-query-exhaustive-hive-generated-text-def-block.sql.log
> 05:05:34 Beginning execution of hive SQL: 
> /home/ubuntu/Impala/logs/data_loading/sql/functional/load-functional-query-exhaustive-hive-generated-seq-bzip-block.sql
> 05:05:34 Beginning execution of hive SQL: 
> /home/ubuntu/Impala/logs/data_loading/sql/functional/load-functional-query-exhaustive-hive-generated-seq-gzip-record.sql
> Background task Loading functional-query data (pid 14732) failed.
> ERROR in /home/ubuntu/Impala/testdata/bin/create-load-data.sh at line 85: fi
> Generated: 
> /home/ubuntu/Impala/logs/extra_junit_xml_logs/generate_junitxml.buildall.create-load-data.20220607_05_05_34.xml
>  {noformat}
> We still need to download the Jenkins log file and extract the tarball to get 
> load-functional-query-exhaustive-hive-generated-text-def-block.sql.log. It'd 
> be helpful if we can print its last 50 lines as well.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to