[
https://issues.apache.org/jira/browse/SLIDER-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu resolved SLIDER-425.
---------------------------
Resolution: Fixed
> Build broken against 2.6.0-SNAPSHOT due to new abstract methods added by
> YARN-2229
> ----------------------------------------------------------------------------------
>
> Key: SLIDER-425
> URL: https://issues.apache.org/jira/browse/SLIDER-425
> Project: Slider
> Issue Type: Task
> Reporter: Ted Yu
> Assignee: Ted Yu
> Attachments: slider-425.txt
>
>
> Based on latest 2.6.0-SNAPSHOT, compilation fails because of the following:
> {code}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
> (default-testCompile) on project slider-core: Compilation failure:
> Compilation failure:
> [ERROR]
> /homes/hortonzy/slider/slider-core/src/test/groovy/org/apache/slider/server/appmaster/model/mock/MockContainerId.groovy:[24,7]
> 1. ERROR in
> /homes/hortonzy/slider/slider-core/src/test/groovy/org/apache/slider/server/appmaster/model/mock/MockContainerId.groovy
> (at line 24)
> [ERROR] class MockContainerId extends ContainerId implements Cloneable {
> [ERROR] ^^^^^^^^^^^^^^^
> [ERROR] Groovy:Can't have an abstract method in a non-abstract class. The
> class 'org.apache.slider.server.appmaster.model.mock.MockContainerId' must be
> declared abstract or the method 'void setContainerId(long)' must be
> implemented.
> [ERROR]
> [ERROR]
> /homes/hortonzy/slider/slider-core/src/test/groovy/org/apache/slider/server/appmaster/model/mock/MockContainerId.groovy:[24,7]
> 2. ERROR in
> /homes/hortonzy/slider/slider-core/src/test/groovy/org/apache/slider/server/appmaster/model/mock/MockContainerId.groovy
> (at line 24)
> [ERROR] class MockContainerId extends ContainerId implements Cloneable {
> [ERROR] ^^^^^^^^^^^^^^^
> [ERROR] Groovy:Can't have an abstract method in a non-abstract class. The
> class 'org.apache.slider.server.appmaster.model.mock.MockContainerId' must be
> declared abstract or the method 'long getContainerId()' must be implemented.
> [ERROR]
> [ERROR] Found 2 errors and 0 warnings.
> {code}
> This was due to new abstract methods added by YARN-2229
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)