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

Warning messages during Confirm Host step using Cluster Install Wizard

  • #46204
    Vick R

    After adding and registering host to the cluster using Cluster Install Wizard, I got couple of warning messages

    1)Firewall is running on the following hosts. Please configure the firewall to allow communications on the ports documented in the Configuring Ports section of the Ambari documentation
    Issues- iptables Running Running on1host
    So I disabled the iptables using service iptables stop command and verified it.

    2) Umask was set to 23.
    So I set umask to 0022.

    After manually resolving the issues, click Rerun Checks.
    To manually resolve issues on each host run the HostCleanup script (Python 2.6 or greater is required):

    After I manually made these changes and I tried to execute script as per the direction in the message, I got an error message-

    [root@hadoop1 ambari_agent]# python /usr/lib/python2.6/site-packages/ambari_agent/
    File “/usr/lib/python2.6/site-packages/ambari_agent/”, line 127
    with open(config_file_path, ‘r’):
    SyntaxError: invalid syntax

    Please advice.

  • Author
  • #46207
    Jeff Sposetti

    On that host, what are the contents of this directory?

    ls -l /var/lib/ambari-agent/data/*

    Vick R

    The output is –
    [root@hadoop1 ~]# ls -l /var/lib/ambari-agent/data/*
    -rw-r—– 1 root root 243 Dec 28 10:12 /var/lib/ambari-agent/data/hostcheck.result
    -rwxr-xr-x 1 root root 9 Oct 21 18:10 /var/lib/ambari-agent/data/version

    And the contents of hostcheck.result-

    proc_list =

    usr_homedir_list =
    usr_list =

    repo_list =

    dir_list =

    symlink_list =
    target_list =

    pkg_list =

    created = 2013-12-28 10:13:44.674892

    Jeff Sposetti

    Can you check what version of python you are running?

    [root@c6402 data]# python — –version
    Python 2.6.6

    Vick R

    Thanks for this tip Jeff.
    [root@hadoop1 ~]# python -V
    Python 2.4.3. While reading the documentation more, it needs version 2.6.x for script to run. So now I am on to my task of installing verison 2.6.6 for OEL 5.5 and will provide another update later.

    Vick R

    Vick R

    it worked well for me after installing Python 3.3. Since my machine was running on RHEL 5.5, I had many issues which I reported here so as per advice from one of my collegue, I cleanedup my machine and installed RHEL 6.1 and the whole installation completed successfully in less than an hour,

    Thanks for your help

The topic ‘Warning messages during Confirm Host step using Cluster Install Wizard’ is closed to new 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.