Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2012-11-02T20:23:08Z by SystemAdmin
EmiliePOCCIOLI
EmiliePOCCIOLI
12 Posts
ACCEPTED ANSWER

Pinned topic Upgrade IUI0005E: Failed to backup previous biginsights

‏2012-11-02T10:29:31Z |
Hi,

I'm currently trying to upgrade a BigInsights cluster (from 1.3.0.1 to 1.4 version)
To do so, I already upgraded it (from 1.3.0.0 to 1.3.0.1)
For this first upgrade, I followed all the instructions and ended up by running the finalizeUpgrade.sh script that ran successfully.

Then, while trying to upgrade the cluster to version 1.4 I'm facing an issue that I am not able to solve.

Here are the logs for this upgrade :

INFO] Progress - BigInsights 1.3.0.1 is from an upgrad of BigInsights 1.3.0.0...
INFO Progress - Check HDFS upgrade status
INFO @bigdata.ibm.com - hadoop dfsadmin -upgradeProgress status
There are no upgrades in progress.
ERROR DeployManager -
ERROR DeployManager - OPERATION ERROR -- Backup directories:
ERROR DeployManager -
ERROR DeployManager - Sanity tests failed
com.ibm.xap.mgmt.DeployException: Sanity test failed against the BigInsights installed. -- =1 (Sanity test failed: null Please upgrade and finalize HDFS before upgrading to the new version of BigInsights.)
at com.ibm.xap.mgmt.DeployManager.backupDirectories(DeployManager.java:2536)
at com.ibm.xap.mgmt.BackupPreviousInstallManager.main(BackupPreviousInstallManager.java:86)
ERROR DeployManager - Backup directories failed
com.ibm.xap.mgmt.DeployException: No directories were backed up because the sanity test failed.
at com.ibm.xap.mgmt.DeployManager.backupDirectories(DeployManager.java:2537)
at com.ibm.xap.mgmt.BackupPreviousInstallManager.main(BackupPreviousInstallManager.java:86)
ERROR] DeployManager - Backup directories; SUCCEEDED components: [; FAILED components: Sanity tests, Backup directories
FATAL Failed to backup previous biginsights.
It looks like I haven't run the upgrade-DFS and the finalizeUpgrade scripts but I did and it turns out they were successful.
I also set all the directories permissions correctly so I don't know what to do.

I would appreciate any help to fix this issue.

Thanks in advance

Emilie
Updated on 2012-11-02T20:23:08Z at 2012-11-02T20:23:08Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    603 Posts
    ACCEPTED ANSWER

    Re: Upgrade IUI0005E: Failed to backup previous biginsights

    ‏2012-11-02T20:23:08Z  in response to EmiliePOCCIOLI
    Hi Emilie,

    1) Please verify that under $BIGINSIGHTS_HOME (/opt/ibm/biginsights) and $BIGINSIGHTS_VAR (/var/ibm/biginsights) there are no _biattic* directories
    2) If _biattic* directories are gone, then modify $BIGINSIGHTS_HOME/conf/install.xml
    where it says: <operation>upgrade</operation>
    change it to: <operation>install</operation>
    3) Try again with the upgrade

    Hope this helps.

    Thanks,

    Zach