FAQ
Hi,

I am trying to upgrade a cluster running CDH4.1.2 from CM4.1.0 to
CM4.1.1 (on Ubuntu Precise 12.04)

On the SCM server node, I upgraded the packages manually, then restarted
the server.

Then, in the host upgrade wizard, I get an error about failing to
install the "jdk" package:

BEGIN apt-cache show jdk
E: No packages found
END (100)
remote package jdk is not available, giving up

Strangely, the process has checked for the orcale-j2sdk1.6 before that,
which is of course already present on all nodes.

After the error, all changes are rolled back, so the CM agents are not
upgraded on any machine.

I searched the mailing list archives and found very few reports about
similar issues, but non really matched my experience.

Detailed snipped from the upgrade wizard's detail window follows

Any ideas?

(Of course I can just upgrade the CM agent packages and restart the
agents on all hosts manually as a workaround.)

Cheers
Martin

...


Installing oracle-j2sdk1.6 package...
BEGIN apt-cache show oracle-j2sdk1.6
Package: oracle-j2sdk1.6
Version: 1.6.0+update31
Architecture: amd64
Maintainer: Debian Java Maintainers
<pkg-java-maintainers@lists.alioth.debian.org>
Installed-Size: 224994
Depends: libasound2 (>= 1.0.16), libc6 (>= 2.2.5), libx11-6, libxext6,
libxi6, libxt6, libxtst6
Recommends: netbase, libgtk1.2, libstdc++5
Replaces: oracle-j2sdk1.6debian
Provides: j2re1.6, j2sdk1.6, java-browser-plugin, java-compiler,
java-runtime, java-runtime-headless, java-sdk, java-virtual-machine,
java2-compiler, java2-runtime, java2-runtime-headless, java2-sdk
Priority: optional
Section: non-free/devel
Filename:
pool/contrib/o/oracle-j2sdk1.6/oracle-j2sdk1.6_1.6.0+update31_amd64.deb
Size: 96896162
SHA256: e3af578020ca3d595fbf1da7f006dde783fa10ace7e147ea135e5d09a8ad32b9
SHA1: 4b4cd040b2b71f1b754180d89c8e69f5940d27a5
MD5sum: 183149f3ddc42fcc03e137bea41cf85e
Description: Java(TM) JDK, Standard Edition, Oracle(TM)
The Java(TM) 2 SDK is a development environment for building
applications, applets, and components that can be deployed on the
Java(TM) platform.
.
The Java(TM) 2 SDK software includes tools useful for developing and
testing programs written in the Java programming language and running
on the Java platform. These tools are designed to be used from the
command line. Except for appletviewer, these tools do not provide a
graphical user interface.
.
This package has been automatically created with java-package (0.50).

END (0)
BEGIN dpkg -l oracle-j2sdk1.6 | grep -E
'^ii[[:space:]]*oracle-j2sdk1.6[[:space:]]*'
ii oracle-j2sdk1.6 1.6.0+update31 Java(TM) JDK, Standard Edition,
Oracle(TM)
END (0)
BEGIN echo jdk cloudera-manager-agent cloudera-manager-daemons | grep
oracle-j2sdk1.6
END (1)
remote package oracle-j2sdk1.6 is already installed
Installing jdk package...
BEGIN apt-cache show jdk
E: No packages found
END (100)
remote package jdk is not available, giving up
Reverting changes...
rollback started
Removing package repositories...
repository file /etc/apt/sources.list.d/cloudera-manager.list restored

Search Discussions

  • Philip Langdale at Nov 13, 2012 at 6:15 pm
    Hi Martin,

    I'm afraid you've found a bug. You might be able to work around it by
    uninstalling
    the oracle-j2sdk1.6 package first, but then you might as well just upgrade
    the
    agent manually if you're going to take that trouble.

    We'll try and push out an updated package asap.

    --phil


    On 13 November 2012 09:27, mg wrote:

    Hi,

    I am trying to upgrade a cluster running CDH4.1.2 from CM4.1.0 to CM4.1.1
    (on Ubuntu Precise 12.04)

    On the SCM server node, I upgraded the packages manually, then restarted
    the server.

    Then, in the host upgrade wizard, I get an error about failing to install
    the "jdk" package:

    BEGIN apt-cache show jdk
    E: No packages found
    END (100)
    remote package jdk is not available, giving up

    Strangely, the process has checked for the orcale-j2sdk1.6 before that,
    which is of course already present on all nodes.

    After the error, all changes are rolled back, so the CM agents are not
    upgraded on any machine.

    I searched the mailing list archives and found very few reports about
    similar issues, but non really matched my experience.

    Detailed snipped from the upgrade wizard's detail window follows

    Any ideas?

    (Of course I can just upgrade the CM agent packages and restart the agents
    on all hosts manually as a workaround.)

    Cheers
    Martin

    ...


    Installing oracle-j2sdk1.6 package...
    BEGIN apt-cache show oracle-j2sdk1.6
    Package: oracle-j2sdk1.6
    Version: 1.6.0+update31
    Architecture: amd64
    Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.**
    alioth.debian.org <pkg-java-maintainers@lists.alioth.debian.org>>
    Installed-Size: 224994
    Depends: libasound2 (>= 1.0.16), libc6 (>= 2.2.5), libx11-6, libxext6,
    libxi6, libxt6, libxtst6
    Recommends: netbase, libgtk1.2, libstdc++5
    Replaces: oracle-j2sdk1.6debian
    Provides: j2re1.6, j2sdk1.6, java-browser-plugin, java-compiler,
    java-runtime, java-runtime-headless, java-sdk, java-virtual-machine,
    java2-compiler, java2-runtime, java2-runtime-headless, java2-sdk
    Priority: optional
    Section: non-free/devel
    Filename: pool/contrib/o/oracle-j2sdk1.**6/oracle-j2sdk1.6_1.6.0+**
    update31_amd64.deb
    Size: 96896162
    SHA256: e3af578020ca3d595fbf1da7f006dd**e783fa10ace7e147ea135e5d09a8ad**
    32b9
    SHA1: 4b4cd040b2b71f1b754180d89c8e69**f5940d27a5
    MD5sum: 183149f3ddc42fcc03e137bea41cf8**5e
    Description: Java(TM) JDK, Standard Edition, Oracle(TM)
    The Java(TM) 2 SDK is a development environment for building
    applications, applets, and components that can be deployed on the
    Java(TM) platform.
    .
    The Java(TM) 2 SDK software includes tools useful for developing and
    testing programs written in the Java programming language and running
    on the Java platform. These tools are designed to be used from the
    command line. Except for appletviewer, these tools do not provide a
    graphical user interface.
    .
    This package has been automatically created with java-package (0.50).

    END (0)
    BEGIN dpkg -l oracle-j2sdk1.6 | grep -E '^ii[[:space:]]*oracle-j2sdk1.**
    6[[:space:]]*'
    ii oracle-j2sdk1.6 1.6.0+update31 Java(TM) JDK, Standard Edition,
    Oracle(TM)
    END (0)
    BEGIN echo jdk cloudera-manager-agent cloudera-manager-daemons | grep
    oracle-j2sdk1.6
    END (1)
    remote package oracle-j2sdk1.6 is already installed
    Installing jdk package...
    BEGIN apt-cache show jdk
    E: No packages found
    END (100)
    remote package jdk is not available, giving up
    Reverting changes...
    rollback started
    Removing package repositories...
    repository file /etc/apt/sources.list.d/**cloudera-manager.list restored
  • Philip Langdale at Nov 13, 2012 at 10:14 pm
    Hi Martin,

    We've refreshed the debs (build 392 vs build 388), and this problem should
    be fixed.
    You can upgrade the server and the wizard should work as expected.

    --phil


    On 13 November 2012 10:15, Philip Langdale wrote:

    Hi Martin,

    I'm afraid you've found a bug. You might be able to work around it by
    uninstalling
    the oracle-j2sdk1.6 package first, but then you might as well just upgrade
    the
    agent manually if you're going to take that trouble.

    We'll try and push out an updated package asap.

    --phil



    On 13 November 2012 09:27, mg wrote:

    Hi,

    I am trying to upgrade a cluster running CDH4.1.2 from CM4.1.0 to CM4.1.1
    (on Ubuntu Precise 12.04)

    On the SCM server node, I upgraded the packages manually, then restarted
    the server.

    Then, in the host upgrade wizard, I get an error about failing to install
    the "jdk" package:

    BEGIN apt-cache show jdk
    E: No packages found
    END (100)
    remote package jdk is not available, giving up

    Strangely, the process has checked for the orcale-j2sdk1.6 before that,
    which is of course already present on all nodes.

    After the error, all changes are rolled back, so the CM agents are not
    upgraded on any machine.

    I searched the mailing list archives and found very few reports about
    similar issues, but non really matched my experience.

    Detailed snipped from the upgrade wizard's detail window follows

    Any ideas?

    (Of course I can just upgrade the CM agent packages and restart the
    agents on all hosts manually as a workaround.)

    Cheers
    Martin

    ...


    Installing oracle-j2sdk1.6 package...
    BEGIN apt-cache show oracle-j2sdk1.6
    Package: oracle-j2sdk1.6
    Version: 1.6.0+update31
    Architecture: amd64
    Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.**
    alioth.debian.org <pkg-java-maintainers@lists.alioth.debian.org>>
    Installed-Size: 224994
    Depends: libasound2 (>= 1.0.16), libc6 (>= 2.2.5), libx11-6, libxext6,
    libxi6, libxt6, libxtst6
    Recommends: netbase, libgtk1.2, libstdc++5
    Replaces: oracle-j2sdk1.6debian
    Provides: j2re1.6, j2sdk1.6, java-browser-plugin, java-compiler,
    java-runtime, java-runtime-headless, java-sdk, java-virtual-machine,
    java2-compiler, java2-runtime, java2-runtime-headless, java2-sdk
    Priority: optional
    Section: non-free/devel
    Filename: pool/contrib/o/oracle-j2sdk1.**6/oracle-j2sdk1.6_1.6.0+**
    update31_amd64.deb
    Size: 96896162
    SHA256: e3af578020ca3d595fbf1da7f006dd**e783fa10ace7e147ea135e5d09a8ad**
    32b9
    SHA1: 4b4cd040b2b71f1b754180d89c8e69**f5940d27a5
    MD5sum: 183149f3ddc42fcc03e137bea41cf8**5e
    Description: Java(TM) JDK, Standard Edition, Oracle(TM)
    The Java(TM) 2 SDK is a development environment for building
    applications, applets, and components that can be deployed on the
    Java(TM) platform.
    .
    The Java(TM) 2 SDK software includes tools useful for developing and
    testing programs written in the Java programming language and running
    on the Java platform. These tools are designed to be used from the
    command line. Except for appletviewer, these tools do not provide a
    graphical user interface.
    .
    This package has been automatically created with java-package (0.50).

    END (0)
    BEGIN dpkg -l oracle-j2sdk1.6 | grep -E '^ii[[:space:]]*oracle-j2sdk1.**
    6[[:space:]]*'
    ii oracle-j2sdk1.6 1.6.0+update31 Java(TM) JDK, Standard Edition,
    Oracle(TM)
    END (0)
    BEGIN echo jdk cloudera-manager-agent cloudera-manager-daemons | grep
    oracle-j2sdk1.6
    END (1)
    remote package oracle-j2sdk1.6 is already installed
    Installing jdk package...
    BEGIN apt-cache show jdk
    E: No packages found
    END (100)
    remote package jdk is not available, giving up
    Reverting changes...
    rollback started
    Removing package repositories...
    repository file /etc/apt/sources.list.d/**cloudera-manager.list restored
  • Mg at Nov 16, 2012 at 4:52 pm
    Hi Phil,

    I upgraded the server and re-ran the host upgrade wizard and this time
    it worked as expected, all hosts are on the 392 build now.

    Thanks for the fix,
    Martin

    Am 13.11.2012 23:14, schrieb Philip Langdale:
    Hi Martin,

    We've refreshed the debs (build 392 vs build 388), and this problem
    should be fixed.
    You can upgrade the server and the wizard should work as expected.

    --phil



    On 13 November 2012 10:15, Philip Langdale wrote:

    Hi Martin,

    I'm afraid you've found a bug. You might be able to work around it
    by uninstalling
    the oracle-j2sdk1.6 package first, but then you might as well just
    upgrade the
    agent manually if you're going to take that trouble.

    We'll try and push out an updated package asap.

    --phil




    On 13 November 2012 09:27, mg wrote:

    Hi,

    I am trying to upgrade a cluster running CDH4.1.2 from CM4.1.0
    to CM4.1.1 (on Ubuntu Precise 12.04)

    On the SCM server node, I upgraded the packages manually, then
    restarted the server.

    Then, in the host upgrade wizard, I get an error about failing
    to install the "jdk" package:

    BEGIN apt-cache show jdk
    E: No packages found
    END (100)
    remote package jdk is not available, giving up

    Strangely, the process has checked for the orcale-j2sdk1.6
    before that, which is of course already present on all nodes.

    After the error, all changes are rolled back, so the CM agents
    are not upgraded on any machine.

    I searched the mailing list archives and found very few reports
    about similar issues, but non really matched my experience.

    Detailed snipped from the upgrade wizard's detail window follows

    Any ideas?

    (Of course I can just upgrade the CM agent packages and restart
    the agents on all hosts manually as a workaround.)

    Cheers
    Martin

    ...


    Installing oracle-j2sdk1.6 package...
    BEGIN apt-cache show oracle-j2sdk1.6
    Package: oracle-j2sdk1.6
    Version: 1.6.0+update31
    Architecture: amd64
    Maintainer: Debian Java Maintainers
    <pkg-java-maintainers@lists.__alioth.debian.org
    Installed-Size: 224994
    Depends: libasound2 (>= 1.0.16), libc6 (>= 2.2.5), libx11-6,
    libxext6, libxi6, libxt6, libxtst6
    Recommends: netbase, libgtk1.2, libstdc++5
    Replaces: oracle-j2sdk1.6debian
    Provides: j2re1.6, j2sdk1.6, java-browser-plugin, java-compiler,
    java-runtime, java-runtime-headless, java-sdk,
    java-virtual-machine, java2-compiler, java2-runtime,
    java2-runtime-headless, java2-sdk
    Priority: optional
    Section: non-free/devel
    Filename:
    pool/contrib/o/oracle-j2sdk1.__6/oracle-j2sdk1.6_1.6.0+__update31_amd64.deb
    Size: 96896162
    SHA256:
    e3af578020ca3d595fbf1da7f006dd__e783fa10ace7e147ea135e5d09a8ad__32b9
    SHA1: 4b4cd040b2b71f1b754180d89c8e69__f5940d27a5
    MD5sum: 183149f3ddc42fcc03e137bea41cf8__5e
    Description: Java(TM) JDK, Standard Edition, Oracle(TM)
    The Java(TM) 2 SDK is a development environment for building
    applications, applets, and components that can be deployed on the
    Java(TM) platform.
    .
    The Java(TM) 2 SDK software includes tools useful for developing and
    testing programs written in the Java programming language and
    running
    on the Java platform. These tools are designed to be used from the
    command line. Except for appletviewer, these tools do not provide a
    graphical user interface.
    .
    This package has been automatically created with java-package
    (0.50).

    END (0)
    BEGIN dpkg -l oracle-j2sdk1.6 | grep -E
    '^ii[[:space:]]*oracle-j2sdk1.__6[[:space:]]*'
    ii oracle-j2sdk1.6 1.6.0+update31 Java(TM) JDK, Standard
    Edition, Oracle(TM)
    END (0)
    BEGIN echo jdk cloudera-manager-agent cloudera-manager-daemons |
    grep oracle-j2sdk1.6
    END (1)
    remote package oracle-j2sdk1.6 is already installed
    Installing jdk package...
    BEGIN apt-cache show jdk
    E: No packages found
    END (100)
    remote package jdk is not available, giving up
    Reverting changes...
    rollback started
    Removing package repositories...
    repository file /etc/apt/sources.list.d/__cloudera-manager.list
    restored

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedNov 13, '12 at 5:27p
activeNov 16, '12 at 4:52p
posts4
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Mg: 2 posts Philip Langdale: 2 posts

People

Translate

site design / logo © 2022 Grokbase