Forráskód Böngészése

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

Varun Saxena 7 éve
szülő
commit
e52f26e5cf

+ 2 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests/src/test/java/org/apache/hadoop/yarn/server/timelineservice/reader/TestTimelineReaderWebServicesHBaseStorage.java

@@ -370,7 +370,8 @@ public class TestTimelineReaderWebServicesHBaseStorage
         ApplicationId appId =
             BuilderUtils.newApplicationId(timestamp, count++);
         ApplicationEntity appEntity = new ApplicationEntity();
-        appEntity.setId(appId.toString());
+        appEntity.setId(
+            HBaseTimelineStorageUtils.convertApplicationIdToString(appId));
         appEntity.setCreatedTime(timestamp);
 
         TimelineEvent created = new TimelineEvent();