Created 11-14-2018 07:11 PM
For upgrade testing, I've deployed HDP2.6.5.0-292 (w/ Ambari 2.6.2.2) from Cloubreak and followed the documentation to upgrade to Ambari 2.7.1.0.
It fails during the "ambari-server upgrade " process
# ambari-server upgrade 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: Original file krb5JAASLogin.conf kept INFO: File krb5JAASLogin.conf updated. INFO: Fixing database objects owner Ambari Server configured for Postgres. Confirm you have made a backup of the Ambari Server database [y/n] (n)? y INFO: Upgrading database schema ERROR: Unexpected ValueError: No JSON object could be decoded Traceback (most recent call last): File "/usr/sbin/ambari-server.py", line 1060, in <module> mainBody() File "/usr/sbin/ambari-server.py", line 1030, in mainBody main(options, args, parser) File "/usr/sbin/ambari-server.py", line 980, in main action_obj.execute() File "/usr/sbin/ambari-server.py", line 79, in execute self.fn(*self.args, **self.kwargs) File "/usr/lib/ambari-server/lib/ambari_server/serverUpgrade.py", line 262, in upgrade retcode = run_schema_upgrade(args) File "/usr/lib/ambari-server/lib/ambari_server/serverUpgrade.py", line 162, in run_schema_upgrade upgrade_response = json.loads(stdout) File "/usr/lib/ambari-server/lib/ambari_simplejson/__init__.py", line 307, in loads return _default_decoder.decode(s) File "/usr/lib/ambari-server/lib/ambari_simplejson/decoder.py", line 335, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/ambari-server/lib/ambari_simplejson/decoder.py", line 353, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded
Created 11-15-2018 04:19 AM
Hi @Renaud Manus,
Can you please see what is error in /var/log/ambari-server/ambari-server.log
because this exception doesn't state what the error.
Created 11-15-2018 09:51 AM
What kind of documentation are you referring to?
As per the Cloudbreak docs, in the latest CB 2.8.0 version, Ambari and HDP upgrade on long-running clusters is not yet supported, that feature will be part of the upcoming release.
Hope this helps!
Created 11-15-2018 10:05 AM
ok thanks @pdarvasi