FAQ
I am getting error when installing chd 4.1.2

I have seen ppl post it some time ago regarding same error but couldn't
find a solution.

So the command is failing on

sudo yum makecache and sudo yum info jdk

Weird thing is - if I manually issue the command without sudo as root

like Yum makecache - it execuites fine

if I issue with sudo - like sudo yum makecache (as root)
it fails.

My sudoer file reads
username ALL=(ALL) NOPASSWD: ALL

Error details:
Cleaning up Everything
END (0)
BEGIN sudo rm -Rf /var/cache/yum/x86_64
END (0)
BEGIN sudo yum makecache
Loaded plugins: rhnplugin, versionlock
http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml:
[Errno 12] Timeout on
http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml:
(28, 'connect() timed out!')
  Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
cdh-solr. Please verify its path and try again
  END (1)

Installing jdk package...
BEGIN sudo yum list installed jdk
Loaded plugins: rhnplugin, versionlock
Installed Packages
jdk.x86_64 2000:1.6.0_32-fcs @rhel6-snei-x86_64
END (0)
BEGIN echo jdk cloudera-manager-agent cloudera-manager-daemons | grep jdk
jdk cloudera-manager-agent cloudera-manager-daemons
END (0)
BEGIN sudo yum info jdk
Loaded plugins: rhnplugin, versionlock
http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml:
[Errno 12] Timeout on
http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml:
(28, 'connect() timed out!')
  Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
cdh-solr. Please verify its path and try again
  END (1)
remote package jdk is not available, giving up
waiting for rollback request

--

---
You received this message because you are subscribed to the Google Groups "CDH Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cdh-user+unsubscribe@cloudera.org.
For more options, visit https://groups.google.com/a/cloudera.org/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcdh-user @
categorieshadoop
postedOct 23, '13 at 4:54a
activeOct 23, '13 at 4:54a
posts1
users1
websitecloudera.com
irc#hadoop

1 user in discussion

Narayan chalasani: 1 post

People

Translate

site design / logo © 2022 Grokbase