This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch opt_dict_perf
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/opt_dict_perf by this push:
     new f9446dedf4 f
f9446dedf4 is described below

commit f9446dedf4152bec33c78e6c2e4a562542caa4ac
Author: yiguolei <[email protected]>
AuthorDate: Sat Mar 11 23:21:02 2023 +0800

    f
---
 .../java/org/apache/doris/common/profile/ProfileTreeBuilder.java  | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/common/profile/ProfileTreeBuilder.java
 
b/fe/fe-core/src/main/java/org/apache/doris/common/profile/ProfileTreeBuilder.java
index bcef428844..47c529bf7a 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/common/profile/ProfileTreeBuilder.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/common/profile/ProfileTreeBuilder.java
@@ -160,12 +160,15 @@ public class ProfileTreeBuilder {
 
     private void analyzeAndBuildFragmentTree(RuntimeProfile fragmentProfile) 
throws UserException {
         String fragmentId = getFragmentId(fragmentProfile);
-        LOG.info("yyy2 fragmentId = {}", fragmentId);
+        LOG.info("yyy2 {} fragmentId = {}", fragmentProfile.getName(), 
fragmentId);
         List<Pair<RuntimeProfile, Boolean>> fragmentChildren = 
fragmentProfile.getChildList();
         if (fragmentChildren.isEmpty()) {
             throw new UserException("Empty instance in fragment: " + 
fragmentProfile.getName());
         }
-        LOG.info("yyy3 fragment child num = {}", fragmentChildren.size());
+        for (int i = 0; i < fragmentChildren.size(); ++i) {
+            LOG.info("yyy3 fragment child  = {}", fragmentChildren.get(i));
+        }
+        LOG.info("yyy4 fragment child num = {}", fragmentChildren.size());
 
         // 1. Get max active time of instances in this fragment
         List<Triple<String, String, Long>> instanceIdAndActiveTimeList = 
Lists.newArrayList();
@@ -187,6 +190,7 @@ public class ProfileTreeBuilder {
         // 2. Build tree for all fragments
         //    All instance in a fragment are same, so use first instance to 
build the fragment tree
         RuntimeProfile instanceProfile = fragmentChildren.get(0).first;
+        LOG.info("yyy5 fragment instance {}", instanceProfile.getName());
         ProfileTreeNode instanceTreeRoot = 
buildSingleInstanceTree(instanceProfile, fragmentId, null);
         
instanceTreeRoot.setMaxInstanceActiveTime(RuntimeProfile.printCounter(maxActiveTimeNs,
 TUnit.TIME_NS));
         if (instanceTreeRoot.id.equals(FINAL_SENDER_ID)) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to