Member since
11-02-2018
16
Posts
0
Kudos Received
0
Solutions
01-27-2019
03:43 PM
In my case, I get a different error: Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/custom_actions/scripts/remove_previous_stacks.py", line 119, in <module>
RemovePreviousStacks().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute
method(env)
File "/var/lib/ambari-agent/cache/custom_actions/scripts/remove_previous_stacks.py", line 49, in actionexecute
self.remove_stack_version(structured_output, low_version)
File "/var/lib/ambari-agent/cache/custom_actions/scripts/remove_previous_stacks.py", line 53, in remove_stack_version
self.check_no_symlink_to_version(structured_output, version)
File "/var/lib/ambari-agent/cache/custom_actions/scripts/remove_previous_stacks.py", line 94, in check_no_symlink_to_version
raise Fail("{0} contains symlink to version for remove! {1}".format(stack_root_current, version))
resource_management.core.exceptions.Fail: /usr/hdp/current/ contains symlink to version for remove! 3.0.1.0-187
Do you have any solution for this error?
... View more
01-25-2019
07:47 PM
Thanks Geoffrey. I copied the backup of the ambari.properties to expected location and ran the upgrade command again and it worked this time.
... View more
01-25-2019
07:45 PM
When upgrading Ambari from 2.7.1 to 2.7.3, I get these messages with no mention of failure or success: Preparing to unpack .../ambari-server_2.7.3.0-139_amd64.deb ...
Backing up Ambari properties: /etc/ambari-server/conf/ambari.properties -> /etc/ambari-server/conf/ambari.properties.rpmsave
Backing up Ambari properties: /var/lib/ambari-server/ambari-env.sh -> /var/lib/ambari-server/ambari-env.sh.rpmsave
Backing up JAAS login file: /etc/ambari-server/conf/krb5JAASLogin.conf -> /etc/ambari-server/conf/krb5JAASLogin.conf.rpmsave
Backing up stacks directory: /var/lib/ambari-server/resources/stacks -> /var/lib/ambari-server/resources/stacks_25_01_19_17_08.old
Backing up common-services directory: /var/lib/ambari-server/resources/common-services -> /var/lib/ambari-server/resources/common-services_25_01_19_17_08.old
Backing up mpacks directory: /var/lib/ambari-server/resources/mpacks -> /var/lib/ambari-server/resources/mpacks_25_01_19_17_08.old
Backing up Ambari view jars: /var/lib/ambari-server/resources/views/*.jar -> /var/lib/ambari-server/resources/views/backups/
Backing up Ambari server jar: /usr/lib/ambari-server/ambari-server-2.7.1.0.169.jar -> /usr/lib/ambari-server-backups/
Unpacking ambari-server (2.7.3.0-139) over (2.7.1.0-169) ...
insserv: warning: script 'K01hst' missing LSB tags and overrides
insserv: warning: script 'hst' missing LSB tags and overrides
grep: Invalid content of \{\}
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu21.15) ...
Setting up ambari-server (2.7.3.0-139) ...
insserv: warning: script 'K01hst' missing LSB tags and overrides
insserv: warning: script 'hst' missing LSB tags and overrides
grep: Invalid content of \{\}
and the subsequent "ambari-server upgrade" fails with this error: Using python /usr/bin/python
Upgrading ambari-server
INFO: Upgrade Ambari Server
INFO: Updating Ambari Server properties in ambari.properties ...
INFO: Updating Ambari Server properties in ambari-env.sh ...
INFO: Original file ambari-env.sh kept
WARNING: server.jdbc.database_name property isn't set in ambari.properties . Setting it to default value - ambari
INFO: Fixing database objects owner
ERROR: Unexpected AttributeError: 'NoneType' object has no attribute 'title'
For more info run ambari-server with -v or --verbose option
Any pointers/guidance to fix this is appreciated.
... View more
Labels:
- Labels:
-
Apache Ambari
01-11-2019
10:44 PM
Thanks, based on your feedback, I followed instruction on this page to use main hbase service and alert is gone.
... View more
01-11-2019
06:26 PM
Let me clarify, Yarn service does start and everything seems to be working, but this critical alert keeps appearing in the Ambari UI.
... View more
01-10-2019
06:03 PM
This did not make any difference. I still get this critical alert: The HBase application reported a 'STARTED' state.
... View more
01-10-2019
05:21 PM
@Guillaume Roger Thanks for providing a solution. Is this safe to do on a running cluster? Will it cause any loss of data?
... View more
11-12-2018
06:41 PM
I see the same Ambari alert "The HBase application reported a 'STARTED' state". Why dose Ambari alert on "STARTED" state?
... View more