hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vrushali C (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6905) Multiple test failures due to FastNumberFormat
Date Wed, 09 Aug 2017 21:30:00 GMT

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

Vrushali C commented on YARN-6905:
----------------------------------

So the ApplicationId.toString is being invoked in AppIdKeyConverter#decode function which
is in the hadoop-yarn-server-timelineservice-hbase module. This module depends on hadoop-yarn-api
as well as hadoop-common. So I think moving the FastNumberFormat from hadoop-common to  hadoop-yarn-api
 may not help. 

I think timeline service would need to override the ApplicationId.toString internally. Or,
although I think this won't be very likable, hadoop-yarn-api can provide a ApplicationId#toStringSlowImpl
function (or some such named function) in ApplicationId itself which keeps the old code instead
of the changes to ApplicationId #toString() in YARN-6768.

Unfortunately, we could see more classpath conflicts as trunk keeps evolving, till timeline
service on trunk can be based on the hbase version which is based on hadoop trunk. 

> 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
>            Assignee: Haibo Chen
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message