Home Forums HDP on Linux – Installation HDP Monitoring Using gsInstaller

This topic contains 13 replies, has 2 voices, and was last updated by  Sasha J 2 years, 1 month ago.

  • Creator
    Topic
  • #11101

    Rajan Ananthan
    Participant

    I am using the gsInstaller to deploy a single node cluster on a Cent OS 6.3 Virtual Machine using VMWare Player.

    On Step 4 of the tutorial, I receive the following error/failures when running the monInstaller.sh script as per the log file:

    ==============================================================================
    Starting nagios
    ==============================================================================
    on localhost
    on localhost
    Stopping nagios: [FAILED]
    Starting nagios: [ OK ]
    on localhost
    Stopping httpd: [ OK ]

    Starting httpd: [Sun Oct 14 00:17:51 2012] [warn] The Alias directive in /etc/httpd/conf.d/hdp_mon_nagios_addons.conf at line 1 will probably never match because it overlaps an earlier Alias.

    [ OK ]

    ==============================================================================
    Starting ganglia
    ==============================================================================
    on localhost
    ==================================
    Shutting down hdp-gmond…
    ==================================
    =============================
    Starting hdp-gmond…
    =============================
    Failed to start /usr/sbin/gmond for cluster HDPHBaseMaster
    on localhost
    ==================================
    Shutting down hdp-gmetad…
    ==================================
    =============================
    Starting hdp-gmetad…
    =============================
    Started /usr/bin/rrdcached with PID 1482
    Failed to start /usr/sbin/gmetad
    on localhost
    Stopping httpd: [ OK ]
    Starting httpd: [Sun Oct 14 00:17:52 2012] [warn] The Alias directive in /etc/httpd/conf.d/hdp_mon_nagios_addons.conf at line 1 will probably never match because it overlaps an earlier Alias.
    [ OK ]

    =======================================

    Checking status of hdp-gmond…

    =======================================

    Failed to find running /usr/sbin/gmond for cluster HDPHBaseMaster

    localhost hdp-gmond FAIL
    on localhost
    =======================================

    Checking status of hdp-gmond…

    =======================================

    Failed to find running /usr/sbin/gmond for cluster HDPHBaseMaster

    localhost hdp-gmond FAIL
    on localhost
    =======================================

    Checking status of hdp-gmetad…

    =======================================

    /usr/bin/rrdcached running with PID 1482

    Failed to find running /usr/sbin/gmetad

    localhost hdp-gmetad FAIL
    on localhost
    httpd (pid 1619) is running…

    localhost httpd OK

    END Ganglia smoke test

    Running Dashboard Smoke tests

    Error: Invalid response when trying to query dashboard using /usr/bin/wget -q -t 1 -T 2 -O /tmp/monrpmsinstall

Viewing 13 replies - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #11304

    Sasha J
    Moderator

    Wait a minute….
    where you start HMC service?
    that machine IS the HMC node…

    Collapse
    #11303

    Rajan Ananthan
    Participant

    Is the HMC node the same computer as the desktop? Do I need to add another VM?

    Collapse
    #11301

    Sasha J
    Moderator

    Most likely this is communication between nodes problem.
    Or problem with communicating between HMC node and your desktop where you run browser from.

    Collapse
    #11298

    Rajan Ananthan
    Participant

    The step being referred to is “Configuring And Deploying The Cluster > Step 2: Add Nodes” in the previous post.

    Collapse
    #11297

    Rajan Ananthan
    Participant

    I was able to get HMC started and running. When I get to http://{hostname}/hmc/html/initializeCluster.php the server gets stuck at “Loading.”

    This step specifically:

    http://docs.hortonworks.com/CURRENT/index.htm#Deploying_Hortonworks_Data_Platform/Using_HMC/Getting_Ready_To_Install/Getting_Ready_to_Install.htm

    Is the single node that I am installing hadoop on the same VM as HMC or do I need a separate VM?

    Collapse
    #11276

    Sasha J
    Moderator

    You can use DHCP, but in this case you will have to update your /etc/hosts file every time when you restart your VM.
    Static is simpler in this case, but it is purely your preferences and your choice….

    Collapse
    #11275

    Rajan Ananthan
    Participant

    Should I assign a Static IP or dhcp?

    Collapse
    #11140

    Sasha J
    Moderator

    You should clean your repositories first.
    For some reasons, you did setup local repository (http://localhost).
    So, remove package hdp-release-1.1.1.16-1.el6.noarch and remove file /etc/yum.repos.d/hdp.repo (if it still exists).
    Then rerun rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.1.1.16/repos/centos5/hdp-release-1.1.1.16-1.el5.noarch.rpm
    and follow the steps.
    You also want to give you VM some name along with some IP address.

    Collapse
    #11133

    Rajan Ananthan
    Participant

    Hi,

    I issued the following command to download the HMC .rpm:
    rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.1.1.16/repos/centos5/hdp-release-1.1.1.16-1.el5.noarch.rpm

    And received the following message:
    package hdp-release-1.1.1.16-1.el6.noarch is already installed

    I am receiving the following error when issuing # yum install hmc

    Downloading Packages:
    http://localhost/rpms/HDP-1.1.1.16/hmc/hmc-1.0.2.16-1.el6.noarch.rpm: [Errno 14] PYCURL ERROR 7 – “couldn’t connect to host”

    Thank you for your help!
    Rajan

    Collapse
    #11123

    Rajan Ananthan
    Participant

    I will give HMC a try.

    Collapse
    #11114

    Sasha J
    Moderator

    gsInstaller shows the name of log file on the screen when it starts.
    and those /tmp/gsInstaller-[PID].out is the right ones.

    Why not to try HMC instead of gsInstaller?

    Collapse
    #11109

    Rajan Ananthan
    Participant

    As per the following link:

    http://docs.hortonworks.com/CURRENT/index.htm#Deploying_Hortonworks_Data_Platform/Using_gsInstaller/Troubleshooting/Troubleshooting_gsInstaller_Deploy.htm

    I went to the /tmp directory and found only the “gsInstaller-[PID].out” files. Are the log files located somewhere else?

    Collapse
    #11104

    Sasha J
    Moderator

    Screen output usually is not the same as log file.
    Could you provide log file instead?

    Collapse
Viewing 13 replies - 1 through 13 (of 13 total)