Review errors in /var/log/messages/.
If the following error message appears:
abrtd: Executable '/usr/bin/relocate_resources.py' doesn't belong to any package and ProcessUnpackaged is set to 'no'
In /etc/abrt/abrt-action-save-package-data.conf, set ProcessUnpackaged=Yes.
If the scripts return Error status=exit code 3, make sure the following are true:
The ambari agent on the failover host is running.
Failover did not result from STOP HDFS or STOP NN/JT, using Ambari.
The following table lists and describes parameters for relocate_host_components.py.
Table 9.1. Parameter Options for relocate_host_components.py
Parameter | Value | Example | Description |
---|---|---|---|
-h, | na | --help | Display all parameter options. |
-v, | na | --verbose | Increases output verbosity. |
-s, | SERVER_HOSTNAME, | --host=SERVER_HOSTNAME | Ambari server host name (FQDN) |
-p, | SERVER_PORT, | --port=SERVER_PORT | Ambari server port. [default: 8080] |
-r, | PROTOCOL, | --protocol=PROTOCOL | Protocol for communicating with Ambari server (http/https) [default: http] |
-c, | CLUSTER_NAME, | --cluster-name=CLUSTER_NAME | Ambari cluster to operate on. |
-e, | SERVICE_NAME, | --service-name=SERVICE_NAME | Ambari Service to which the component belongs. |
-m, | COMPONENT_NAME, | --component-name=COMPONENT_NAME | Ambari Service Component to operate on. |
-n, | NEW_HOSTNAME, | --new-host=NEW_HOSTNAME | New host to relocate the component to. |
-a, | ACTION, | --action=ACTION | Script action. [default: relocate] |
-o, | FILE, | --output-file=FILE | Output file. [default: /temp/ambari_reinstall_probe.out] |
-u, | USERNAME, | --username=USERNAME | Ambari server admin user. [default: admin] |
-w, | PASSWORD, | --password=PASSWORD | Ambari server admin password. |
-d, | COMPONENT_NAME, | --start-component | Start the component after reassignment. |