Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

I installed HDP 3.0.1 on Oracle virtual box and tried to start knox gateway , its not starting.

I installed HDP 3.0.1 on Oracle virtual box and tried to start knox gateway , its not starting.

New Contributor

I installed HDP 3.0.1 on Oracle virtual box and tried to start knox gateway , its not starting.

Error- Background Operations /Start Knox/sandbox-hdp.hortonworks.com/Knox Gateway Start

stderr: 
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/KNOX/package/scripts/knox_gateway.py", line 215, in 
    KnoxGateway().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 351, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/KNOX/package/scripts/knox_gateway.py", line 145, in start
    not_if=no_op_test
  File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__
    self.env.run()
  File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 263, in action_run
    returns=self.resource.returns)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call
    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy, returns=returns)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 314, in _call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/hdp/current/knox-server/bin/gateway.sh start' returned 1. Starting Gateway failed.
 stdout:
2019-12-24 22:05:55,403 - Stack Feature Version Info: Cluster Stack=3.0, Command Stack=None, Command Version=3.0.1.0-187 -> 3.0.1.0-187
2019-12-24 22:05:55,416 - Using hadoop conf dir: /usr/hdp/3.0.1.0-187/hadoop/conf
2019-12-24 22:05:55,545 - Stack Feature Version Info: Cluster Stack=3.0, Command Stack=None, Command Version=3.0.1.0-187 -> 3.0.1.0-187
2019-12-24 22:05:55,548 - Using hadoop conf dir: /usr/hdp/3.0.1.0-187/hadoop/conf
2019-12-24 22:05:55,550 - Group['livy'] {}
2019-12-24 22:05:55,553 - Group['spark'] {}
2019-12-24 22:05:55,553 - Group['ranger'] {}
2019-12-24 22:05:55,553 - Group['hdfs'] {}
2019-12-24 22:05:55,553 - Group['zeppelin'] {}
2019-12-24 22:05:55,553 - Group['hadoop'] {}
2019-12-24 22:05:55,554 - Group['users'] {}
2019-12-24 22:05:55,554 - Group['knox'] {}
2019-12-24 22:05:55,554 - User['yarn-ats'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,555 - User['hive'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,556 - User['storm'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,556 - User['infra-solr'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,557 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,558 - User['superset'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,558 - User['oozie'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'users'], 'uid': None}
2019-12-24 22:05:55,559 - User['atlas'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,559 - User['ranger'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['ranger', 'hadoop'], 'uid': None}
2019-12-24 22:05:55,560 - User['tez'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'users'], 'uid': None}
2019-12-24 22:05:55,561 - User['zeppelin'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['zeppelin', 'hadoop'], 'uid': None}
2019-12-24 22:05:55,561 - User['livy'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['livy', 'hadoop'], 'uid': None}
2019-12-24 22:05:55,562 - User['druid'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,562 - User['spark'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['spark', 'hadoop'], 'uid': None}
2019-12-24 22:05:55,563 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'users'], 'uid': None}
2019-12-24 22:05:55,564 - User['kafka'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,564 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hdfs', 'hadoop'], 'uid': None}
2019-12-24 22:05:55,565 - User['sqoop'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,566 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,566 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,567 - User['hbase'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2019-12-24 22:05:55,567 - User['knox'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'knox'], 'uid': None}
2019-12-24 22:05:55,568 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2019-12-24 22:05:55,571 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 0'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'}
2019-12-24 22:05:55,575 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 0'] due to not_if
2019-12-24 22:05:55,575 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'create_parents': True, 'mode': 0775, 'cd_access': 'a'}
2019-12-24 22:05:55,576 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2019-12-24 22:05:55,577 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2019-12-24 22:05:55,578 - call['/var/lib/ambari-agent/tmp/changeUid.sh hbase'] {}
2019-12-24 22:05:55,585 - call returned (0, '1015')
2019-12-24 22:05:55,585 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1015'] {'not_if': '(test $(id -u hbase) -gt 1000) || (false)'}
2019-12-24 22:05:55,589 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1015'] due to not_if
2019-12-24 22:05:55,589 - Group['hdfs'] {}
2019-12-24 22:05:55,589 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': ['hdfs', 'hadoop', u'hdfs']}
2019-12-24 22:05:55,590 - FS Type: HDFS
2019-12-24 22:05:55,590 - Directory['/etc/hadoop'] {'mode': 0755}
2019-12-24 22:05:55,599 - File['/usr/hdp/3.0.1.0-187/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
2019-12-24 22:05:55,600 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777}
2019-12-24 22:05:55,611 - Execute[('setenforce', '0')] {'not_if': '(! which getenforce ) || (which getenforce && getenforce | grep -q Disabled)', 'sudo': True, 'only_if': 'test -f /selinux/enforce'}
2019-12-24 22:05:55,614 - Skipping Execute[('setenforce', '0')] due to not_if
2019-12-24 22:05:55,615 - Directory['/var/log/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'hadoop', 'mode': 0775, 'cd_access': 'a'}
2019-12-24 22:05:55,616 - Directory['/var/run/hadoop'] {'owner': 'root', 'create_parents': True, 'group': 'root', 'cd_access': 'a'}
2019-12-24 22:05:55,617 - Directory['/var/run/hadoop/hdfs'] {'owner': 'hdfs', 'cd_access': 'a'}
2019-12-24 22:05:55,617 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'create_parents': True, 'cd_access': 'a'}
2019-12-24 22:05:55,621 - File['/usr/hdp/3.0.1.0-187/hadoop/conf/commons-logging.properties'] {'content': Template('commons-logging.properties.j2'), 'owner': 'hdfs'}
2019-12-24 22:05:55,623 - File['/usr/hdp/3.0.1.0-187/hadoop/conf/health_check'] {'content': Template('health_check.j2'), 'owner': 'hdfs'}
2019-12-24 22:05:55,626 - File['/usr/hdp/3.0.1.0-187/hadoop/conf/log4j.properties'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644}
2019-12-24 22:05:55,634 - File['/usr/hdp/3.0.1.0-187/hadoop/conf/hadoop-metrics2.properties'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
2019-12-24 22:05:55,635 - File['/usr/hdp/3.0.1.0-187/hadoop/conf/task-log4j.properties'] {'content': StaticFile('task-log4j.properties'), 'mode': 0755}
2019-12-24 22:05:55,636 - File['/usr/hdp/3.0.1.0-187/hadoop/conf/configuration.xsl'] {'owner': 'hdfs', 'group': 'hadoop'}
2019-12-24 22:05:55,639 - File['/etc/hadoop/conf/topology_mappings.data'] {'owner': 'hdfs', 'content': Template('topology_mappings.data.j2'), 'only_if': 'test -d /etc/hadoop/conf', 'group': 'hadoop', 'mode': 0644}
2019-12-24 22:05:55,643 - File['/etc/hadoop/conf/topology_script.py'] {'content': StaticFile('topology_script.py'), 'only_if': 'test -d /etc/hadoop/conf', 'mode': 0755}
2019-12-24 22:05:55,646 - Skipping unlimited key JCE policy check and setup since the Java VM is not managed by Ambari
2019-12-24 22:05:55,877 - Stack Feature Version Info: Cluster Stack=3.0, Command Stack=None, Command Version=3.0.1.0-187 -> 3.0.1.0-187
2019-12-24 22:05:55,883 - Stack version to use is 3.0.1.0
2019-12-24 22:05:55,885 - Detected stack with version 3.0.1.0-187, will use knox_data_dir = /usr/hdp/3.0.1.0-187/knox/data
2019-12-24 22:05:55,893 - Using hadoop conf dir: /usr/hdp/3.0.1.0-187/hadoop/conf
2019-12-24 22:05:55,896 - Directory['/usr/hdp/current/knox-server/data/'] {'group': 'knox', 'cd_access': 'a', 'create_parents': True, 'mode': 0755, 'owner': 'knox', 'recursive_ownership': True}
2019-12-24 22:05:55,945 - Directory['/var/log/knox'] {'group': 'knox', 'cd_access': 'a', 'create_parents': True, 'mode': 0755, 'owner': 'knox', 'recursive_ownership': True}
2019-12-24 22:05:55,946 - Directory['/var/run/knox'] {'group': 'knox', 'cd_access': 'a', 'create_parents': True, 'mode': 0755, 'owner': 'knox', 'recursive_ownership': True}
2019-12-24 22:05:55,947 - Directory['/usr/hdp/current/knox-server/conf'] {'group': 'knox', 'cd_access': 'a', 'create_parents': True, 'mode': 0755, 'owner': 'knox', 'recursive_ownership': True}
2019-12-24 22:05:55,948 - Directory['/usr/hdp/current/knox-server/conf/topologies'] {'group': 'knox', 'cd_access': 'a', 'create_parents': True, 'mode': 0755, 'owner': 'knox', 'recursive_ownership': True}
2019-12-24 22:05:55,948 - Directory['/usr/hdp/current/knox-server/conf/descriptors'] {'group': 'knox', 'cd_access': 'a', 'create_parents': True, 'mode': 0755, 'owner': 'knox', 'recursive_ownership': True}
2019-12-24 22:05:55,949 - Directory['/usr/hdp/current/knox-server/conf/shared-providers'] {'group': 'knox', 'cd_access': 'a', 'create_parents': True, 'recursive_ownership': True, 'owner': 'knox', 'mode': 0755}
2019-12-24 22:05:55,949 - XmlConfig['gateway-site.xml'] {'owner': 'knox', 'group': 'knox', 'conf_dir': '/usr/hdp/current/knox-server/conf', 'configuration_attributes': {}, 'configurations': ...}
2019-12-24 22:05:55,957 - Generating config: /usr/hdp/current/knox-server/conf/gateway-site.xml
2019-12-24 22:05:55,957 - File['/usr/hdp/current/knox-server/conf/gateway-site.xml'] {'owner': 'knox', 'content': InlineTemplate(...), 'group': 'knox', 'mode': None, 'encoding': 'UTF-8'}
2019-12-24 22:05:55,966 - File['/usr/hdp/current/knox-server/conf/gateway-log4j.properties'] {'content': InlineTemplate(...), 'owner': 'knox', 'group': 'knox', 'mode': 0644}
2019-12-24 22:05:55,971 - File['/usr/hdp/current/knox-server/conf/topologies/default.xml'] {'content': InlineTemplate(...), 'owner': 'knox', 'group': 'knox', 'mode': 0600}
2019-12-24 22:05:55,973 - File['/usr/hdp/current/knox-server/conf/topologies/admin.xml'] {'content': InlineTemplate(...), 'owner': 'knox', 'group': 'knox', 'mode': 0600}
2019-12-24 22:05:55,977 - File['/usr/hdp/current/knox-server/conf/topologies/knoxsso.xml'] {'content': InlineTemplate(...), 'owner': 'knox', 'group': 'knox', 'mode': 0600}
2019-12-24 22:05:55,980 - Directory['/usr/lib/ambari-logsearch-logfeeder/conf'] {'create_parents': True, 'mode': 0755, 'cd_access': 'a'}
2019-12-24 22:05:55,981 - Generate Log Feeder config file: /usr/lib/ambari-logsearch-logfeeder/conf/input.config-knox.json
2019-12-24 22:05:55,981 - File['/usr/lib/ambari-logsearch-logfeeder/conf/input.config-knox.json'] {'content': Template('input.config-knox.json.j2'), 'mode': 0644}
2019-12-24 22:05:55,982 - Execute['/usr/hdp/current/knox-server/bin/knoxcli.sh create-master --master [PROTECTED]'] {'environment': {'JAVA_HOME': u'/usr/lib/jvm/java'}, 'not_if': "ambari-sudo.sh su knox -l -s /bin/bash -c 'test -f /usr/hdp/current/knox-server/data/security/master'", 'user': 'knox'}
2019-12-24 22:05:56,033 - Skipping Execute['/usr/hdp/current/knox-server/bin/knoxcli.sh create-master --master [PROTECTED]'] due to not_if
2019-12-24 22:05:56,034 - Execute['/usr/hdp/current/knox-server/bin/knoxcli.sh create-cert --hostname sandbox-hdp.hortonworks.com'] {'environment': {'JAVA_HOME': u'/usr/lib/jvm/java'}, 'not_if': "ambari-sudo.sh su knox -l -s /bin/bash -c 'test -f /usr/hdp/current/knox-server/data/security/keystores/gateway.jks'", 'user': 'knox'}
2019-12-24 22:05:56,066 - Skipping Execute['/usr/hdp/current/knox-server/bin/knoxcli.sh create-cert --hostname sandbox-hdp.hortonworks.com'] due to not_if
2019-12-24 22:05:56,069 - File['/usr/hdp/current/knox-server/conf/ldap-log4j.properties'] {'content': InlineTemplate(...), 'owner': 'knox', 'group': 'knox', 'mode': 0644}
2019-12-24 22:05:56,070 - File['/usr/hdp/current/knox-server/conf/users.ldif'] {'content': ..., 'owner': 'knox', 'group': 'knox', 'mode': 0644}
2019-12-24 22:05:56,071 - Knox: Setup ranger: command retry not enabled thus skipping if ranger admin is down !
2019-12-24 22:05:56,071 - HdfsResource['/ranger/audit'] {'security_enabled': False, 'hadoop_bin_dir': '/usr/hdp/3.0.1.0-187/hadoop/bin', 'keytab': [EMPTY], 'dfs_type': 'hdfs', 'default_fs': 'hdfs://sandbox-hdp.hortonworks.com:8020', 'user': 'hdfs', 'hdfs_resource_ignore_file': '/var/lib/ambari-agent/data/.hdfs_resource_ignore', 'hdfs_site': ..., 'kinit_path_local': 'kinit', 'principal_name': [EMPTY], 'recursive_chmod': True, 'owner': 'hdfs', 'group': 'hdfs', 'hadoop_conf_dir': '/usr/hdp/3.0.1.0-187/hadoop/conf', 'type': 'directory', 'action': ['create_on_execute'], 'immutable_paths': [u'/mr-history/done', u'/warehouse/tablespace/managed/hive', u'/warehouse/tablespace/external/hive', u'/app-logs', u'/tmp'], 'mode': 0755}
2019-12-24 22:05:56,073 - HdfsResource['/ranger/audit/knox'] {'security_enabled': False, 'hadoop_bin_dir': '/usr/hdp/3.0.1.0-187/hadoop/bin', 'keytab': [EMPTY], 'dfs_type': 'hdfs', 'default_fs': 'hdfs://sandbox-hdp.hortonworks.com:8020', 'user': 'hdfs', 'hdfs_resource_ignore_file': '/var/lib/ambari-agent/data/.hdfs_resource_ignore', 'hdfs_site': ..., 'kinit_path_local': 'kinit', 'principal_name': [EMPTY], 'recursive_chmod': True, 'owner': 'knox', 'group': 'knox', 'hadoop_conf_dir': '/usr/hdp/3.0.1.0-187/hadoop/conf', 'type': 'directory', 'action': ['create_on_execute'], 'immutable_paths': [u'/mr-history/done', u'/warehouse/tablespace/managed/hive', u'/warehouse/tablespace/external/hive', u'/app-logs', u'/tmp'], 'mode': 0700}
2019-12-24 22:05:56,073 - HdfsResource[None] {'security_enabled': False, 'hadoop_bin_dir': '/usr/hdp/3.0.1.0-187/hadoop/bin', 'keytab': [EMPTY], 'dfs_type': 'hdfs', 'default_fs': 'hdfs://sandbox-hdp.hortonworks.com:8020', 'hdfs_resource_ignore_file': '/var/lib/ambari-agent/data/.hdfs_resource_ignore', 'hdfs_site': ..., 'kinit_path_local': 'kinit', 'principal_name': [EMPTY], 'user': 'hdfs', 'action': ['execute'], 'hadoop_conf_dir': '/usr/hdp/3.0.1.0-187/hadoop/conf', 'immutable_paths': [u'/mr-history/done', u'/warehouse/tablespace/managed/hive', u'/warehouse/tablespace/external/hive', u'/app-logs', u'/tmp']}
2019-12-24 22:05:56,074 - File['/var/lib/ambari-agent/tmp/hdfs_resources_1577225156.07.json'] {'content': '[{"group": "hdfs", "target": "/ranger/audit", "dfs_type": "hdfs", "recursiveChmod": true, "action": "create", "manageIfExists": true, "mode": "755", "nameservice": null, "owner": "hdfs", "type": "directory"}, {"group": "knox", "target": "/ranger/audit/knox", "dfs_type": "hdfs", "recursiveChmod": true, "action": "create", "manageIfExists": true, "mode": "700", "nameservice": null, "owner": "knox", "type": "directory"}]', 'owner': 'hdfs'}
2019-12-24 22:05:56,074 - Writing File['/var/lib/ambari-agent/tmp/hdfs_resources_1577225156.07.json'] because it doesn't exist
2019-12-24 22:05:56,074 - Changing owner for /var/lib/ambari-agent/tmp/hdfs_resources_1577225156.07.json from 0 to hdfs
2019-12-24 22:05:56,074 - Execute['hadoop --config /usr/hdp/3.0.1.0-187/hadoop/conf jar /var/lib/ambari-agent/lib/fast-hdfs-resource.jar /var/lib/ambari-agent/tmp/hdfs_resources_1577225156.07.json'] {'logoutput': None, 'path': ['/usr/hdp/3.0.1.0-187/hadoop/bin'], 'user': 'hdfs'}
2019-12-24 22:05:59,618 - File['/usr/hdp/current/knox-server/conf/hdfs-site.xml'] {'action': ['delete']}
2019-12-24 22:05:59,620 - call['ambari-python-wrap /usr/bin/hdp-select status knox-server'] {'timeout': 20}
2019-12-24 22:05:59,651 - call returned (0, 'knox-server - 3.0.1.0-187')
2019-12-24 22:05:59,652 - RangeradminV2: Skip ranger admin if it's down !
2019-12-24 22:05:59,832 - amb_ranger_admin user already exists.
2019-12-24 22:05:59,961 - Knox Repository Sandbox_knox exist
2019-12-24 22:05:59,962 - File['/usr/hdp/current/knox-server/conf/ranger-security.xml'] {'content': InlineTemplate(...), 'owner': 'knox', 'group': 'knox', 'mode': 0644}
2019-12-24 22:05:59,964 - Writing File['/usr/hdp/current/knox-server/conf/ranger-security.xml'] because contents don't match
2019-12-24 22:05:59,965 - Directory['/etc/ranger/Sandbox_knox'] {'owner': 'knox', 'create_parents': True, 'group': 'knox', 'mode': 0775, 'cd_access': 'a'}
2019-12-24 22:05:59,965 - Directory['/etc/ranger/Sandbox_knox/policycache'] {'owner': 'knox', 'group': 'knox', 'create_parents': True, 'mode': 0775, 'cd_access': 'a'}
2019-12-24 22:05:59,966 - File['/etc/ranger/Sandbox_knox/policycache/knox_Sandbox_knox.json'] {'owner': 'knox', 'group': 'knox', 'mode': 0644}
2019-12-24 22:05:59,967 - XmlConfig['ranger-knox-audit.xml'] {'group': 'knox', 'conf_dir': '/usr/hdp/current/knox-server/conf', 'mode': 0744, 'configuration_attributes': {}, 'owner': 'knox', 'configurations': ...}
2019-12-24 22:05:59,975 - Generating config: /usr/hdp/current/knox-server/conf/ranger-knox-audit.xml
2019-12-24 22:05:59,975 - File['/usr/hdp/current/knox-server/conf/ranger-knox-audit.xml'] {'owner': 'knox', 'content': InlineTemplate(...), 'group': 'knox', 'mode': 0744, 'encoding': 'UTF-8'}
2019-12-24 22:05:59,983 - XmlConfig['ranger-knox-security.xml'] {'group': 'knox', 'conf_dir': '/usr/hdp/current/knox-server/conf', 'mode': 0744, 'configuration_attributes': {}, 'owner': 'knox', 'configurations': ...}
2019-12-24 22:05:59,991 - Generating config: /usr/hdp/current/knox-server/conf/ranger-knox-security.xml
2019-12-24 22:05:59,991 - File['/usr/hdp/current/knox-server/conf/ranger-knox-security.xml'] {'owner': 'knox', 'content': InlineTemplate(...), 'group': 'knox', 'mode': 0744, 'encoding': 'UTF-8'}
2019-12-24 22:05:59,997 - XmlConfig['ranger-policymgr-ssl.xml'] {'group': 'knox', 'conf_dir': '/usr/hdp/current/knox-server/conf', 'mode': 0744, 'configuration_attributes': {}, 'owner': 'knox', 'configurations': ...}
2019-12-24 22:06:00,006 - Generating config: /usr/hdp/current/knox-server/conf/ranger-policymgr-ssl.xml
2019-12-24 22:06:00,006 - File['/usr/hdp/current/knox-server/conf/ranger-policymgr-ssl.xml'] {'owner': 'knox', 'content': InlineTemplate(...), 'group': 'knox', 'mode': 0744, 'encoding': 'UTF-8'}
2019-12-24 22:06:00,012 - Execute[(u'/usr/hdp/3.0.1.0-187/ranger-knox-plugin/ranger_credential_helper.py', '-l', u'/usr/hdp/3.0.1.0-187/ranger-knox-plugin/install/lib/*', '-f', '/etc/ranger/Sandbox_knox/cred.jceks', '-k', 'sslKeyStore', '-v', [PROTECTED], '-c', '1')] {'logoutput': True, 'environment': {'JAVA_HOME': u'/usr/lib/jvm/java'}, 'sudo': True}
Using Java:/usr/lib/jvm/java/bin/java
Alias sslKeyStore created successfully!
2019-12-24 22:06:01,056 - Execute[(u'/usr/hdp/3.0.1.0-187/ranger-knox-plugin/ranger_credential_helper.py', '-l', u'/usr/hdp/3.0.1.0-187/ranger-knox-plugin/install/lib/*', '-f', '/etc/ranger/Sandbox_knox/cred.jceks', '-k', 'sslTrustStore', '-v', [PROTECTED], '-c', '1')] {'logoutput': True, 'environment': {'JAVA_HOME': u'/usr/lib/jvm/java'}, 'sudo': True}
Using Java:/usr/lib/jvm/java/bin/java
Alias sslTrustStore created successfully!
2019-12-24 22:06:02,186 - File['/etc/ranger/Sandbox_knox/cred.jceks'] {'owner': 'knox', 'group': 'knox', 'mode': 0640}
2019-12-24 22:06:02,187 - File['/etc/ranger/Sandbox_knox/.cred.jceks.crc'] {'owner': 'knox', 'only_if': 'test -e /etc/ranger/Sandbox_knox/.cred.jceks.crc', 'group': 'knox', 'mode': 0640}
2019-12-24 22:06:02,191 - Stack does not support core-site.xml creation for Ranger plugin, skipping core-site.xml configurations
2019-12-24 22:06:02,192 - Link['/usr/hdp/current/knox-server/pids'] {'to': '/var/run/knox'}
2019-12-24 22:06:02,192 - Link['/usr/hdp/current/knox-server/pids'] replacing old symlink to /run/knox
2019-12-24 22:06:02,192 - Creating symbolic Link['/usr/hdp/current/knox-server/pids'] to /var/run/knox
2019-12-24 22:06:02,194 - Directory['/var/log/knox'] {'group': 'knox', 'cd_access': 'a', 'create_parents': True, 'recursive_ownership': True, 'owner': 'knox', 'mode': 0700}
2019-12-24 22:06:02,194 - Changing permission for /var/log/knox from 755 to 700
2019-12-24 22:06:02,195 - Execute['/usr/hdp/current/knox-server/bin/gateway.sh start'] {'environment': {'JAVA_HOME': u'/usr/lib/jvm/java'}, 'not_if': 'ls /var/run/knox/gateway.pid >/dev/null 2>&1 && ps -p `cat /var/run/knox/gateway.pid` >/dev/null 2>&1', 'user': 'knox'}
2019-12-24 22:06:04,145 - Execute['find /var/log/knox -maxdepth 1 -type f -name '*' -exec echo '==> {} <==' \; -exec tail -n 40 {} \;'] {'logoutput': True, 'ignore_failures': True, 'user': 'knox'}
==> /var/log/knox/gateway-audit.log <==
18/11/29 18:55:11 |||audit||||||deploy|topology|admin|unavailable|
18/11/29 18:55:15 |||audit||||||deploy|topology|knoxsso|unavailable|
18/11/29 18:55:17 |||audit||||||deploy|topology|manager|unavailable|
18/11/29 18:55:18 |||audit||||||deploy|topology|default|unavailable|
==> /var/log/knox/gateway.err <==
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
==> /var/log/knox/gateway.log <==
2019-12-24 22:01:52,119 INFO  knox.gateway (GatewayConfigImpl.java:init(346)) - Cookie scoping feature enabled: false
2019-12-24 22:01:52,387 WARN  knox.gateway (RemoteAliasService.java:init(448)) - There is no registry client defined for remote configuration monitoring.
2019-12-24 22:01:52,388 INFO  knox.gateway (RemoteAliasService.java:start(485)) - Remote Alias Service enabled
2019-12-24 22:01:52,397 INFO  knox.gateway (JettySSLService.java:init(96)) - Credential store for the gateway instance found - no need to create one.
2019-12-24 22:01:52,411 INFO  knox.gateway (JettySSLService.java:init(118)) - Keystore for the gateway instance found - no need to create one.
2019-12-24 22:01:52,415 INFO  knox.gateway (JettySSLService.java:logAndValidateCertificate(148)) - The Gateway SSL certificate is issued to hostname: sandbox-hdp.hortonworks.com.
2019-12-24 22:01:52,416 INFO  knox.gateway (JettySSLService.java:logAndValidateCertificate(151)) - The Gateway SSL certificate is valid between: 11/29/18 6:55 PM and 11/29/19 6:55 PM.
2019-12-24 22:01:52,422 FATAL knox.gateway (GatewayServer.java:main(162)) - Failed to start gateway: org.apache.knox.gateway.services.ServiceLifecycleException: Gateway SSL Certificate is Expired. Server will not start.
2019-12-24 22:02:27,028 INFO  knox.gateway (GatewayServer.java:logSysProp(204)) - System Property: user.name=knox
2019-12-24 22:02:27,031 INFO  knox.gateway (GatewayServer.java:logSysProp(204)) - System Property: user.dir=/home/knox
2019-12-24 22:02:27,031 INFO  knox.gateway (GatewayServer.java:logSysProp(204)) - System Property: java.runtime.name=OpenJDK Runtime Environment
2019-12-24 22:02:27,031 INFO  knox.gateway (GatewayServer.java:logSysProp(204)) - System Property: java.runtime.version=1.8.0_191-b12
2019-12-24 22:02:27,031 INFO  knox.gateway (GatewayServer.java:logSysProp(204)) - System Property: java.home=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el7_5.x86_64/jre
2019-12-24 22:02:27,242 INFO  knox.gateway (GatewayConfigImpl.java:loadConfigResource(433)) - Loading configuration resource jar:file:/usr/hdp/3.0.1.0-187/knox/bin/../lib/gateway-server-1.0.0.3.0.1.0-187.jar!/conf/gateway-default.xml
2019-12-24 22:02:27,315 INFO  knox.gateway (GatewayConfigImpl.java:loadConfigFile(421)) - Loading configuration file /usr/hdp/3.0.1.0-187/knox/bin/../conf/gateway-site.xml
2019-12-24 22:02:27,335 INFO  knox.gateway (GatewayConfigImpl.java:initGatewayHomeDir(365)) - Using /usr/hdp/3.0.1.0-187/knox/bin/.. as GATEWAY_HOME via system property.
2019-12-24 22:02:27,335 INFO  knox.gateway (GatewayConfigImpl.java:init(346)) - Cookie scoping feature enabled: false
2019-12-24 22:02:27,680 WARN  knox.gateway (RemoteAliasService.java:init(448)) - There is no registry client defined for remote configuration monitoring.
2019-12-24 22:02:27,680 INFO  knox.gateway (RemoteAliasService.java:start(485)) - Remote Alias Service enabled
2019-12-24 22:02:27,691 INFO  knox.gateway (JettySSLService.java:init(96)) - Credential store for the gateway instance found - no need to create one.
2019-12-24 22:02:27,703 INFO  knox.gateway (JettySSLService.java:init(118)) - Keystore for the gateway instance found - no need to create one.
2019-12-24 22:02:27,707 INFO  knox.gateway (JettySSLService.java:logAndValidateCertificate(148)) - The Gateway SSL certificate is issued to hostname: sandbox-hdp.hortonworks.com.
2019-12-24 22:02:27,709 INFO  knox.gateway (JettySSLService.java:logAndValidateCertificate(151)) - The Gateway SSL certificate is valid between: 11/29/18 6:55 PM and 11/29/19 6:55 PM.
2019-12-24 22:02:27,713 FATAL knox.gateway (GatewayServer.java:main(162)) - Failed to start gateway: org.apache.knox.gateway.services.ServiceLifecycleException: Gateway SSL Certificate is Expired. Server will not start.
2019-12-24 22:06:03,230 INFO  knox.gateway (GatewayServer.java:logSysProp(204)) - System Property: user.name=knox
2019-12-24 22:06:03,235 INFO  knox.gateway (GatewayServer.java:logSysProp(204)) - System Property: user.dir=/home/knox
2019-12-24 22:06:03,235 INFO  knox.gateway (GatewayServer.java:logSysProp(204)) - System Property: java.runtime.name=OpenJDK Runtime Environment
2019-12-24 22:06:03,235 INFO  knox.gateway (GatewayServer.java:logSysProp(204)) - System Property: java.runtime.version=1.8.0_191-b12
2019-12-24 22:06:03,235 INFO  knox.gateway (GatewayServer.java:logSysProp(204)) - System Property: java.home=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el7_5.x86_64/jre
2019-12-24 22:06:03,480 INFO  knox.gateway (GatewayConfigImpl.java:loadConfigResource(433)) - Loading configuration resource jar:file:/usr/hdp/3.0.1.0-187/knox/bin/../lib/gateway-server-1.0.0.3.0.1.0-187.jar!/conf/gateway-default.xml
2019-12-24 22:06:03,589 INFO  knox.gateway (GatewayConfigImpl.java:loadConfigFile(421)) - Loading configuration file /usr/hdp/3.0.1.0-187/knox/bin/../conf/gateway-site.xml
2019-12-24 22:06:03,615 INFO  knox.gateway (GatewayConfigImpl.java:initGatewayHomeDir(365)) - Using /usr/hdp/3.0.1.0-187/knox/bin/.. as GATEWAY_HOME via system property.
2019-12-24 22:06:03,615 INFO  knox.gateway (GatewayConfigImpl.java:init(346)) - Cookie scoping feature enabled: false
2019-12-24 22:06:04,032 WARN  knox.gateway (RemoteAliasService.java:init(448)) - There is no registry client defined for remote configuration monitoring.
2019-12-24 22:06:04,032 INFO  knox.gateway (RemoteAliasService.java:start(485)) - Remote Alias Service enabled
2019-12-24 22:06:04,042 INFO  knox.gateway (JettySSLService.java:init(96)) - Credential store for the gateway instance found - no need to create one.
2019-12-24 22:06:04,083 INFO  knox.gateway (JettySSLService.java:init(118)) - Keystore for the gateway instance found - no need to create one.
2019-12-24 22:06:04,091 INFO  knox.gateway (JettySSLService.java:logAndValidateCertificate(148)) - The Gateway SSL certificate is issued to hostname: sandbox-hdp.hortonworks.com.
2019-12-24 22:06:04,093 INFO  knox.gateway (JettySSLService.java:logAndValidateCertificate(151)) - The Gateway SSL certificate is valid between: 11/29/18 6:55 PM and 11/29/19 6:55 PM.
2019-12-24 22:06:04,100 FATAL knox.gateway (GatewayServer.java:main(162)) - Failed to start gateway: org.apache.knox.gateway.services.ServiceLifecycleException: Gateway SSL Certificate is Expired. Server will not start.
==> /var/log/knox/knoxcli.log <==
2018-11-29 18:54:58,728 INFO  knox.gateway (GatewayConfigImpl.java:loadConfigResource(433)) - Loading configuration resource jar:file:/usr/hdp/3.0.1.0-187/knox/bin/../lib/gateway-server-1.0.0.3.0.1.0-187.jar!/conf/gateway-default.xml
2018-11-29 18:54:58,849 INFO  knox.gateway (GatewayConfigImpl.java:loadConfigFile(421)) - Loading configuration file /usr/hdp/3.0.1.0-187/knox/bin/../conf/gateway-site.xml
2018-11-29 18:54:58,884 INFO  knox.gateway (GatewayConfigImpl.java:initGatewayHomeDir(365)) - Using /usr/hdp/3.0.1.0-187/knox/bin/.. as GATEWAY_HOME via system property.
2018-11-29 18:54:58,885 INFO  knox.gateway (GatewayConfigImpl.java:init(346)) - Cookie scoping feature enabled: false
2018-11-29 18:54:59,638 WARN  knox.gateway (RemoteAliasService.java:init(448)) - There is no registry client defined for remote configuration monitoring.
2018-11-29 18:54:59,639 INFO  knox.gateway (RemoteAliasService.java:start(485)) - Remote Alias Service enabled
2018-11-29 18:54:59,689 INFO  knox.gateway (DefaultTopologyService.java:init(641)) - Monitoring simple descriptors in directory: /usr/hdp/3.0.1.0-187/knox/conf/descriptors
2018-11-29 18:54:59,697 INFO  knox.gateway (DefaultTopologyService.java:init(646)) - Monitoring shared provider configurations in directory: /usr/hdp/3.0.1.0-187/knox/conf/shared-providers
2018-11-29 18:55:01,515 INFO  knox.gateway (GatewayConfigImpl.java:loadConfigResource(433)) - Loading configuration resource jar:file:/usr/hdp/3.0.1.0-187/knox/bin/../lib/gateway-server-1.0.0.3.0.1.0-187.jar!/conf/gateway-default.xml
2018-11-29 18:55:01,715 INFO  knox.gateway (GatewayConfigImpl.java:loadConfigFile(421)) - Loading configuration file /usr/hdp/3.0.1.0-187/knox/bin/../conf/gateway-site.xml
2018-11-29 18:55:01,740 INFO  knox.gateway (GatewayConfigImpl.java:initGatewayHomeDir(365)) - Using /usr/hdp/3.0.1.0-187/knox/bin/.. as GATEWAY_HOME via system property.
2018-11-29 18:55:01,741 INFO  knox.gateway (GatewayConfigImpl.java:init(346)) - Cookie scoping feature enabled: false
2018-11-29 18:55:02,619 WARN  knox.gateway (RemoteAliasService.java:init(448)) - There is no registry client defined for remote configuration monitoring.
2018-11-29 18:55:02,620 INFO  knox.gateway (RemoteAliasService.java:start(485)) - Remote Alias Service enabled
2018-11-29 18:55:02,669 INFO  knox.gateway (DefaultTopologyService.java:init(641)) - Monitoring simple descriptors in directory: /usr/hdp/3.0.1.0-187/knox/conf/descriptors
2018-11-29 18:55:02,677 INFO  knox.gateway (DefaultTopologyService.java:init(646)) - Monitoring shared provider configurations in directory: /usr/hdp/3.0.1.0-187/knox/conf/shared-providers
==> /var/log/knox/gateway.out <==
==> /var/log/knox/ldap.log <==
2019-12-24 22:02:15,339 WARN  core.DefaultDirectoryService (DefaultDirectoryService.java:startup(1240)) - ApacheDS shutdown hook has NOT been registered with the runtime.  This default setting for standalone operation has been overriden.
2019-12-24 22:02:17,753 INFO  ldap.LdapServer (LdapServer.java:startNetwork(685)) - Successful bind of an LDAP Service (33389) is completed.
2019-12-24 22:02:17,754 INFO  ldap.LdapServer (LdapServer.java:start(552)) - Ldap service started.
==> /var/log/knox/ldap.out <==
==> /var/log/knox/gateway.log.2018-11-29 <==
2018-11-29 18:55:09,723 INFO  knox.gateway (RemoteAliasService.java:start(485)) - Remote Alias Service enabled
2018-11-29 18:55:09,739 INFO  knox.gateway (JettySSLService.java:init(96)) - Credential store for the gateway instance found - no need to create one.
2018-11-29 18:55:09,759 INFO  knox.gateway (JettySSLService.java:init(118)) - Keystore for the gateway instance found - no need to create one.
2018-11-29 18:55:09,765 INFO  knox.gateway (JettySSLService.java:logAndValidateCertificate(148)) - The Gateway SSL certificate is issued to hostname: sandbox-hdp.hortonworks.com.
2018-11-29 18:55:09,767 INFO  knox.gateway (JettySSLService.java:logAndValidateCertificate(151)) - The Gateway SSL certificate is valid between: 11/29/18 6:55 PM and 11/29/19 6:55 PM.
2018-11-29 18:55:10,393 INFO  knox.gateway (DefaultTopologyService.java:init(641)) - Monitoring simple descriptors in directory: /usr/hdp/3.0.1.0-187/knox/conf/descriptors
2018-11-29 18:55:10,399 INFO  knox.gateway (DefaultTopologyService.java:init(646)) - Monitoring shared provider configurations in directory: /usr/hdp/3.0.1.0-187/knox/conf/shared-providers
2018-11-29 18:55:10,404 WARN  knox.gateway (DefaultRemoteConfigurationMonitor.java:(122)) - There is no registry client defined for remote configuration monitoring.
2018-11-29 18:55:10,777 INFO  knox.gateway (GatewayServer.java:startGateway(294)) - Starting gateway...
2018-11-29 18:55:10,778 INFO  knox.gateway (RemoteAliasService.java:start(485)) - Remote Alias Service enabled
2018-11-29 18:55:10,785 INFO  discovery.ambari (AmbariConfigurationMonitor.java:run(522)) - Started Ambari cluster configuration monitor (checking every 60 seconds)
2018-11-29 18:55:11,068 INFO  knox.gateway (GatewayServer.java:start(554)) - Loading topologies from directory: /usr/hdp/3.0.1.0-187/knox/conf/topologies
2018-11-29 18:55:11,306 INFO  knox.gateway (GatewayServer.java:handleCreateDeployment(911)) - Deploying topology admin to /usr/hdp/3.0.1.0-187/knox/data/deployments/admin.topo.16760d2ec18
2018-11-29 18:55:11,306 INFO  knox.gateway (GatewayServer.java:internalDeactivateTopology(829)) - Deactivating topology admin
2018-11-29 18:55:13,685 INFO  knox.gateway (DefaultGatewayServices.java:initializeContribution(235)) - Creating credential store for the cluster: admin
2018-11-29 18:55:15,357 INFO  knox.gateway (GatewayServer.java:internalActivateTopology(797)) - Activating topology admin
2018-11-29 18:55:15,358 INFO  knox.gateway (GatewayServer.java:internalActivateArchive(807)) - Activating topology admin archive %2F
2018-11-29 18:55:15,468 INFO  knox.gateway (GatewayServer.java:handleCreateDeployment(911)) - Deploying topology knoxsso to /usr/hdp/3.0.1.0-187/knox/data/deployments/knoxsso.topo.16760d2ec18
2018-11-29 18:55:15,468 INFO  knox.gateway (GatewayServer.java:internalDeactivateTopology(829)) - Deactivating topology knoxsso
2018-11-29 18:55:16,010 INFO  knox.gateway (DefaultGatewayServices.java:initializeContribution(235)) - Creating credential store for the cluster: knoxsso
2018-11-29 18:55:16,752 INFO  knox.gateway (DefaultGatewayServices.java:initializeContribution(239)) - Credential store found for the cluster: knoxsso - no need to create one.
2018-11-29 18:55:17,225 INFO  knox.gateway (GatewayServer.java:internalActivateTopology(797)) - Activating topology knoxsso
2018-11-29 18:55:17,226 INFO  knox.gateway (GatewayServer.java:internalActivateArchive(807)) - Activating topology knoxsso archive %2Fknoxauth
2018-11-29 18:55:17,226 INFO  knox.gateway (GatewayServer.java:internalActivateArchive(807)) - Activating topology knoxsso archive %2F
2018-11-29 18:55:17,228 INFO  knox.gateway (GatewayServer.java:handleCreateDeployment(911)) - Deploying topology manager to /usr/hdp/3.0.1.0-187/knox/data/deployments/manager.topo.165f14c6f78
2018-11-29 18:55:17,228 INFO  knox.gateway (GatewayServer.java:internalDeactivateTopology(829)) - Deactivating topology manager
2018-11-29 18:55:17,624 INFO  knox.gateway (DefaultGatewayServices.java:initializeContribution(235)) - Creating credential store for the cluster: manager
2018-11-29 18:55:18,149 INFO  knox.gateway (DefaultGatewayServices.java:initializeContribution(239)) - Credential store found for the cluster: manager - no need to create one.
2018-11-29 18:55:18,538 INFO  knox.gateway (GatewayServer.java:internalActivateTopology(797)) - Activating topology manager
2018-11-29 18:55:18,538 INFO  knox.gateway (GatewayServer.java:internalActivateArchive(807)) - Activating topology manager archive %2Fadmin-ui
2018-11-29 18:55:18,539 INFO  knox.gateway (GatewayServer.java:internalActivateArchive(807)) - Activating topology manager archive %2F
2018-11-29 18:55:18,540 INFO  knox.gateway (GatewayServer.java:handleCreateDeployment(911)) - Deploying topology default to /usr/hdp/3.0.1.0-187/knox/data/deployments/default.topo.16760d2ec18
2018-11-29 18:55:18,540 INFO  knox.gateway (GatewayServer.java:internalDeactivateTopology(829)) - Deactivating topology default
2018-11-29 18:55:19,020 INFO  knox.gateway (DefaultGatewayServices.java:initializeContribution(235)) - Creating credential store for the cluster: default
2018-11-29 18:55:22,937 INFO  knox.gateway (GatewayServer.java:internalActivateTopology(797)) - Activating topology default
2018-11-29 18:55:22,937 INFO  knox.gateway (GatewayServer.java:internalActivateArchive(807)) - Activating topology default archive %2F
2018-11-29 18:55:23,486 INFO  knox.gateway (GatewayServer.java:start(585)) - Topology port mapping feature enabled: true
2018-11-29 18:55:26,663 INFO  knox.gateway (GatewayServer.java:start(620)) - Monitoring topologies in directory: /usr/hdp/3.0.1.0-187/knox/conf/topologies
2018-11-29 18:55:26,670 WARN  knox.gateway (DefaultTopologyService.java:startMonitor(556)) - An error occurred while attempting to start the remote configuration monitor org.apache.knox.gateway.topology.monitor.DefaultRemoteConfigurationMonitor : Failed to acquire a remote configuration registry client.
2018-11-29 18:55:26,671 INFO  knox.gateway (GatewayServer.java:startGateway(323)) - Started gateway on port 8,443.
==> /var/log/knox/ldap.err <==
log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.

Command failed after 1 tries

 

Don't have an account?
Coming from Hortonworks? Activate your account here