Aleksandr Kovalenko created AMBARI-23729:
--------------------------------------------
Summary: Start Namenodes takes a very long time when adding a
namespace
Key: AMBARI-23729
URL: https://issues.apache.org/jira/browse/AMBARI-23729
Project: Ambari
Issue Type: Bug
Components: ambari-web
Affects Versions: 2.7.0
Reporter: Aleksandr Kovalenko
Assignee: Aleksandr Kovalenko
Fix For: 2.7.0
On newly added nn5 and nn6 I see the Start NN call waits for JMX to return, we
are not starting Ranger so NN JMX does not respond. However there seems to be
logic to skip the check if Ranger Admin is not up:
{code}
2018-04-20 18:34:29,072 - RangeradminV2: Skip ranger admin if it's down !
2018-04-20 18:34:29,093 - checked_call['/usr/bin/kinit -c
/var/lib/ambari-agent/tmp/curl_krb_cache/ranger_admin_calls_hdfs_cc_91f03cfb858cf8a975f355b846c7b45988d51543f0ec7ea2d1da3738
-kt /etc/security/keytabs/nn.service.keytab
nn/[email protected] > /dev/null']
{'user': 'hdfs'}
2018-04-20 18:34:29,183 - checked_call returned (0, '')
{code}
Still we are waiting for a long time and them actually succeeding.
If Ranger being up is needed please assign this appropriately to UI team to
make sure we start required services before Starting NN. If the skip check is
desired behavior we should be able to proceed in that case.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)