upgrade via tarball, it’s easier.
connect to the machine with the user running mapd then stop you mapd services
sudo systemctl stop mapd_server
sudo systemctl stop mapd_web_server
just locate the radix of directory where mapd is installed, then unpack the tarball with tar zxvf tarball.tar.gv command.
then you have just to enter directory where 3.3.x is installed (in case you are upgrading to 3.3.1 it’s named mapd-ce-3.3.1-20171108-32e7bcc-Linux-x86_64-render), the enter systemd directory and launch sudo ./install_mapd_systemd.sh
you will be asked of directory where mapd is installed (the proposed value would be the right one), then the storage directory (you can get it from mapd.conf file you have in your system; locate it with find / -name mapd.conf command), then the user add group mapd is run (typically mapd, mapd)
now you can start the mapd services
sudo systemctl start mapd_server
sudo systemctl start mapd_web_server
hopes this help