YARN-1984. LeveldbTimelineStore does not handle db exceptions properly. Contributed by Varun Saxena