You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2022/12/22 05:02:56 UTC

[GitHub] [druid] sachidananda007 opened a new issue, #13613: Getting 'java.lang.ArithmeticException: / by zero' in overlord log

sachidananda007 opened a new issue, #13613:
URL: https://github.com/apache/druid/issues/13613

   
   The Druid version where the problem was encountered.
   0.22.1
   In over lord log i can see this error log
   > Uncaught exception.
   java.lang.ArithmeticException: / by zero
   	at org.apache.druid.java.util.metrics.SysMonitor$CpuStats.emit(SysMonitor.java:459) ~[druid-core-0.22.1.jar:0.22.1]
   	at org.apache.druid.java.util.metrics.SysMonitor.doMonitor(SysMonitor.java:107) ~[druid-core-0.22.1.jar:0.22.1]
   	at org.apache.druid.java.util.metrics.AbstractMonitor.monitor(AbstractMonitor.java:48) ~[druid-core-0.22.1.jar:0.22.1]
   	at org.apache.druid.java.util.metrics.BasicMonitorScheduler.lambda$startMonitor$0(BasicMonitorScheduler.java:56) ~[druid-core-0.22.1.jar:0.22.1]
   	at org.apache.druid.java.util.common.concurrent.ScheduledExecutors$4.run(ScheduledExecutors.java:163) [druid-core-0.22.1.jar:0.22.1]
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_342]
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_342]
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_342]
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_342]
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_342]
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_342]
   	at java.lang.Thread.run(Thread.java:750) [?:1.8.0_342]
   
   


-- 
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@druid.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] Getting 'java.lang.ArithmeticException: / by zero' in overlord log (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13613:
URL: https://github.com/apache/druid/issues/13613#issuecomment-1897540395

   This issue has been marked as stale due to 280 days of inactivity.
   It will be closed in 4 weeks if no further activity occurs. If this issue is still
   relevant, please simply write any comment. Even if closed, you can still revive the
   issue at any time or discuss it on the dev@druid.apache.org list.
   Thank you for your contributions.


-- 
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@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] LakshSingla commented on issue #13613: Getting 'java.lang.ArithmeticException: / by zero' in overlord log

Posted by GitBox <gi...@apache.org>.
LakshSingla commented on issue #13613:
URL: https://github.com/apache/druid/issues/13613#issuecomment-1370392772

   Here's what I think might have happened - For a utilization metric of JVM (nice time, idle time, wait time, etc), the SysMonitor reports the stat as a percentage of the difference between the current utilization time and the last reported utilization time over the difference between total JVM time between the two occurrences. In case the delta between the total time (for any CPU) is 0, this might throw an arithmetic exception. The fix for this should be simple, i.e. to not emit the metrics when the delta total is 0. 
   To understand if the above is correct, are you seeing these error messages often in the logs? My guess is that it should be a rare occurrence. And if you are seeing this continuously, does Druid run as a main process on the server, or are there other processes that can preempt the execution? 


-- 
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@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] Getting 'java.lang.ArithmeticException: / by zero' in overlord log (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13613:
URL: https://github.com/apache/druid/issues/13613#issuecomment-1947543384

   This issue has been closed due to lack of activity. If you think that
   is incorrect, or the issue requires additional review, you can revive the issue at
   any time.


-- 
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@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] Getting 'java.lang.ArithmeticException: / by zero' in overlord log (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #13613: Getting 'java.lang.ArithmeticException: / by zero' in overlord log
URL: https://github.com/apache/druid/issues/13613


-- 
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@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org