Apache Ambari Release Notes
Also available as:
PDF

Known Issues

Ambari 2.5.1 has the following known issues, scheduled for resolution in a future release. Also, refer to the Ambari Troubleshooting Guide for additional information.

Table 1.5. Ambari 2.5.1 Known Issues

Apache Jira

HWX Jira

Problem

Solution

AMBARI-22469BUG- 91993

Ambari Sever 2.5.x set up as an Ambari Views Server (standalone server with a second Ambari Server registered as a remote server) fails when upgraded to version 2.6.0.

ERROR: Error executing schema upgrade, please check the server logs.
ERROR: Error output from schema upgrade command:
ERROR: Exception in thread "main" org.apache.ambari.server.AmbariException: Unable to find any CURRENT repositories.
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeUpgrade(SchemaUpgradeHelper.java:203)
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:418)
Caused by: org.apache.ambari.server.AmbariException: Unable to find any CURRENT repositories.
	at org.apache.ambari.server.upgrade.UpgradeCatalog260.getCurrentVersionID(UpgradeCatalog260.java:510)
	at org.apache.ambari.server.upgrade.UpgradeCatalog260.executeDDLUpdates(UpgradeCatalog260.java:194)
	at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeSchema(AbstractUpgradeCatalog.java:923)
	at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeUpgrade(SchemaUpgradeHelper.java:200)
	... 1 more

ERROR: Ambari server upgrade failed. Please look at /var/log/ambari-server/ambari-server.log, for more details.
ERROR: Exiting with exit code 11.
REASON: Schema upgrade failed.
No known workaround. Please contact Hortonworks Customer Support for assistance.
AMBARI-20896

BUG-66869

In an HDP + HDF cluster with NiFi installed, metrics appear in Ambari Web UI. However, some Grafana dashboards with Hosts drop-down, such as Kafka-Hosts, HBase-RegionServers, System-Servers, and NiFi-Hosts do not show data. Also, templated dashboards, such as Kafka-Topics and HDFS Users, show "undefine" in the URL generated for making the GET call. For example:

http://amb25101:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames= kafka.server.BrokerTopicMetrics.BytesInPerSec.topic.TestTopic.countNaNundefined._avg&appId=kafka_broker&startTime=1501211592&endTime=1501233192

and

http://avijayan-hotfix1019-1.openstacklocal:3000/api/datasources/proxy/1/ws/v1/timeline/metrics?metricNames= ipc.client.org.apache.hadoop.ipc.DecayRpcScheduler.Caller(hbase).Volume._diff._avg&instanceId=undefined&appId=namenode&startTime=1502294274&endTime=1502315874

Manually create the Grafana dashboard to visualize the affected metrics.

N/A

BUG-81933

NiFi service fails to start on a HDP + HDF integration cluster

with the following exception:

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/nifi_ca.py",
 line 114, in <module> CertificateAuthority().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 329, in execute method(env)
  File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/nifi_ca.py",
 line 92, in start Execute((run_ca_script, params.jdk64_home, ca_server_script,
   params.nifi_config_dir + '/nifi-certificate-authority.json', params.nifi_ca_log_file_stdout,
   params.nifi_ca_log_file_stderr, status_params.nifi_ca_pid_file), user=params.nifi_user)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py",
 line 155, in __init__ self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
 line 160, in run self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
 line 124, in run_action provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
 line 262, in action_run tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
 line 72, in inner result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
 line 102, in checked_call tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
 line 150, in _call_wrapper result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
 line 303, in _call raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed:
 Execution of '/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/run_ca.sh /usr/jdk64/jdk1.8.0_112
 /var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/files/nifi-toolkit-1.2.0.3.0.0.0-406/bin/tls-toolkit.sh
 /usr/hdf/current/nifi/conf/nifi-certificate-authority.json /grid/0/log/nifi/nifi-ca.stdout /grid/0/log/nifi/nifi-ca.stderr
 /var/run/nifi/nifi-ca.pid' returned 126. -bash:
 /var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/run_ca.sh: Permission denied

N/A

BUG-81870

YARN service check fails after moving the resource manager to a new host on a wire-encrypted cluster.

Displays the following error message:

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py",
 line 181, in <module> ServiceCheck().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 329, in execute method(env)
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py",
 line 131, in service_check active_rm_webapp_address = self.get_active_rm_webapp_address()
  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py",
 line 177, in get_active_rm_webapp_address raise Fail('Resource Manager state is not available.
 Failed to determine the active Resource Manager web application address from {0}'
.format(','.join(rm_webapp_addresses)));
 resource_management.core.exceptions.Fail: Resource Manager state is not available.
 Failed to determine the active Resource Manager web application address from
 ctr-e133-1493418528701-64577-01-000002.hwx.site:8090 

Manually update the yarn.resourcemanager.webapp.https.address property to use the new resource manager host name, then restart the YARN service.

N/A

BUG-81818

No log information displays in Ambari Host Details > Log tab.

Host Environment: RHEL6 / MySql 5.6

Restart the Ambari Server host.

RANGER-1607

BUG-80977

After upgrading Ambari from 2.2.2 to 2.5.1, then Express Upgrading (wire-encrypted, secure) HDP 2.4.2 >> 2.5.3 >> 2.6.1 , Ranger service check fails with the following error message:

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/service_check.py",
 line 49, in <module> RangerServiceCheck().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 329, in execute method(env)
  File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/service_check.py",
 line 34, in service_check self.check_ranger_admin_service(params.ranger_external_url, params.upgrade_marker_file)
 File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/service_check.py",
 line 43, in check_ranger_admin_service logoutput=True)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py",
 line 155, in __init__ self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
 line 160, in run self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
 line 124, in run_action provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
 line 262, in action_run tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72,
 in inner result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
 line 102, in checked_call tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
 line 150, in _call_wrapper result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
 line 303, in _call raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed:
 Execution of 'curl -s -o /dev/null -w'%{http_code}'
 --negotiate -u: -k https://nats11-36-pnes-dgm10tofnmlevelsecha-s11-6.openstacklocal:6182/login.jsp | grep 200' returned 1.

N/A

BUG-79562

Hive client fails to start on a blueprint-deployed cluster with only Hive Metastore and ZooKeeper deployed.

N/A

BUG-78662

After upgrading Ambari from version 2.2.2 or 2.4.2 to 2.5.x, starting or restarting Ambari Server shows a failure message, but Ambari Server is actually started:

[root@hcube1-1n01 ~]# ambari-server start
Using python  /usr/bin/python
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Ambari database consistency check started...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start............................................................
DB configs consistency check found warnings. See /var/log/ambari-server/ambari-server-check-database.log
 for more details.
ERROR: Exiting with exit code 1.
REASON: Server not yet listening on http port 8443 after 50 seconds. Exiting.
[root@hcube1-1n01 ~]# less /var/log/ambari-server/ambari
ambari-alerts.log          ambari-eclipselink.log            ambari-server.log     ambari-server.log.zip
ambari-audit.log           ambari-server-check-database.log  ambari-server.log.1   ambari-server.out
ambari-config-changes.log  ambari-server-command.log         ambari-server.log_bk  ambari_upgrade_config_changes
_03-27-2017_18:48:05.json
[root@hcube1-1n01 ~]# less /var/log/ambari-server/ambari-server.log
[root@hcube1-1n01 ~]# less /var/log/ambari-server/ambari-server-check-database.log
[root@hcube1-1n01 ~]#
[root@hcube1-1n01 ~]#
[root@hcube1-1n01 ~]# ambari-server status
Using python  /usr/bin/python
Ambari-server status
Ambari Server running
Found Ambari Server PID: 2055247 at: /var/run/ambari-server/ambari-server.pid
[root@hcube1-1n01 ~]#

So, the server start/restart operation exceeds the default 60 sec. timeout value set for the Ambari web UI..

Increase the server start/restart timeout value to at least 120 seconds, by changing the value of the following property:

server.startup.web.timeout=120

in

ambari.properties

then, try the start or restart operation again..

N/A

BUG-75707

Log Search Server Start fails after upgrade from Ambari 2.4.x to 2.5 with the following errror message:

Client Not Found in Kerberos Database

Regenerate Keytabs after completing upgrade and post upgrade steps to upgrade server, metrics, log search and infra components.

N/A

BUG-78170

Hive Visual Explain Plan not loading in Firefox v.31 on SLES 12; returns the following Error message:

TypeError: Object.assign is not a function
...ect.keys(e)[0],a=Object.assign({},e[t],{_operator:t});return a.children?Array.is... 

Use Firefox v 34 (or latest stable version) to run the Hive Visual Explain Plan

N/A

BUG-77837

Hive Visual Explain Plan not working in the Internet Explorer or Edge browsers.

Use the Chrome or Firefox browser to work with the Hive Visual Explain Plan feature.

N/A

BUG-66998

After changing hadoop.proxyuser.knox.groups or hadoop.proxyuser.knox.hosts to access hive2 through knox, the following error message displays:

Error: Failed to validate proxy privilege of knox_dv for v999003
 (state=08S01,code=0)

Restart the Hive service, so that it operates using these updated core-site configurations.

N/A

BUG- 65357

Ambari Server start fails due to Database Consistency Check throwing NullPointerException:

2016-08-31 21:52:28,082 INFO - * Check database started *
2016-08-31 21:52:31,647 INFO - Checking for configs not mapped to any cluster
2016-08-31 21:52:31,653 INFO - Checking for configs selected more than once 
2016-08-31 21:52:31,655 INFO - Checking for hosts without state
2016-08-31 21:52:31,657 INFO - Checking host component states count equals
 host component desired states count 
2016-08-31 21:52:31,660 INFO - Checking services and their configs 
2016-08-31 21:52:33,669 ERROR - Unexpected error, database check failed
 java.lang.NullPointerException at
 org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper
.checkServiceConfigs (DatabaseConsistencyCheckHelper.java:543)
 at org.apache.ambari.server.checks.DatabaseConsistencyChecker.main
(DatabaseConsistencyChecker.java:115)

To start Ambari and avoid this exception, you can start without performing the database consistency check.

ambari-server start --skip-database-check

See Start the Ambari Server for more information about the consistency check.

N/A

BUG-63623

After restarting Hive Server Interactive (HSI); old, calculated values based on earlier YARN configs are applied for HSI restart. This happens because RESTART HSI does not automatically recalculate the HSI configs.

User will have to manually trigger the HSI/LLAP re-calculation, using any one of the following actions:

(try each workaround in the following order)

  • Turn off HSI, then turn on HSI manually, OR,

  • Re-select a queue from the drop-down menu. OR,

  • Adjust the number of LLAP nodes.(this slider is only editable if the selected queue is named "llap" and the queue is at root-level), OR

  • Adjust the Maximum Total Concurrent Queries value, if necessary.