You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Ivan Kelly (JIRA)" <ji...@apache.org> on 2012/10/22 16:36:12 UTC

[jira] [Updated] (BOOKKEEPER-387) BookKeeper Upgrade is not working.

     [ https://issues.apache.org/jira/browse/BOOKKEEPER-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Kelly updated BOOKKEEPER-387:
----------------------------------

    Fix Version/s:     (was: 4.1.0)
                   4.1.1
    
> BookKeeper Upgrade is not working.
> ----------------------------------
>
>                 Key: BOOKKEEPER-387
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-387
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-server
>    Affects Versions: 4.1.0
>            Reporter: surendra singh lilhore
>            Assignee: surendra singh lilhore
>             Fix For: 4.2.0, 4.1.1
>
>         Attachments: BOOKKEEPER-387_1.patch, BOOKKEEPER-387.diff, BOOKKEEPER-387.patch
>
>
> 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.
> {code}
> 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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira