Create HDFS backup directory

Create a backup directory on HDFS and make it writable for the Solr superuser. This is the diretory that you need to set in Cloudera Manager as Upgrade Backup Directory before you start the upgrade process.

  1. Create the backup directory:
    For example:
    hdfs dfs -mkdir -p /cr7-solr-upgrade/backup
  2. Make the directory accessible for the Solr superuser (solr by default):
    For example:
    hdfs dfs -chown -R solr:hadoop /cr7-solr-upgrade