Quanlong Huang created IMPALA-9118:
--------------------------------------

             Summary: Add debug page for in-flight DDLs in catalogd
                 Key: IMPALA-9118
                 URL: https://issues.apache.org/jira/browse/IMPALA-9118
             Project: IMPALA
          Issue Type: New Feature
            Reporter: Quanlong Huang


In a busy cluster, it's possible that many DDL/DML queries keep in the CREATED 
state for several minutes. Especially when using with sync_ddl=true, tens of 
minutes are also possible. They may be waiting for the ExecDdl RPC to catalogd 
to finish.

It'd be helpful for debugging DDL/DML hangs if we can show the in-flight DDLs 
in catalogd. I think the following fields are important:
 * thread id
 * coordinator
 * db name / table name
 * ddl type, e.g. AddPartition, DropTable, CreateTable, etc.
 * last event, e.g. waiting for table lock, got table lock, loading file 
metadata, etc.
 * start time
 * time elapsed
 * (optional) params link to show the TDdlExecRequest in json format

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to