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.

Issue with Hcat client and Hive client

Issue with Hcat client and Hive client

Hi Team

We are running cluster wizard to install hdfs and other services in 2.5.

We are facing issue in client installation as it says access denied for the hortonworks links.

Can you please help us on the issue.

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py", line 68, in <module>
    HiveClient().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/HIVE/0.12.0.2.0/package/scripts/hive_client.py", line 34, in install
    self.install_packages(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 693, in install_packages
    retry_count=agent_stack_retry_count)
  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/package/__init__.py", line 54, in action_install
    self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/zypper.py", line 59, in install_package
    self.checked_call_with_retries(cmd, sudo=True, logoutput=self.get_logoutput())
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 86, in checked_call_with_retries
    return self._call_with_retries(cmd, is_checked=True, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 98, in _call_with_retries
    code, out = func(cmd, **kwargs)
  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 '/usr/bin/zypper --quiet install --auto-agree-with-licenses --no-confirm mysql-client' returned 106. Permission to access 'http://public-repo-1.hortonworks.com/HDP/sles12/2.x/updates/2.5.6.0/hdp.repo/repodata/repomd.xml' denied.

Abort, retry, ignore? [a/r/i/...? shows all options] (a): a
Error building the cache:
[HDP-2.5|http://public-repo-1.hortonworks.com/HDP/sles12/2.x/updates/2.5.6.0/hdp.repo] Valid metadata not found at specified URL
Warning: Skipping repository 'HDP-2.5' because of the above error.
File 'repomd.xml' from repository 'saprepo' is unsigned, continue? [yes/no] (no): no
Error building the cache:
[saprepo|http://ls0110.wdf.sap.corp:8080/pub/linux/suse/x86_64/saprepo/SLES-12/] Valid metadata not found at specified URL
Warning: Skipping repository 'saprepo' because of the above error. 

Some of the repositories have not been refreshed because of an error.

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", line 85, in <module>
    HCatClient().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/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", line 35, in install
    self.install_packages(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 693, in install_packages
    retry_count=agent_stack_retry_count)
  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/package/__init__.py", line 54, in action_install
    self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/zypper.py", line 59, in install_package
    self.checked_call_with_retries(cmd, sudo=True, logoutput=self.get_logoutput())
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 86, in checked_call_with_retries
    return self._call_with_retries(cmd, is_checked=True, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 98, in _call_with_retries
    code, out = func(cmd, **kwargs)
  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 '/usr/bin/zypper --quiet install --auto-agree-with-licenses --no-confirm mysql-client' returned 106. Download (curl) error for 'http://public-repo-1.hortonworks.com/HDP/sles12/2.x/updates/2.5.6.0/hdp.repo/repodata/repomd.xml':
Error code: Connection failed
Error message: Failed to connect to public-repo-1.hortonworks.com port 80: Connection timed out

Abort, retry, ignore? [a/r/i/...? shows all options] (a): a
Error building the cache:
[HDP-2.5|http://public-repo-1.hortonworks.com/HDP/sles12/2.x/updates/2.5.6.0/hdp.repo] Valid metadata not found at specified URL
Warning: Skipping repository 'HDP-2.5' because of the above error.
Download (curl) error for 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/sles12/repodata/repomd.xml':
Error code: Connection failed
Error message: Failed to connect to public-repo-1.hortonworks.com port 80: Connection timed out

Abort, retry, ignore? [a/r/i/...? shows all options] (a): a
Error building the cache:
[HDP-UTILS-1.1.0.21|http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/sles12] Valid metadata not found at specified URL
Warning: Skipping repository 'HDP-UTILS-1.1.0.21' because of the above error.
File 'repomd.xml' from repository 'saprepo' is unsigned, continue? [yes/no] (no): no
Error building the cache:
[saprepo|http://ls0110.wdf.sap.corp:8080/pub/linux/suse/x86_64/saprepo/SLES-12/] Valid metadata not found at specified URL
Warning: Skipping repository 'saprepo' because of the above error.
Some of the repositories have not been refreshed because of an error.
1 REPLY 1
Highlighted

Re: Issue with Hcat client and Hive client

HI Team

Please let me know if there is any solution for the issue.

Regards

Ankit

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