YARN-6905. Addendum to fix TestTimelineReaderWebServicesHBaseStorage due to missing FastNumberFormat

This commit is contained in:
Varun Saxena 2017-08-22 18:48:18 +05:30
parent 16ba4f544f
commit 512068a01f

View File

@ -370,7 +370,8 @@ static void writeApplicationEntities(HBaseTimelineWriterImpl hbi,
ApplicationId appId = ApplicationId appId =
BuilderUtils.newApplicationId(timestamp, count++); BuilderUtils.newApplicationId(timestamp, count++);
ApplicationEntity appEntity = new ApplicationEntity(); ApplicationEntity appEntity = new ApplicationEntity();
appEntity.setId(appId.toString()); appEntity.setId(
HBaseTimelineStorageUtils.convertApplicationIdToString(appId));
appEntity.setCreatedTime(timestamp); appEntity.setCreatedTime(timestamp);
TimelineEvent created = new TimelineEvent(); TimelineEvent created = new TimelineEvent();