FAQ
Other recipients:
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 com
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
*<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
*<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
*<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
*<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

To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.

Search Discussions

  • Darren Lo at Oct 23, 2013 at 3:31 pm
    Hi Narayan,

    The error indicates a networking problem. Those urls work for me. Can you
    wget those urls from your machine? If not, you need to make sure your
    machines have internet access, or use an installation method that does not
    require the internet.

    Thanks,
    Darren

    On Tue, Oct 22, 2013 at 11:04 PM, Narayan chalasani wrote:

    Other recipients:
    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 com
    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*<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*<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*<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*<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

    To unsubscribe from this group and stop receiving emails from it, send an
    email to scm-users+unsubscribe@cloudera.org.


    --
    Thanks,
    Darren

    To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.
  • Narayan chalasani at Oct 23, 2013 at 4:21 pm
    Like I said - The url do work fine. The servers that I am installing on has
    internet access.

    if I give "yum makecache" or "yum info jdk" - It works. It goes and does
    its thing and downloads.
    if I give "sudo yum makecache" or "sudo yum info jdk" - it throws me an
    error.

    The word "sudo" before the command is causing the issue. The process puts
    sudo when installing through CM.

    Hope I am clear.

    Narayan

    On Wednesday, October 23, 2013 8:31:09 AM UTC-7, Darren Lo wrote:

    Hi Narayan,

    The error indicates a networking problem. Those urls work for me. Can you
    wget those urls from your machine? If not, you need to make sure your
    machines have internet access, or use an installation method that does not
    require the internet.

    Thanks,
    Darren


    On Tue, Oct 22, 2013 at 11:04 PM, Narayan chalasani <chalas...@gmail.com<javascript:>
    wrote:
    Other recipients:
    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 com
    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*<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*<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*<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*<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

    To unsubscribe from this group and stop receiving emails from it, send an
    email to scm-users+...@cloudera.org <javascript:>.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.
  • Darren Lo at Oct 23, 2013 at 7:50 pm
    Sorry I misunderstood. Seems like a strange problem. Do the URLs work when
    you sudo? ie sudo wget <url>.

    I'm not sure what's going on here, so others may have more useful advice,
    or you can check general linux help (I am not an expert), since this
    doesn't seem to be an issue with Cloudera Manager.

    Thanks,
    Darren


    On Wed, Oct 23, 2013 at 9:21 AM, Narayan chalasani
    wrote:
    Like I said - The url do work fine. The servers that I am installing on
    has internet access.

    if I give "yum makecache" or "yum info jdk" - It works. It goes and does
    its thing and downloads.
    if I give "sudo yum makecache" or "sudo yum info jdk" - it throws me an
    error.

    The word "sudo" before the command is causing the issue. The process puts
    sudo when installing through CM.

    Hope I am clear.

    Narayan

    On Wednesday, October 23, 2013 8:31:09 AM UTC-7, Darren Lo wrote:

    Hi Narayan,

    The error indicates a networking problem. Those urls work for me. Can you
    wget those urls from your machine? If not, you need to make sure your
    machines have internet access, or use an installation method that does not
    require the internet.

    Thanks,
    Darren

    On Tue, Oct 22, 2013 at 11:04 PM, Narayan chalasani wrote:

    Other recipients:
    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 com
    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*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>:
    [Errno 12] Timeout on *http://archive.cloudera.com/se
    arch/redhat/6/x86_64/search/1/repodata/repomd.xml*<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*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>:
    [Errno 12] Timeout on *http://archive.cloudera.com/se
    arch/redhat/6/x86_64/search/1/repodata/repomd.xml*<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

    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+...@**cloudera.org.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send an
    email to scm-users+unsubscribe@cloudera.org.


    --
    Thanks,
    Darren

    To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.
  • Narayan chalasani at Oct 23, 2013 at 8:02 pm
    Yes the wget works.

    Wierdly if I do yum makecache it works. So from there itself I kinda know
    that wget works. Its just that if I put sudo before the "yum makecache" it
    fails. Any thoughts?

    [root@hadoop2 ~]# wget
    http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml
    --2013-10-23 12:58:29--
    http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml
    Resolving lXXXXXX... 10.XX.XXX
    Connecting to XXXXXXXX:... connected.
    Proxy request sent, awaiting response... 200 OK
    Length: 951 [application/xml]
    Saving to: ârepomd.xmlâ
    100%[======================================>] 951 --.-K/s in 0s
    2013-10-23 12:58:29 (102 MB/s) - ârepomd.xmlâ
    [root@hadoop2 ~]#



    On Wednesday, October 23, 2013 12:49:58 PM UTC-7, Darren Lo wrote:

    Sorry I misunderstood. Seems like a strange problem. Do the URLs work when
    you sudo? ie sudo wget <url>.

    I'm not sure what's going on here, so others may have more useful advice,
    or you can check general linux help (I am not an expert), since this
    doesn't seem to be an issue with Cloudera Manager.

    Thanks,
    Darren


    On Wed, Oct 23, 2013 at 9:21 AM, Narayan chalasani <chalas...@gmail.com<javascript:>
    wrote:
    Like I said - The url do work fine. The servers that I am installing on
    has internet access.

    if I give "yum makecache" or "yum info jdk" - It works. It goes and does
    its thing and downloads.
    if I give "sudo yum makecache" or "sudo yum info jdk" - it throws me an
    error.

    The word "sudo" before the command is causing the issue. The process puts
    sudo when installing through CM.

    Hope I am clear.

    Narayan

    On Wednesday, October 23, 2013 8:31:09 AM UTC-7, Darren Lo wrote:

    Hi Narayan,

    The error indicates a networking problem. Those urls work for me. Can
    you wget those urls from your machine? If not, you need to make sure your
    machines have internet access, or use an installation method that does not
    require the internet.

    Thanks,
    Darren


    On Tue, Oct 22, 2013 at 11:04 PM, Narayan chalasani <chalas...@gmail.com
    wrote:
    Other recipients:
    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 com
    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*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>:
    [Errno 12] Timeout on *http://archive.cloudera.com/se
    arch/redhat/6/x86_64/search/1/repodata/repomd.xml*<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*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>:
    [Errno 12] Timeout on *http://archive.cloudera.com/se
    arch/redhat/6/x86_64/search/1/repodata/repomd.xml*<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

    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+...@**cloudera.org.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+...@cloudera.org <javascript:>.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.
  • Darren Lo at Oct 23, 2013 at 8:10 pm
    Do they work when you use "sudo" before wget?


    On Wed, Oct 23, 2013 at 1:02 PM, Narayan chalasani
    wrote:
    Yes the wget works.

    Wierdly if I do yum makecache it works. So from there itself I kinda know
    that wget works. Its just that if I put sudo before the "yum makecache" it
    fails. Any thoughts?

    [root@hadoop2 ~]# wget
    http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml
    --2013-10-23 12:58:29--
    http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml
    Resolving lXXXXXX... 10.XX.XXX
    Connecting to XXXXXXXX:... connected.
    Proxy request sent, awaiting response... 200 OK
    Length: 951 [application/xml]
    Saving to: ârepomd.xmlâ
    100%[======================================>] 951 --.-K/s in 0s
    2013-10-23 12:58:29 (102 MB/s) - ârepomd.xmlâ
    [root@hadoop2 ~]#



    On Wednesday, October 23, 2013 12:49:58 PM UTC-7, Darren Lo wrote:

    Sorry I misunderstood. Seems like a strange problem. Do the URLs work
    when you sudo? ie sudo wget <url>.

    I'm not sure what's going on here, so others may have more useful advice,
    or you can check general linux help (I am not an expert), since this
    doesn't seem to be an issue with Cloudera Manager.

    Thanks,
    Darren

    On Wed, Oct 23, 2013 at 9:21 AM, Narayan chalasani wrote:

    Like I said - The url do work fine. The servers that I am installing on
    has internet access.

    if I give "yum makecache" or "yum info jdk" - It works. It goes and does
    its thing and downloads.
    if I give "sudo yum makecache" or "sudo yum info jdk" - it throws me an
    error.

    The word "sudo" before the command is causing the issue. The process
    puts sudo when installing through CM.

    Hope I am clear.

    Narayan

    On Wednesday, October 23, 2013 8:31:09 AM UTC-7, Darren Lo wrote:

    Hi Narayan,

    The error indicates a networking problem. Those urls work for me. Can
    you wget those urls from your machine? If not, you need to make sure your
    machines have internet access, or use an installation method that does not
    require the internet.

    Thanks,
    Darren


    On Tue, Oct 22, 2013 at 11:04 PM, Narayan chalasani <
    chalas...@gmail.com> wrote:
    Other recipients:
    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 com
    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*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>:
    [Errno 12] Timeout on *http://archive.cloudera.com/se
    arch/redhat/6/x86_64/search/1/repodata/repomd.xml*<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*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>:
    [Errno 12] Timeout on *http://archive.cloudera.com/se
    arch/redhat/6/x86_64/search/1/repodata/repomd.xml*<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

    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+...@**cloudera.org.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+...@**cloudera.org.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send an
    email to scm-users+unsubscribe@cloudera.org.


    --
    Thanks,
    Darren

    To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.
  • Narayan chalasani at Oct 23, 2013 at 8:12 pm
    I just did same command and added sudo before it.

    sudo wget *
    http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml
    *<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>

    It didn't work....it timed out

    Narayan
    On Wednesday, October 23, 2013 1:10:02 PM UTC-7, Darren Lo wrote:

    Do they work when you use "sudo" before wget?


    On Wed, Oct 23, 2013 at 1:02 PM, Narayan chalasani <chalas...@gmail.com<javascript:>
    wrote:
    Yes the wget works.

    Wierdly if I do yum makecache it works. So from there itself I kinda know
    that wget works. Its just that if I put sudo before the "yum makecache" it
    fails. Any thoughts?

    [root@hadoop2 ~]# wget
    http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml
    --2013-10-23 12:58:29--
    http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml
    Resolving lXXXXXX... 10.XX.XXX
    Connecting to XXXXXXXX:... connected.
    Proxy request sent, awaiting response... 200 OK
    Length: 951 [application/xml]
    Saving to: ârepomd.xmlâ
    100%[======================================>] 951 --.-K/s in 0s
    2013-10-23 12:58:29 (102 MB/s) - ârepomd.xmlâ
    [root@hadoop2 ~]#



    On Wednesday, October 23, 2013 12:49:58 PM UTC-7, Darren Lo wrote:

    Sorry I misunderstood. Seems like a strange problem. Do the URLs work
    when you sudo? ie sudo wget <url>.

    I'm not sure what's going on here, so others may have more useful
    advice, or you can check general linux help (I am not an expert), since
    this doesn't seem to be an issue with Cloudera Manager.

    Thanks,
    Darren

    On Wed, Oct 23, 2013 at 9:21 AM, Narayan chalasani wrote:

    Like I said - The url do work fine. The servers that I am installing on
    has internet access.

    if I give "yum makecache" or "yum info jdk" - It works. It goes and
    does its thing and downloads.
    if I give "sudo yum makecache" or "sudo yum info jdk" - it throws me an
    error.

    The word "sudo" before the command is causing the issue. The process
    puts sudo when installing through CM.

    Hope I am clear.

    Narayan

    On Wednesday, October 23, 2013 8:31:09 AM UTC-7, Darren Lo wrote:

    Hi Narayan,

    The error indicates a networking problem. Those urls work for me. Can
    you wget those urls from your machine? If not, you need to make sure your
    machines have internet access, or use an installation method that does not
    require the internet.

    Thanks,
    Darren


    On Tue, Oct 22, 2013 at 11:04 PM, Narayan chalasani <
    chalas...@gmail.com> wrote:
    Other recipients:
    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 com
    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*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>:
    [Errno 12] Timeout on *http://archive.cloudera.com/se
    arch/redhat/6/x86_64/search/1/repodata/repomd.xml*<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*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>:
    [Errno 12] Timeout on *http://archive.cloudera.com/se
    arch/redhat/6/x86_64/search/1/repodata/repomd.xml*<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

    To unsubscribe from this group and stop receiving emails from it,
    send an email to scm-users+...@**cloudera.org.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+...@**cloudera.org.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+...@cloudera.org <javascript:>.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.
  • Vikas Singh at Oct 23, 2013 at 9:13 pm
    Hi Narayan,

    Are you running commands with "sudo" when logged in as root? If not, can
    you try that out (i.e. login as root and run sudo <command>)? If that
    succeeds, run visudo and add following:

    Defaults umask = 0022
    Defaults umask_override

    and then try again.

    - Vikas


    On Wed, Oct 23, 2013 at 1:12 PM, Narayan chalasani
    wrote:
    I just did same command and added sudo before it.

    sudo wget *http://archive.cloudera.com/search/redhat/6/x86_64/search/
    1/repodata/repomd.xml*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>

    It didn't work....it timed out

    Narayan
    On Wednesday, October 23, 2013 1:10:02 PM UTC-7, Darren Lo wrote:

    Do they work when you use "sudo" before wget?

    On Wed, Oct 23, 2013 at 1:02 PM, Narayan chalasani wrote:


    Yes the wget works.

    Wierdly if I do yum makecache it works. So from there itself I kinda
    know that wget works. Its just that if I put sudo before the "yum
    makecache" it fails. Any thoughts?

    [root@hadoop2 ~]# wget http://archive.cloudera.com/**
    search/redhat/6/x86_64/search/**1/repodata/repomd.xml<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>
    --2013-10-23 12:58:29-- http://archive.cloudera.com/**
    search/redhat/6/x86_64/search/**1/repodata/repomd.xml<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>
    Resolving lXXXXXX... 10.XX.XXX
    Connecting to XXXXXXXX:... connected.
    Proxy request sent, awaiting response... 200 OK
    Length: 951 [application/xml]
    Saving to: ârepomd.xmlâ
    100%[=========================**=============>] 951 --.-K/s
    in 0s
    2013-10-23 12:58:29 (102 MB/s) - ârepomd.xmlâ
    [root@hadoop2 ~]#



    On Wednesday, October 23, 2013 12:49:58 PM UTC-7, Darren Lo wrote:

    Sorry I misunderstood. Seems like a strange problem. Do the URLs work
    when you sudo? ie sudo wget <url>.

    I'm not sure what's going on here, so others may have more useful
    advice, or you can check general linux help (I am not an expert), since
    this doesn't seem to be an issue with Cloudera Manager.

    Thanks,
    Darren


    On Wed, Oct 23, 2013 at 9:21 AM, Narayan chalasani <chalas...@gmail.com
    wrote:
    Like I said - The url do work fine. The servers that I am installing
    on has internet access.

    if I give "yum makecache" or "yum info jdk" - It works. It goes and
    does its thing and downloads.
    if I give "sudo yum makecache" or "sudo yum info jdk" - it throws me
    an error.

    The word "sudo" before the command is causing the issue. The process
    puts sudo when installing through CM.

    Hope I am clear.

    Narayan

    On Wednesday, October 23, 2013 8:31:09 AM UTC-7, Darren Lo wrote:

    Hi Narayan,

    The error indicates a networking problem. Those urls work for me. Can
    you wget those urls from your machine? If not, you need to make sure your
    machines have internet access, or use an installation method that does not
    require the internet.

    Thanks,
    Darren


    On Tue, Oct 22, 2013 at 11:04 PM, Narayan chalasani <
    chalas...@gmail.com> wrote:
    Other recipients:
    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 com
    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*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>:
    [Errno 12] Timeout on *http://archive.cloudera.com/se
    arch/redhat/6/x86_64/search/1/repodata/repomd.xml*<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*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>:
    [Errno 12] Timeout on *http://archive.cloudera.com/se
    arch/redhat/6/x86_64/search/1/repodata/repomd.xml*<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

    To unsubscribe from this group and stop receiving emails from it,
    send an email to scm-users+...@**cloudera.org.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it,
    send an email to scm-users+...@**cloudera.org.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+...@**cloudera.org.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send an
    email to scm-users+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.
  • Narayan chalasani at Oct 23, 2013 at 9:29 pm
    I just found the issue.

    So when I am doing the wget it was going through proxies and working fine.

    When I do sudo wget it wasn't going through proxies.

    I had to go edit the visudo

    and add below under #Defaults env_reset.

    Defaults env_keep = "http_proxy ftp_proxy"

    After adding it sudo wget , sudo yum makecache are working . I haven't
    tested sudo yum info jdk, but pretty sure that will work.

    Narayan

    On Wednesday, October 23, 2013 1:12:11 PM UTC-7, Narayan chalasani wrote:

    I just did same command and added sudo before it.

    sudo wget *
    http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml
    *<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>

    It didn't work....it timed out

    Narayan
    On Wednesday, October 23, 2013 1:10:02 PM UTC-7, Darren Lo wrote:

    Do they work when you use "sudo" before wget?

    On Wed, Oct 23, 2013 at 1:02 PM, Narayan chalasani wrote:


    Yes the wget works.

    Wierdly if I do yum makecache it works. So from there itself I kinda
    know that wget works. Its just that if I put sudo before the "yum
    makecache" it fails. Any thoughts?

    [root@hadoop2 ~]# wget
    http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml
    --2013-10-23 12:58:29--
    http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml
    Resolving lXXXXXX... 10.XX.XXX
    Connecting to XXXXXXXX:... connected.
    Proxy request sent, awaiting response... 200 OK
    Length: 951 [application/xml]
    Saving to: ârepomd.xmlâ
    100%[======================================>] 951 --.-K/s in 0s
    2013-10-23 12:58:29 (102 MB/s) - ârepomd.xmlâ
    [root@hadoop2 ~]#



    On Wednesday, October 23, 2013 12:49:58 PM UTC-7, Darren Lo wrote:

    Sorry I misunderstood. Seems like a strange problem. Do the URLs work
    when you sudo? ie sudo wget <url>.

    I'm not sure what's going on here, so others may have more useful
    advice, or you can check general linux help (I am not an expert), since
    this doesn't seem to be an issue with Cloudera Manager.

    Thanks,
    Darren


    On Wed, Oct 23, 2013 at 9:21 AM, Narayan chalasani <chalas...@gmail.com
    wrote:
    Like I said - The url do work fine. The servers that I am installing
    on has internet access.

    if I give "yum makecache" or "yum info jdk" - It works. It goes and
    does its thing and downloads.
    if I give "sudo yum makecache" or "sudo yum info jdk" - it throws me
    an error.

    The word "sudo" before the command is causing the issue. The process
    puts sudo when installing through CM.

    Hope I am clear.

    Narayan

    On Wednesday, October 23, 2013 8:31:09 AM UTC-7, Darren Lo wrote:

    Hi Narayan,

    The error indicates a networking problem. Those urls work for me. Can
    you wget those urls from your machine? If not, you need to make sure your
    machines have internet access, or use an installation method that does not
    require the internet.

    Thanks,
    Darren


    On Tue, Oct 22, 2013 at 11:04 PM, Narayan chalasani <
    chalas...@gmail.com> wrote:
    Other recipients:
    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 com
    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*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>:
    [Errno 12] Timeout on *http://archive.cloudera.com/se
    arch/redhat/6/x86_64/search/1/repodata/repomd.xml*<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*<http://archive.cloudera.com/search/redhat/6/x86_64/search/1/repodata/repomd.xml>:
    [Errno 12] Timeout on *http://archive.cloudera.com/se
    arch/redhat/6/x86_64/search/1/repodata/repomd.xml*<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

    To unsubscribe from this group and stop receiving emails from it,
    send an email to scm-users+...@**cloudera.org.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it,
    send an email to scm-users+...@**cloudera.org.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send
    an email to scm-users+...@cloudera.org.


    --
    Thanks,
    Darren
    To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedOct 23, '13 at 6:04a
activeOct 23, '13 at 9:29p
posts9
users3
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase