This page describes how to troubleshoot an issue in which an incorrect repository URL
is stored in the Installer properties.json
file.
The properties.json file stores information such as the user ID of the
cluster administrator, the user ID of the Installer, the OS
type, Internet access information, and the repository URL. Once the repository URL has been
stored in properties.json, the Installer
assumes that the URL will not change.
If you run mapr-setup.sh -r <url> and you make a mistake when typing
the URL, the incorrect URL is added into the Installer
properties.json file. If you later run mapr-setup.sh -r
<url> again but with the correct URL, the properties.json is
not updated. Even upgrading the installer packages does not update the repository URL in
properties.json.
Some versions of the Installer generate a warning if you try
to correct the URL by running mapr-setup.sh -r <url> again, but older
versions of the Installer do not generate a warning. Whether
or not a warning is generated, you can correct the issue, but how you do so depends on the
version of the Installer that is installed.
mapr-setup.sh -r <url> and provide a new URL. The warning describes
two ways to change the URL currently stored in the properties.json file:reload or remove command, and then
specify a new URL:bash /tmp/mapr-setup.sh -R <new_url> reload or
bash /tmp/mapr-setup.sh removeUsing the
remove command removes properties.json, the
installer database, and the installer packages, but not the setup script.
bash /tmp/mapr-setup.sh -r <new_url>properties.json file:properties.json file to specify the new
URL:edit /opt/mapr/installer/data/properties.jsonsystemctl restart mapr-installermapr-setup.sh -r <url> and provide a new URL. To pass a new
repository value into properties.json for Installer versions 1.9 or earlier, you must first remove the installer
files:mapr-setup.sh removeremove command removes properties.json, the
installer database, and the installer packages, but not the setup script. After the files
are removed, you can rerun mapr-setup.sh to specify the new repository
URL:bash /tmp/mapr-setup.sh -r <new_url>To run mapr-setup.sh, see MapR Installer. For information about options you can use with
mapr-setup.sh, see Using mapr-setup.sh.