Please follow these instructions when upgrading from an older Titan release.
From Version 0.2.0
No special upgrade necessary.
From prior versions
Upgrade to 0.2.0 first as described below.
From Version 0.1.0
- Shut down all running instances of Titan. If the storage backend is Cassandra or HBase, do not shut down the respective storage backend but leave it running. So, only terminate the Titan processes.
- Create a backup of the storage backend. For BerkeleyDB, simply archive the contents of the storage directory. For Cassandra and HBase, follow the directions for the respective backup functionalities. Store the backup in a secure place.
- Download and unzip Titan 0.2.0 on the (or one of the) machines that has been running Titan previously.
- Execute the upgrade010to020.sh/bat script in the bin directory of Titan 0.2.0 with the file name of the Titan configuration file (i.e. the argument passed into
TitanFactory.open()
) as the only argument. Follow the instructions. If asked to confirm the id block size, please ensure that the displayed value matches your configuration. If you did not configure this value, simply enter yes. Ensure that the script completes successfully. - Install Titan 0.2.0 on all machines. Start Titan 0.2.0. Only use the 0.2.0 version of Titan from this point on.
From Version 0.1-alpha
- Shut down all running instances of Titan prior to upgrading ALL instances to the current release to avoid data corruption.