[ 
https://issues.apache.org/jira/browse/YARN-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14212600#comment-14212600
 ] 

Zhijie Shen commented on YARN-2166:
-----------------------------------

See the comments on 
[YARN-2165|https://issues.apache.org/jira/browse/YARN-2165?focusedCommentId=14212595&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14212595].
 How about having one pass to do sanity check for all numeric configs.

> 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: Sub-task
>          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 UncaughtException -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.3.4#6332)

Reply via email to