Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-231

ZKUtil.killServer not closing the FileTxnSnapLog from ZK.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.1.0
    • 4.1.0
    • bookkeeper-server
    • None
    • Windows

    Description

      Trace:
      java.io.IOException: Unable to delete file: C:\Users\uma\AppData\Local\Temp\zookeeper5673563636069246854test\version-2\log.1
      at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1919)
      at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
      at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
      at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
      at org.apache.bookkeeper.test.ZooKeeperUtil.killServer(ZooKeeperUtil.java:131)
      at org.apache.bookkeeper.bookie.CookieTest.tearDownZooKeeper(CookieTest.java:59)

      When I ran the tests, I found the above trace and all tests were failing.

      Attachments

        1. BOOKKEEPER-231.patch
          0.7 kB
          Uma Maheswara Rao G

        Activity

          People

            umamaheswararao Uma Maheswara Rao G
            umamaheswararao Uma Maheswara Rao G
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: