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.
Create the backup directory:
hdfs dfs -mkdir -p /cr7-solr-upgrade/backup
Make the directory accessible for the Solr superuser (
solrby default):For example:
hdfs dfs -chown -R solr:hadoop /cr7-solr-upgrade