FAQ
Hi,

I ran into an issue of unable to locate JDK during installing Cloudera
Manager 4.5 Free Edition (2/26/2013 version).

My environment is:
Ubutun 12.04 LTS
Oracle JDK 1.6.0_31 64-bit (JAVA_HOME and JRE_HOME are set properly)

ClouderManagerInstaller log file:
/var/log/cloudera-manager-installer$ cat 3.install-oracle-j2sdk1.6.log
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package oracle-j2sdk1.6
E: Couldn't find any package by regex 'oracle-j2sdk1.6'
/var/log/cloudera-manager-installer$

Did I miss anything? What is the workaround?


Regards,
Kalen

Search Discussions

  • bc Wong at Mar 14, 2013 at 11:11 pm
    Hi Kalen,

    Can you attach the full install log:
    $ cd /var/log/cloudera-manager-installer
    $ ls -rt1 | xargs cat

    The package is here:
    http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/pool/contrib/o/oracle-j2sdk1.6/,
    which should be the repo that you're pointing to. I don't know why it's not
    finding it. Maybe `apt-get update' and retry?

    Cheers,
    bc
    On Wed, Mar 13, 2013 at 12:22 PM, Kalen wrote:

    Hi,

    I ran into an issue of unable to locate JDK during installing Cloudera
    Manager 4.5 Free Edition (2/26/2013 version).

    My environment is:
    Ubutun 12.04 LTS
    Oracle JDK 1.6.0_31 64-bit (JAVA_HOME and JRE_HOME are set properly)

    ClouderManagerInstaller log file:
    /var/log/cloudera-manager-installer$ cat 3.install-oracle-j2sdk1.6.log
    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package oracle-j2sdk1.6
    E: Couldn't find any package by regex 'oracle-j2sdk1.6'
    /var/log/cloudera-manager-installer$

    Did I miss anything? What is the workaround?


    Regards,
    Kalen
  • Herman Chen at Mar 14, 2013 at 11:26 pm
    Kalen,

    Could you also check if there's any file at "/etc/debian_version"?

    Thanks,

    Herman
    On Thu, Mar 14, 2013 at 4:11 PM, bc Wong wrote:
    Hi Kalen,

    Can you attach the full install log:
    $ cd /var/log/cloudera-manager-installer
    $ ls -rt1 | xargs cat

    The package is here:
    http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/pool/contrib/o/oracle-j2sdk1.6/,
    which should be the repo that you're pointing to. I don't know why it's not
    finding it. Maybe `apt-get update' and retry?

    Cheers,
    bc

    On Wed, Mar 13, 2013 at 12:22 PM, Kalen wrote:

    Hi,

    I ran into an issue of unable to locate JDK during installing Cloudera
    Manager 4.5 Free Edition (2/26/2013 version).

    My environment is:
    Ubutun 12.04 LTS
    Oracle JDK 1.6.0_31 64-bit (JAVA_HOME and JRE_HOME are set properly)

    ClouderManagerInstaller log file:
    /var/log/cloudera-manager-installer$ cat 3.install-oracle-j2sdk1.6.log
    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package oracle-j2sdk1.6
    E: Couldn't find any package by regex 'oracle-j2sdk1.6'
    /var/log/cloudera-manager-installer$

    Did I miss anything? What is the workaround?


    Regards,
    Kalen
  • Kalen at Mar 16, 2013 at 1:03 am
    Hi Herman,

    Thanks for your response.

    Yes, "/etc/debian_version" is there with content "wheezy/sid" .

    Best,
    Kalen
    On Thu, Mar 14, 2013 at 4:25 PM, Herman Chen wrote:

    Kalen,

    Could you also check if there's any file at "/etc/debian_version"?

    Thanks,

    Herman
    On Thu, Mar 14, 2013 at 4:11 PM, bc Wong wrote:
    Hi Kalen,

    Can you attach the full install log:
    $ cd /var/log/cloudera-manager-installer
    $ ls -rt1 | xargs cat

    The package is here:
    http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/pool/contrib/o/oracle-j2sdk1.6/
    ,
    which should be the repo that you're pointing to. I don't know why it's not
    finding it. Maybe `apt-get update' and retry?

    Cheers,
    bc

    On Wed, Mar 13, 2013 at 12:22 PM, Kalen wrote:

    Hi,

    I ran into an issue of unable to locate JDK during installing Cloudera
    Manager 4.5 Free Edition (2/26/2013 version).

    My environment is:
    Ubutun 12.04 LTS
    Oracle JDK 1.6.0_31 64-bit (JAVA_HOME and JRE_HOME are set properly)

    ClouderManagerInstaller log file:
    /var/log/cloudera-manager-installer$ cat 3.install-oracle-j2sdk1.6.log
    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package oracle-j2sdk1.6
    E: Couldn't find any package by regex 'oracle-j2sdk1.6'
    /var/log/cloudera-manager-installer$

    Did I miss anything? What is the workaround?


    Regards,
    Kalen
  • Herman Chen at Mar 16, 2013 at 6:30 pm
    Kalen,

    That is very strange since it should only be there for Debian but you
    mentioned that you're running Ubuntu 12.04 LTS. Can you try moving the
    file elsewhere and re-run the installer? That should hopefully install
    the right jdk package for Ubuntu.

    Herman
    On Fri, Mar 15, 2013 at 6:03 PM, Kalen wrote:
    Hi Herman,

    Thanks for your response.

    Yes, "/etc/debian_version" is there with content "wheezy/sid" .

    Best,
    Kalen

    On Thu, Mar 14, 2013 at 4:25 PM, Herman Chen wrote:

    Kalen,

    Could you also check if there's any file at "/etc/debian_version"?

    Thanks,

    Herman
    On Thu, Mar 14, 2013 at 4:11 PM, bc Wong wrote:
    Hi Kalen,

    Can you attach the full install log:
    $ cd /var/log/cloudera-manager-installer
    $ ls -rt1 | xargs cat

    The package is here:

    http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/pool/contrib/o/oracle-j2sdk1.6/,
    which should be the repo that you're pointing to. I don't know why it's
    not
    finding it. Maybe `apt-get update' and retry?

    Cheers,
    bc

    On Wed, Mar 13, 2013 at 12:22 PM, Kalen wrote:

    Hi,

    I ran into an issue of unable to locate JDK during installing Cloudera
    Manager 4.5 Free Edition (2/26/2013 version).

    My environment is:
    Ubutun 12.04 LTS
    Oracle JDK 1.6.0_31 64-bit (JAVA_HOME and JRE_HOME are set properly)

    ClouderManagerInstaller log file:
    /var/log/cloudera-manager-installer$ cat 3.install-oracle-j2sdk1.6.log
    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package oracle-j2sdk1.6
    E: Couldn't find any package by regex 'oracle-j2sdk1.6'
    /var/log/cloudera-manager-installer$

    Did I miss anything? What is the workaround?


    Regards,
    Kalen
  • Kalen at Mar 19, 2013 at 9:26 pm
    Hi Herman,

    Our Ubuntu env. was messed up. After we corrected and updated Ubuntu, the
    Cloudera Manager was successfully install.

    Thanks for your support.

    Regards,
    Kalen
    On Sat, Mar 16, 2013 at 11:29 AM, Herman Chen wrote:

    Kalen,

    That is very strange since it should only be there for Debian but you
    mentioned that you're running Ubuntu 12.04 LTS. Can you try moving the
    file elsewhere and re-run the installer? That should hopefully install
    the right jdk package for Ubuntu.

    Herman
    On Fri, Mar 15, 2013 at 6:03 PM, Kalen wrote:
    Hi Herman,

    Thanks for your response.

    Yes, "/etc/debian_version" is there with content "wheezy/sid" .

    Best,
    Kalen

    On Thu, Mar 14, 2013 at 4:25 PM, Herman Chen wrote:

    Kalen,

    Could you also check if there's any file at "/etc/debian_version"?

    Thanks,

    Herman
    On Thu, Mar 14, 2013 at 4:11 PM, bc Wong wrote:
    Hi Kalen,

    Can you attach the full install log:
    $ cd /var/log/cloudera-manager-installer
    $ ls -rt1 | xargs cat

    The package is here:
    http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/pool/contrib/o/oracle-j2sdk1.6/
    ,
    which should be the repo that you're pointing to. I don't know why
    it's
    not
    finding it. Maybe `apt-get update' and retry?

    Cheers,
    bc

    On Wed, Mar 13, 2013 at 12:22 PM, Kalen wrote:

    Hi,

    I ran into an issue of unable to locate JDK during installing
    Cloudera
    Manager 4.5 Free Edition (2/26/2013 version).

    My environment is:
    Ubutun 12.04 LTS
    Oracle JDK 1.6.0_31 64-bit (JAVA_HOME and JRE_HOME are set properly)

    ClouderManagerInstaller log file:
    /var/log/cloudera-manager-installer$ cat
    3.install-oracle-j2sdk1.6.log
    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package oracle-j2sdk1.6
    E: Couldn't find any package by regex 'oracle-j2sdk1.6'
    /var/log/cloudera-manager-installer$

    Did I miss anything? What is the workaround?


    Regards,
    Kalen
  • Kalen at Mar 16, 2013 at 1:01 am
    Hi Bc,

    Thanks for your feedback.

    Here is the full log.

    $ ls -rt1 | xargs cat
    (Reading database ... 172361 files and directories currently installed.)
    Removing cloudera-manager-repository ...
    Selecting previously unselected package cloudera-manager-repository.
    (Reading database ... 172359 files and directories currently installed.)
    Unpacking cloudera-manager-repository (from
    .../cloudera-manager-repository_4.0_all.deb) ...
    Setting up cloudera-manager-repository (4.0) ...
    gpg: keyring `/etc/apt/trusted.gpg.d/cloudera-cm4.gpg' created
    gpg: key 02A818DD: public key "Cloudera Apt Repository" imported
    gpg: Total number processed: 1
    gpg: imported: 1
    Err http://www.rabbitmq.com testing InRelease

    Err http://us.archive.ubuntu.com precise InRelease

    Err http://us.archive.ubuntu.com precise-updates InRelease

    Err http://us.archive.ubuntu.com precise-backports InRelease

    Err http://security.ubuntu.com precise-security InRelease

    Err http://extras.ubuntu.com precise InRelease

    Err http://archive.cloudera.com precise-cm4 InRelease

    Err http://www.rabbitmq.com testing Release.gpg
       Could not resolve 'server'
    Err http://archive.cloudera.com precise-cm4 Release.gpg
       Could not resolve 'server'
    Err http://extras.ubuntu.com precise Release.gpg
       Could not resolve 'server'
    Err http://security.ubuntu.com precise-security Release.gpg
       Could not resolve 'server'
    Err http://us.archive.ubuntu.com precise Release.gpg
       Could not resolve 'server'
    Err http://us.archive.ubuntu.com precise-updates Release.gpg
       Could not resolve 'server'
    Err http://us.archive.ubuntu.com precise-backports Release.gpg
       Could not resolve 'server'
    Reading package lists...
    W: Failed to fetch
    http://us.archive.ubuntu.com/ubuntu/dists/precise/InRelease

    W: Failed to fetch
    http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease

    W: Failed to fetch
    http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/InRelease

    W: Failed to fetch
    http://security.ubuntu.com/ubuntu/dists/precise-security/InRelease

    W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/InRelease

    W: Failed to fetch http://www.rabbitmq.com/debian/dists/testing/InRelease

    W: Failed to fetch
    http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/dists/precise-cm4/InRelease

    W: Failed to fetch
    http://www.rabbitmq.com/debian/dists/testing/Release.gpg Could not
    resolve 'server'

    W: Failed to fetch
    http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Could not
    resolve 'server'

    W: Failed to fetch
    http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg
    Could not resolve 'server'

    W: Failed to fetch
    http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg
    Could not resolve 'server'

    W: Failed to fetch
    http://security.ubuntu.com/ubuntu/dists/precise-security/Release.gpg Could
    not resolve 'server'

    W: Failed to fetch
    http://extras.ubuntu.com/ubuntu/dists/precise/Release.gpg Could not
    resolve 'server'

    W: Failed to fetch
    http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/dists/precise-cm4/Release.gpg
    Could not resolve 'server'

    W: Some index files failed to download. They have been ignored, or old ones
    used instead.
    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package oracle-j2sdk1.6
    E: Couldn't find any package by regex 'oracle-j2sdk1.6'
    (Reading database ... 172361 files and directories currently installed.)
    Removing cloudera-manager-repository ...
    sh: 1: /usr/sbin/selinuxenabled: not found
    /var/log/cloudera-manager-installer$

    It seems our server network issue, and 'apt-get update' couldn't run
    through.

    Best,
    Kalen

    On Thu, Mar 14, 2013 at 4:11 PM, bc Wong wrote:

    Hi Kalen,

    Can you attach the full install log:
    $ cd /var/log/cloudera-manager-installer
    $ ls -rt1 | xargs cat

    The package is here:
    http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/pool/contrib/o/oracle-j2sdk1.6/,
    which should be the repo that you're pointing to. I don't know why it's not
    finding it. Maybe `apt-get update' and retry?

    Cheers,
    bc

    On Wed, Mar 13, 2013 at 12:22 PM, Kalen wrote:

    Hi,

    I ran into an issue of unable to locate JDK during installing Cloudera
    Manager 4.5 Free Edition (2/26/2013 version).

    My environment is:
    Ubutun 12.04 LTS
    Oracle JDK 1.6.0_31 64-bit (JAVA_HOME and JRE_HOME are set properly)

    ClouderManagerInstaller log file:
    /var/log/cloudera-manager-installer$ cat 3.install-oracle-j2sdk1.6.log
    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package oracle-j2sdk1.6
    E: Couldn't find any package by regex 'oracle-j2sdk1.6'
    /var/log/cloudera-manager-installer$

    Did I miss anything? What is the workaround?


    Regards,
    Kalen
  • Poornima PK at Jun 7, 2013 at 8:15 pm
    Kalen,

    I am also facing the same issue. I see that you said "Our Ubuntu env. was
    messed up. After we corrected and updated Ubuntu, the Cloudera Manager was
    successfully install." How did you correct the Ubuntu env?

    Thanks,

    Poornima
    On Wednesday, 13 March 2013 15:22:07 UTC-4, Kalen wrote:

    Hi,

    I ran into an issue of unable to locate JDK during installing Cloudera
    Manager 4.5 Free Edition (2/26/2013 version).

    My environment is:
    Ubutun 12.04 LTS
    Oracle JDK 1.6.0_31 64-bit (JAVA_HOME and JRE_HOME are set properly)

    ClouderManagerInstaller log file:
    /var/log/cloudera-manager-installer$ cat 3.install-oracle-j2sdk1.6.log
    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package oracle-j2sdk1.6
    E: Couldn't find any package by regex 'oracle-j2sdk1.6'
    /var/log/cloudera-manager-installer$

    Did I miss anything? What is the workaround?


    Regards,
    Kalen

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedMar 13, '13 at 7:22p
activeJun 7, '13 at 8:15p
posts8
users4
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase