Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-425

Build broken against 2.6.0-SNAPSHOT due to new abstract methods added by YARN-2229

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Based on latest 2.6.0-SNAPSHOT, compilation fails because of the following:

      [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.
      

      This was due to new abstract methods added by YARN-2229

      Attachments

        1. slider-425.txt
          1 kB
          Ted Yu

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: