After upgrading to Ambari 2.1.2, you receive alerts for "DataNode Unmounted Data Dir" that the /var/lib/ambari-agent/data/datanode/dfs_data_dir_mount.hist
file does not exist.
The hadoop-env/dfs.datanode.data.dir.mount.file configuration property is no longer customizable from Ambari. The original default value of /etc/hadoop/conf/dfs_data_dir_mount.hist
is now /var/lib/ambari-agent/data/datanode/dfs_data_dir_mount.hist
, which is not customizable. On Ambari Agent upgrade, Ambari will automatically move the file from /etc/hadoop/conf/dfs_data_dir_mount.hist
to /var/lib/ambari-agent/data/datanode/dfs_data_dir_mount.hist
. If you have not modified this configuration property, no action is required.
When enabling Kerberos using the wizard, the Check Kerberos operation fails. In /var/log/ambari-server/ambari-server.log, you see a message: 02:45:44,490 WARN [qtp567239306-238] MITKerberosOperationHandler:384 - Failed to execute kadmin:
Check that NTP is running and confirm your hosts and the KDC times are in sync. A time skew as little as 5 minutes can cause Kerberos authentication to fail.
MySQL is the default database used by the Hive metastore. Depending on several factors, such as the version and configuration of MySQL, a Hive developer may see an exception message similar to the following one:
An exception was thrown while adding/validating classes) : Specified key was too long; max key length is 767 bytes
When attempting to perform a REST API call, you receive a 400 error response. REST API calls require the "X-Requested-By" header.
When Ambari issues it's check to detect local disk capacity and use for each Ambari
Agent, it uses df
by default instead of df -l
to only
check local disks. If using NFS auto-mounted home directories, this can lead to a high
number of home directories being mounted on each host; causing shutdown delays and disk
capacity check delays.
Links in 2.1.1. pdf documentation not working.
With a Kerberos-enabled cluster that includes Storm, in Ambari Web > Services > Storm, the Summary values for Slots, Tasks, Executors and Topologies show as "n/a". Ambari Server log also includes the following ERROR:
24 Mar 2015 13:32:41, 288 ERROR [pool-2-thread-362] AppCookieManager:122 - SPNego authentication failed, cannot get hadoop.auth cookie for URL: http: //c6402.ambari.apache.org:8744/api/ v1/topology/summary?field=topologies
When running Ambari Server as non-root, when enabling Kerberos, if kadmin fails to authenticate, you will see the following error in ambari-server.log if Ambari cannot access the kadmind.log.
STDERR: Couldn't open log file /var/log/kadmind.log: Permission denied kadmin: GSS-API (or Kerberos) error while initializing kadmin interface