The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Linux – Installation Forum

HDP Monitoring Using gsInstaller

  • #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

  • Author
    Replies
  • #11104
    Sasha J
    Moderator

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

    #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?

    #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?

    #11123
    Rajan Ananthan
    Participant

    I will give HMC a try.

    #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

    #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.

    #11275
    Rajan Ananthan
    Participant

    Should I assign a Static IP or dhcp?

    #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….

    #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?

    #11298
    Rajan Ananthan
    Participant

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

    #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.

    #11303
    Rajan Ananthan
    Participant

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

    #11304
    Sasha J
    Moderator

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

The forum ‘HDP on Linux – Installation’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.