Describes how to manually upgrade each node to the latest version of data-fabric packages.
This procedure assumes that the cluster being upgraded is running release 6.1.0:
Download the archive file from https://package.mapr.com/releases/.
tar -xzvf <archive file>maprcli node services -name cldb -action stop -nodes <hostname>sudo maprcli node maintenance -nodes <hostname> -timeoutminutes 30sudo maprcli notifyupgrade start -node <hostname>sudo service mapr-warden stopservice mapr-zookeeper stopjps
46343 Jps
3607 -- process information unavailable
(Nothing running here)
sudo update-alternatives --config javaRemove any patches installed on the node.
sudo rpm -e mapr-patch
sudo apt-get -y remove mapr-patchUpgrade each data-fabric package on the node based on the defined package upgrade order by running this command for each package:
yum upgrade <packagename>apt-get install --only-upgrade -o
Dpkg::Options::="--force-overwrite" mapr-fileserver mapr-core
mapr-cldb
mapr-mapreduce2 if it is presentmapr-hadoop-core if you are upgrading a
fileserver node that does not have the ResourceManager, NodeManager, or
History Server. On such a node, only mapr-hadoop-util
is needed after upgrading.-disableSsl option:
/opt/mapr/server/configure.sh -R -disableSslDisabling SSL
prevents the upgraded node from attempting to use SSL with nodes that have not
been upgraded. Release 6.2.0 nodes use SSL, but release 6.1.0 nodes do not.
After all the ZooKeeper nodes have been upgraded, the SSL feature can be turned
on by stopping the cluster, running configure.sh -R on all
nodes and restarting the cluster./opt/mapr/conf directory:maprserverticketssl_keystoressl_keystore.p12ssl_keystore.pemssl_truststoressl_truststore.p12ssl_truststore.pemservice mapr-zookeeper startsudo service mapr-warden startmaprcli node listUnset maintenance mode on the node, notify the CLDB about the upgraded version, and about the finished status of the upgrade process.
sudo maprcli node maintenance -nodes <hostname> -timeoutminutes 0
sudo maprcli config save -values {mapr.targetversion:"'cat /opt/mapr/MapRBuildVersion'"}
sudo maprcli notifyupgrade finish -node <hostname>
Wait for the containers to synchronize. Then run the following command, and check that there is no output.
/opt/mapr/server/mrconfig info containers resync local
No output signifies that the containers are synchronized.