hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6905) Multiple test failures due to FastNumberFormat
Date Tue, 08 Aug 2017 19:49:00 GMT

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

Haibo Chen commented on YARN-6905:

The hadoop-yarn-server-timelineservice-hbase-tests module uses hadoop-yarn-api-3.0 which depends
on hadoop-common-3.0 (to be able to use the newly added FastNumberFormat in ApplicationId.toString()),
but it also forces hadoop-common-2.5.1 for hbase-client-1.2.4 jars. The solution to the diamond
dependency issue is to upgrade hbase-client to 2.0 so we don't need to force hadoop-common-2.5.1,
it has not been released yet. Before, the final solution becomes an option, we could either
move FastNumberFormat to hadoop-yarn-api since only hadoop-yarn-api is using FastNumberFormat
for now, or override
ApplicationId.toString() in hadoop-yarn-server-timelineservice-hbase-tests. I think the former
is less hackier. Thoughts?  CC [~vrushalic] [~varun_saxena] [~rohithsharma].

> Multiple test failures due to FastNumberFormat
> ----------------------------------------------
>                 Key: YARN-6905
>                 URL: https://issues.apache.org/jira/browse/YARN-6905
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: 3.0.0-beta1
>         Environment: Ubuntu 14.04 
> x86, ppc64le
> $ java -version
> openjdk version "1.8.0_111"
> OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
> OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
>            Reporter: Sonia Garudi
> There are multiple test failing in Hadoop YARN Timeline Service HBase tests project with
the following error :
> {code}
> java.lang.NoClassDefFoundError: org/apache/hadoop/util/FastNumberFormat
>         at org.apache.hadoop.yarn.api.records.ApplicationId.toString(ApplicationId.java:104)
> {code}
> Below are the failing tests :
> {code}
>   TestHBaseTimelineStorageApps.testWriteApplicationToHBase
>   TestHBaseTimelineStorageApps.testEvents
>   TestHBaseTimelineStorageEntities.testEventsEscapeTs
>   TestHBaseTimelineStorageEntities.testWriteEntityToHBase
>   TestHBaseTimelineStorageEntities.testEventsWithEmptyInfo
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message