Pre-Upgrade Steps for HttpFS

Complete the following steps before you upgrade HttpFS with or without the MapR Installer.

About this task

Stop the HttpFS service using the following command:
maprcli node services -name httpfs -action stop -nodes <ip_address>
For EEP 6.3.4 and earlier, back up existing configuration files if you made HttpFS configuration changes that you want to carry over to the next version. Typically, the following configuration files contain changes:
  • /opt/mapr/httpfs/httpfs-1.0/share/hadoop/httpfs/tomcat/webapps/webhdfs/WEB-INF/web.xml
  • /opt/mapr/httpfs/httpfs-1.0/share/hadoop/httpfs/tomcat/conf/server.xml
  • /opt/mapr/httpfs/httpfs-1.0/share/hadoop/httpfs/tomcat/conf/tomcat-users.xml
  • /opt/mapr/httpfs/httpfs-1.0/etc/hadoop/httpfs-site.xml
To back up configuration files, copy the files to a location outside the MapR installation directory. After upgrading, you can reapply changes to the updated httpFS installation using the backup.
NOTE To verify EEP and core version support, see EEP Support and Lifecycle Status.

Preserving HttpFS Configuration

Preserving of user configuration logic is built into HttpFS.

Procedure

User configuration from a previous version is copied to a folder with an old version timestamp and is also copied to a new version conf folder.