ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Vitiuk (Jira)" <>
Subject [jira] [Created] (AMBARI-25609) sysUpTime field is populated with invalid value during SNMP trap creation
Date Tue, 12 Jan 2021 14:02:00 GMT
Dmytro Vitiuk created AMBARI-25609:

             Summary: sysUpTime field is populated with invalid value during SNMP trap creation
                 Key: AMBARI-25609
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.7.5
            Reporter: Dmytro Vitiuk
             Fix For: 2.7.6

Ambari tries to set milliseconds to the "sysUpTime" field:

but this field accepts hundreds of milliseconds:
The time (in hundredths of a second) since the network
            management portion of the system was last re-initialized.

So after about 50-days in up-time an ambari server is not able to populate "sysUpTime" with
a correct value (the max value the field is able to accept is "4294967295" - it is about 50
days in milliseconds).
 Exception in ambari-server.log:
java.lang.IllegalArgumentException: Argument must be an unsigned 32bit value
	at org.snmp4j.smi.UnsignedInteger32.setValue(
	at org.snmp4j.smi.UnsignedInteger32.<init>(
	at org.snmp4j.smi.TimeTicks.<init>(
	at org.apache.ambari.server.notifications.dispatchers.AmbariSNMPDispatcher.prepareTrap(
	at org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher.sendTraps(
	at org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher.dispatch(
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$

This message was sent by Atlassian Jira

View raw message