You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amoro.apache.org by "ylq5126 (via GitHub)" <gi...@apache.org> on 2025/09/29 06:14:38 UTC

[I] [Bug]: java.lang.ArithmeticException: / by zero [amoro]

ylq5126 opened a new issue, #3806:
URL: https://github.com/apache/amoro/issues/3806

   ### What happened?
   
   ERROR [async-table-runtime-refresh-executor-8] [org.apache.amoro.server.table.executor.TableRuntimeRefreshExecutor] [] - Refreshing table prod_iceberg.xxx_db.dwd_xxx(tableId=640) failed.
   java.lang.ArithmeticException: / by zero
           at org.apache.amoro.optimizing.plan.CommonPartitionEvaluator.getHealthScore(CommonPartitionEvaluator.java:400) ~[amoro-format-iceberg-0.8.1-incubating.jar:0.8.1-incubating]
           at org.apache.amoro.optimizing.plan.AbstractOptimizingEvaluator$PendingInput.initialize(AbstractOptimizingEvaluator.java:226) ~[amoro-format-iceberg-0.8.1-incubating.jar:0.8.1-incubating]
           at org.apache.amoro.optimizing.plan.AbstractOptimizingEvaluator$PendingInput.<init>(AbstractOptimizingEvaluator.java:208) ~[amoro-format-iceberg-0.8.1-incubating.jar:0.8.1-incubating]
           at org.apache.amoro.optimizing.plan.AbstractOptimizingEvaluator.getPendingInput(AbstractOptimizingEvaluator.java:166) ~[amoro-format-iceberg-0.8.1-incubating.jar:0.8.1-incubating]
           at org.apache.amoro.server.table.executor.TableRuntimeRefreshExecutor.tryEvaluatingPendingInput(TableRuntimeRefreshExecutor.java:69) ~[amoro-ams-0.8.1-incubating.jar:0.8.1-incubating]
           at org.apache.amoro.server.table.executor.TableRuntimeRefreshExecutor.execute(TableRuntimeRefreshExecutor.java:98) ~[amoro-ams-0.8.1-incubating.jar:0.8.1-incubating]
           at org.apache.amoro.server.table.executor.BaseTableExecutor.executeTask(BaseTableExecutor.java:82) ~[amoro-ams-0.8.1-incubating.jar:0.8.1-incubating]
           at org.apache.amoro.server.table.executor.BaseTableExecutor.lambda$scheduleIfNecessary$2(BaseTableExecutor.java:93) ~[amoro-ams-0.8.1-incubating.jar:0.8.1-incubating]
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_412]
           at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_412]
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_412]
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_412]
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_412]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_412]
           at java.lang.Thread.run(Thread.java:750) [?:1.8.0_412]
   
   ### Affects Versions
   
   0.8.1
   
   ### What table formats are you seeing the problem on?
   
   Iceberg
   
   ### What engines are you seeing the problem on?
   
   Optimizer
   
   ### How to reproduce
   
   _No response_
   
   ### Relevant log output
   
   ```shell
   
   ```
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's Code of Conduct


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: java.lang.ArithmeticException: / by zero [amoro]

Posted by "zhoujinsong (via GitHub)" <gi...@apache.org>.
zhoujinsong commented on issue #3806:
URL: https://github.com/apache/amoro/issues/3806#issuecomment-3346458488

   Hi, can you give more information about the table: `prod_iceberg.xxx_db.dwd_xxx`, like its detail page or newest snapshot summary?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: java.lang.ArithmeticException: / by zero [amoro]

Posted by "xxubai (via GitHub)" <gi...@apache.org>.
xxubai closed issue #3806: [Bug]: java.lang.ArithmeticException: / by zero
URL: https://github.com/apache/amoro/issues/3806


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: java.lang.ArithmeticException: / by zero [amoro]

Posted by "ylq5126 (via GitHub)" <gi...@apache.org>.
ylq5126 commented on issue #3806:
URL: https://github.com/apache/amoro/issues/3806#issuecomment-3349669481

   > Hi, can you give more information about the table: `prod_iceberg.xxx_db.dwd_xxx`, like its detail page or newest snapshot summary?
   0.8.1 还有这个错误
   2025-09-29 15:17:08,283 ERROR [async-table-runtime-refresh-executor-5] [org.apache.amoro.server.table.executor.TableRuntimeRefreshExecutor] [] - Refreshing table prod_iceberg.embed_db.dwd_emmc_ecc_with_numplanes(tableId=640) failed.
   java.lang.ArithmeticException: null


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: java.lang.ArithmeticException: / by zero [amoro]

Posted by "ylq5126 (via GitHub)" <gi...@apache.org>.
ylq5126 commented on issue #3806:
URL: https://github.com/apache/amoro/issues/3806#issuecomment-3349646728

   > Hi, can you give more information about the table: `prod_iceberg.xxx_db.dwd_xxx`, like its detail page or newest snapshot summary?
   我还原到0.8.0了,能正常跑,没有报那个错误
   <img width="1654" height="421" alt="Image" src="https://github.com/user-attachments/assets/db8a367c-2788-403a-ac50-e2cd718636f8" />
   
   <img width="573" height="813" alt="Image" src="https://github.com/user-attachments/assets/bbabec1c-7fe9-4266-964d-6b12a3a77770" />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org