hdp安装在hive metastore的“test\u connection”失败

izkcnapc  于 2021-05-31  发布在  Hadoop
关注(0)|答案(0)|浏览(342)

在ambari2.7.4向导上安装hadoop3.1.4时遇到了一个奇怪的问题。作为os/environment,我们有一个Suse12Linux(已经设置好了),并且在一个代理服务器后面——我要指出的是。可以访问hdp存储库:
http://public-repo-1.hortonworks.com/hdp-utils-1.1.0.22/repos/sles12/
http://public-repo-1.hortonworks.com/hdp-gpl/sles12/3.x/updates/3.1.4.0
http://public-repo-1.hortonworks.com/hdp/sles12/3.x/updates/3.1.4.0/
在将数据库(它已经存在于postgres上,有一个hivedb和一个hiveuser)连接到hivemetastore的步骤中,我们在“check connection”按钮失败(postgres和ambari在同一个主机上)。我们还为ambari甚至在suse代理文件中设置了“no proxy”设置。
据我们所知,错误消息是,ambari无法在运行的同一台服务器上访问他自己的Resources文件夹??任何帮助都将不胜感激:)

2020-07-16 07:41:28,194 - Error downloading JDK from Ambari Server resources. Check network access to Ambari Server.
HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 368, in execute_db_connection_check
    download_file(jdk_url, jdk_download_target)
  File "/usr/lib/ambari-agent/lib/ambari_commons/inet_utils.py", line 68, in download_file
    force_download_file(link, destination, chunk_size, progress_func = progress_func)
  File "/usr/lib/ambari-agent/lib/ambari_commons/inet_utils.py", line 171, in force_download_file
    response = urllib2.urlopen(request)
  File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden
2020-07-16 07:41:28,198 - Check db_connection_check was unsuccessful. Exit code: 1. Message: Error downloading JDK from Ambari Server resources. Check network access to Ambari Server.
HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 546, in <module>
    CheckHost().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 207, in actionexecute
    raise Fail(error_message)
resource_management.core.exceptions.Fail: Check db_connection_check was unsuccessful. Exit code: 1. Message: Error downloading JDK from Ambari Server resources. Check network access to Ambari Server.
HTTP Error 403: Forbidden

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题