FAQ
Hi,

I am trying to install cloudera manager using the cloudera manager
installer in a cloud setting. I am using chef recipes to setup the
instances in the cloud.
The commands I am using in the chef recipes are
wget
http://archive.cloudera.com/cm4/installer/latest/cloudera-manager-installer.bin
sudo su
chmod +x cloudera-manager-installer.bin
./cloudera-manager-installer.bin

Cloudera manager installer has a Terminal-UI based interactive dialogues to
complete the installation, so when I run the chef recipes for the
installing cloudera manager on an instance it fails with the following
error.

PANIC
Failed to start GUI. Is your download incomplete or corrupt?

Once the instance is up I can ssh into the instance and run the cloudera
manager installer manually. This shows up the TUI and I have to go through
the interactive dialogues to complete installation.

Is there any way I can install cloudera manager without the interactive TUI
so that I do the installation without human intervention ?

Search Discussions

  • Philip Zeyliger at Apr 19, 2013 at 3:34 pm
    Hi Abhishek,

    You should follow the "Path B" instructions in
    http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/4.5.1/Cloudera-Manager-Enterprise-Edition-Installation-Guide/cmeeig_topic_6_6.html?scroll=cmeeig_topic_6_6.
    Basically, the installer does "place cloudera-manager.repo in
    /etc/yum.repos.d/; install java; yum install cloudera-manager-daemons
    cloudera-manager-server-db cloudera-manager-server; service
    cloudera-scm-server-db start; service cloudera-scm-server start". If
    you're doing this programatically, you should leverage your favorite
    scripting mechanism to follow roughly those steps instead of the
    interactive debugger. We've noticed folks on github who've prepared
    scripts like this for puppet. You might give
    https://github.com/razorsedge/puppet-cloudera a shot.

    -- Philip

    On Thu, Apr 18, 2013 at 7:42 PM, abhishek desai wrote:

    Hi,

    I am trying to install cloudera manager using the cloudera manager
    installer in a cloud setting. I am using chef recipes to setup the
    instances in the cloud.
    The commands I am using in the chef recipes are
    wget
    http://archive.cloudera.com/cm4/installer/latest/cloudera-manager-installer.bin
    sudo su
    chmod +x cloudera-manager-installer.bin
    ./cloudera-manager-installer.bin

    Cloudera manager installer has a Terminal-UI based interactive dialogues
    to complete the installation, so when I run the chef recipes for the
    installing cloudera manager on an instance it fails with the following
    error.

    PANIC
    Failed to start GUI. Is your download incomplete or corrupt?

    Once the instance is up I can ssh into the instance and run the cloudera
    manager installer manually. This shows up the TUI and I have to go through
    the interactive dialogues to complete installation.

    Is there any way I can install cloudera manager without the interactive
    TUI so that I do the installation without human intervention ?

  • Philip Langdale at Apr 19, 2013 at 4:48 pm
    You can run the installer non-interactively by passing a set of command
    line arguments to it. However, it still needs to be able to draw its UI,
    which may not be possible, depending on what kind of terminal environment
    it is presented by chef.

    Pass the four following command line options:

    --i-agree-to-all-licenses
    --noprompt
    --noreadme
    --nooptions

    --phil

    On 19 April 2013 08:33, Philip Zeyliger wrote:

    Hi Abhishek,

    You should follow the "Path B" instructions in
    http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/4.5.1/Cloudera-Manager-Enterprise-Edition-Installation-Guide/cmeeig_topic_6_6.html?scroll=cmeeig_topic_6_6.
    Basically, the installer does "place cloudera-manager.repo in
    /etc/yum.repos.d/; install java; yum install cloudera-manager-daemons
    cloudera-manager-server-db cloudera-manager-server; service
    cloudera-scm-server-db start; service cloudera-scm-server start". If
    you're doing this programatically, you should leverage your favorite
    scripting mechanism to follow roughly those steps instead of the
    interactive debugger. We've noticed folks on github who've prepared
    scripts like this for puppet. You might give
    https://github.com/razorsedge/puppet-cloudera a shot.

    -- Philip

    On Thu, Apr 18, 2013 at 7:42 PM, abhishek desai wrote:

    Hi,

    I am trying to install cloudera manager using the cloudera manager
    installer in a cloud setting. I am using chef recipes to setup the
    instances in the cloud.
    The commands I am using in the chef recipes are
    wget
    http://archive.cloudera.com/cm4/installer/latest/cloudera-manager-installer.bin
    sudo su
    chmod +x cloudera-manager-installer.bin
    ./cloudera-manager-installer.bin

    Cloudera manager installer has a Terminal-UI based interactive dialogues
    to complete the installation, so when I run the chef recipes for the
    installing cloudera manager on an instance it fails with the following
    error.

    PANIC
    Failed to start GUI. Is your download incomplete or corrupt?

    Once the instance is up I can ssh into the instance and run the cloudera
    manager installer manually. This shows up the TUI and I have to go through
    the interactive dialogues to complete installation.

    Is there any way I can install cloudera manager without the interactive
    TUI so that I do the installation without human intervention ?

  • Abhishek desai at Apr 23, 2013 at 8:02 am
    Thanks all,

    I checked the logs under /var/logs for cloudera manager installation wizard
    and followed the same procedure for installing using chef. The posgresql
    8.4 installation with cloudera manager db service was throwing up a popup
    which I manged to get past by installing postgresql before installing
    cloudera manager db.




    On Fri, Apr 19, 2013 at 10:18 PM, Philip Langdale wrote:

    You can run the installer non-interactively by passing a set of command
    line arguments to it. However, it still needs to be able to draw its UI,
    which may not be possible, depending on what kind of terminal environment
    it is presented by chef.

    Pass the four following command line options:

    --i-agree-to-all-licenses
    --noprompt
    --noreadme
    --nooptions

    --phil

    On 19 April 2013 08:33, Philip Zeyliger wrote:

    Hi Abhishek,

    You should follow the "Path B" instructions in
    http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/4.5.1/Cloudera-Manager-Enterprise-Edition-Installation-Guide/cmeeig_topic_6_6.html?scroll=cmeeig_topic_6_6.
    Basically, the installer does "place cloudera-manager.repo in
    /etc/yum.repos.d/; install java; yum install cloudera-manager-daemons
    cloudera-manager-server-db cloudera-manager-server; service
    cloudera-scm-server-db start; service cloudera-scm-server start". If
    you're doing this programatically, you should leverage your favorite
    scripting mechanism to follow roughly those steps instead of the
    interactive debugger. We've noticed folks on github who've prepared
    scripts like this for puppet. You might give
    https://github.com/razorsedge/puppet-cloudera a shot.

    -- Philip

    On Thu, Apr 18, 2013 at 7:42 PM, abhishek desai wrote:

    Hi,

    I am trying to install cloudera manager using the cloudera manager
    installer in a cloud setting. I am using chef recipes to setup the
    instances in the cloud.
    The commands I am using in the chef recipes are
    wget
    http://archive.cloudera.com/cm4/installer/latest/cloudera-manager-installer.bin
    sudo su
    chmod +x cloudera-manager-installer.bin
    ./cloudera-manager-installer.bin

    Cloudera manager installer has a Terminal-UI based interactive dialogues
    to complete the installation, so when I run the chef recipes for the
    installing cloudera manager on an instance it fails with the following
    error.

    PANIC
    Failed to start GUI. Is your download incomplete or corrupt?

    Once the instance is up I can ssh into the instance and run the cloudera
    manager installer manually. This shows up the TUI and I have to go through
    the interactive dialogues to complete installation.

    Is there any way I can install cloudera manager without the interactive
    TUI so that I do the installation without human intervention ?

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedApr 19, '13 at 2:42a
activeApr 23, '13 at 8:02a
posts4
users3
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase