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

yuqi4733 pushed a commit to branch branch-1.2
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-1.2 by this push:
     new 59d6d57654 [Cherry-pick to branch-1.2] [MINOR] 
docs(table-maintenance-service): fix optimizer quick-start rewrite log 
verification (#10370) (#10371)
59d6d57654 is described below

commit 59d6d57654cb07100c8a9a9d88c9675207034d83
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Mar 11 19:07:45 2026 +0800

    [Cherry-pick to branch-1.2] [MINOR] docs(table-maintenance-service): fix 
optimizer quick-start rewrite log verification (#10370) (#10371)
    
    **Cherry-pick Information:**
    - Original commit: f5cd7931852835d31f5792de57fab3b360bb9553
    - Target branch: `branch-1.2`
    - Status: ✅ Clean cherry-pick (no conflicts)
    
    Co-authored-by: FANNG <[email protected]>
---
 docs/table-maintenance-service/optimizer-quick-start.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/table-maintenance-service/optimizer-quick-start.md 
b/docs/table-maintenance-service/optimizer-quick-start.md
index 1be5fe793d..19ce5f5fc4 100644
--- a/docs/table-maintenance-service/optimizer-quick-start.md
+++ b/docs/table-maintenance-service/optimizer-quick-start.md
@@ -229,9 +229,10 @@ curl -sS 
"http://localhost:8090/api/metalakes/test/jobs/runs/${strategy_job_id}";
 curl -sS 
"http://localhost:8090/api/metalakes/test/objects/table/rest_catalog.db.t1/statistics";
 | jq
 
 # Staging path is controlled by `gravitino.job.stagingDir` (default: 
`/tmp/gravitino/jobs/staging`).
-# Verify rewrite actually rewrote files (N should be > 0 for non-empty table)
+# Verify rewrite actually rewrote files (N should be > 0 for non-empty table).
+log_dir="/tmp/gravitino/jobs/staging/test/builtin-iceberg-rewrite-data-files/${strategy_job_id}"
 grep -E "Rewritten data files|Added data files|completed successfully" \
-  
"/tmp/gravitino/jobs/staging/test/builtin-iceberg-rewrite-data-files/${strategy_job_id}/error.log"
+  "${log_dir}/output.log"
 ```
 
 By default, Gravitino pulls job status every `300000` ms 
(`gravitino.job.statusPullIntervalInMs`).

Reply via email to