Karam Singh created YARN-2166:
---------------------------------

             Summary: Timelineserver should validate that 
yarn.timeline-service.leveldb-timeline-store.ttl-interval-ms is greater than 
zero when level db is for timeline store
                 Key: YARN-2166
                 URL: https://issues.apache.org/jira/browse/YARN-2166
             Project: Hadoop YARN
          Issue Type: Bug
          Components: timelineserver
            Reporter: Karam Singh


Timelineserver should validate that 
yarn.timeline-service.leveldb-timeline-store.ttl-interval-ms is greater than 
zero when level db is for timeline store

other if we start timelineserver with
yarn.timeline-service.leveldb-timeline-store.ttl-interval-ms=-5000

Timeline starts but Thread.sleep call in EntityDeletionThread.run keep on 
throwing UnCaughtExcpetion -ive value
{code}
2014-06-16 10:22:03,537 ERROR yarn.YarnUncaughtExceptionHandler 
(YarnUncaughtExceptionHandler.java:uncaughtException(68)) - Thread 
Thread[Thread-4,5,main] threw an Exception.
java.lang.IllegalArgumentException: timeout value is negative
        at java.lang.Thread.sleep(Native Method)
        at 
org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore$EntityDeletionThread.run(LeveldbTimelineStore.java:257)

{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to