[
https://issues.apache.org/jira/browse/SLIDER-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135373#comment-14135373
]
ASF subversion and git services commented on SLIDER-425:
--------------------------------------------------------
Commit 3549996f842e28f7c3958500a33824d857327f26 in incubator-slider's branch
refs/heads/develop from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=3549996 ]
SLIDER-425 use long containerID more consistently, and add as constructor arg,
and add app id/app attempt ID as default at the same time
> 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)