Local OS is not compatible with cluster primary OS.

to create new topics or reply. | New User Registration

This topic contains 5 replies, has 4 voices, and was last updated by  Gongqin Shen 10 months, 3 weeks ago.

  • Creator
  • #45661

    Jeff Ferrell

    Hey guys on my centos 6.4 install for the 2.0 stack i was getting the below error on the registration step.

    Cluster primary OS type is redhat6 and local OS type is centos5
    Local OS is not compatible with cluster primary OS. Please perform manual bootstrap on this host.

    For some reason the check os script was reporting centos5 even tho i was on 6.4. I’m still not sure why it was doing this but im guessing its something within the script code that is messed up. To solve the problem i manually edited the script file and set my os to centos6 see what i did below.

    nano /usr/lib/python2.6/site-packages/ambari_server/os_type_check.sh

    Then right above the echo line below i set the os manually
    echo “Cluster primary OS type is $cluster_os and local OS type is $current_os”

    This may not be the best solution but once i did that install went perfect. Just wanted to share to see if anyone else ran across this issue.

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

You must be to reply to this topic. | Create Account

  • Author
  • #52959

    Gongqin Shen

    Thank you, Jeff! This tip really saved my day.


    Jeff Sposetti

    Thanks Jeff. Yes, looks like a bug. Filed the Ambari JIRA here:



    Jeff Ferrell

    Here is the contents of the release file “CentOS release 6.5 (Final)”. I’m guessing when i did a yum update it updated to 6.5 and now the script file sees the 5 and thinks its centos 5. Bug for sure. enjoy


    Jeff Sposetti

    Hi Jeff,

    Can you post the contents of this file from your machine (you say it’s CentOS 6.4 but looks like Ambari is thinking it’s CentOS 5 for some reason)?




    Mathieu DESPRIEE

    Thanks Jeff, you save my day …

Viewing 5 replies - 1 through 5 (of 5 total)
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.