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

Unit test fails due to presence of conf/.svn directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Slider 0.30
    • None
    • None
    • slider may 1

    Description

      After fresh checkout from svn, I got the following test failure:

      testStandaloneAgentAM(org.apache.slider.agent.standalone.TestStandaloneAgentAM)  Time elapsed: 5.003 sec  <<< ERROR!
      java.io.IOException: Configuration dir file:/Users/tyu/slider/slider-core/src/main/resources/org/apache/slider/providers/agent/conf contains a directory file:/Users/tyu/slider/slider-core/src/main/resources/org/apache/slider/providers/agent/conf/.svn
        at org.apache.slider.common.tools.SliderUtils.copyDirectory(SliderUtils.java:366)
        at org.apache.slider.core.build.InstanceBuilder.takeSnapshotOfConfDir(InstanceBuilder.java:220)
        at org.apache.slider.core.build.InstanceBuilder$ConfDirSnapshotAction.execute(InstanceBuilder.java:283)
        at org.apache.slider.core.persist.ConfPersister.maybeExecLockHeldAction(ConfPersister.java:238)
        at org.apache.slider.core.persist.ConfPersister.save(ConfPersister.java:256)
        at org.apache.slider.core.build.InstanceBuilder.persist(InstanceBuilder.java:243)
        at org.apache.slider.client.SliderClient.buildInstanceDefinition(SliderClient.java:502)
        at org.apache.slider.client.SliderClient.actionBuild(SliderClient.java:346)
        at org.apache.slider.client.SliderClient.actionCreate(SliderClient.java:328)
        at org.apache.slider.client.SliderClient.runService(SliderClient.java:201)
        at org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:192)
        at org.apache.slider.test.SliderTestUtils.execSliderCommand(SliderTestUtils.groovy:479)
        at org.apache.slider.test.SliderTestUtils.launchClientAgainstRM(SliderTestUtils.groovy:524)
        at org.apache.slider.test.YarnMiniClusterTestBase.launchClientNoExitCodeCheck(YarnMiniClusterTestBase.groovy:286)
        at org.apache.slider.test.YarnMiniClusterTestBase.launchClientAgainstMiniMR(YarnMiniClusterTestBase.groovy:267)
      

      Attachments

        1. slider-2-v1.txt
          2 kB
          Ted Yu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: