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

BookKeeper Upgrade is not working.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.2.0, 4.1.1
    • bookkeeper-server
    • None

    Description

      I am trying to upgrade BK from 4.1.0 to 4.2.0, but it will log as "Directory is current, no need to upgradeā€ even then it will continue and fail.
      and throwing following exception.

      2012-09-03 17:25:12,468 - ERROR - [main:FileSystemUpgrade@229] - Error moving upgraded directories into place /home/BK4.1/bookkeeper1/ledger/upgradeTmp.2433718456734190 -> /home/BK4.1/bookkeeper1/ledger/current
      org.apache.commons.io.FileExistsException: Destination '/home/BK4.1/bookkeeper1/ledger/current' already exists
              at org.apache.commons.io.FileUtils.moveDirectory(FileUtils.java:2304)
              at org.apache.bookkeeper.bookie.FileSystemUpgrade.upgrade(FileSystemUpgrade.java:225)
              at org.apache.bookkeeper.bookie.FileSystemUpgrade.main(FileSystemUpgrade.java:367)
      

      Attachments

        1. BOOKKEEPER-387_1.patch
          1 kB
          Surendra Singh Lilhore
        2. BOOKKEEPER-387.diff
          2 kB
          Sijie Guo
        3. BOOKKEEPER-387.patch
          0.7 kB
          Surendra Singh Lilhore

        Activity

          People

            surendralilhore Surendra Singh Lilhore
            surendralilhore Surendra Singh Lilhore
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: