[ 
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, but
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
(v6.4.14#64029)

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

Reply via email to