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

Jason Lowe commented on YARN-8338:
----------------------------------

Thanks for the patch!  Yeah, this looks like a case of a hidden dependency that 
isn't getting pulled in.

I was wondering why we have to explicitly add this dependency when I can find 
no use of objenesis in the code base.  However I did notice this in the same 
applicationhistoryservice pom that is being modified:
{code}
    <dependency>
      <groupId>de.ruedigermoeller</groupId>
      <artifactId>fst</artifactId>
      <version>2.50</version>
      <exclusions>
        <exclusion>
          <groupId>org.javassist</groupId>
          <artifactId>javassist</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.objenesis</groupId>
          <artifactId>objenesis</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
{code}

The explicit exclusion of the objenesis dependency looks like it could be the 
reason we're not getting what we need.  Does it make more sense to remove that 
exclusion rather than add a dependency we're not directly depending upon?  
Pinging [~haibochen] since [this 
comment|https://issues.apache.org/jira/browse/YARN-5894?focusedCommentId=15985224&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15985224]
 implies we're not supposed to be using it in practice but apparently are.


> TimelineService V1.5 doesn't come up after HADOOP-15406
> -------------------------------------------------------
>
>                 Key: YARN-8338
>                 URL: https://issues.apache.org/jira/browse/YARN-8338
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Vinod Kumar Vavilapalli
>            Priority: Critical
>         Attachments: YARN-8338.txt
>
>
> TimelineService V1.5 fails with the following:
> {code}
> java.lang.NoClassDefFoundError: org/objenesis/Objenesis
>       at 
> org.apache.hadoop.yarn.server.timeline.RollingLevelDBTimelineStore.<clinit>(RollingLevelDBTimelineStore.java:174)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to