AnsweredAssumed Answered

Quick install failed during Detecting Operating System stage

Question asked by abegeorg on Jun 17, 2015
Latest reply on Jun 17, 2015 by abegeorg
I am using Ubuntu 14.04, trying to install the MapR hadoop components using quick installer. However, I am getting the following error. Your support in resolving this issue is much appreciated.

Cheers,
-Abey


**>>> cluster configuration:**

        Current Information (Please verify if correct)
        ==============================================

        Accessibility settings:

            Cluster Name: "my.cluster.com"
            MapR User Name: "mapr"
            MapR Group Name: "mapr"
            MapR User UID: "2000"
            MapR User GID: "2000"
            MapR User Password (Default: mapr): "****"

        Functional settings:

            WireLevel Security: "n"
            MapReduce Services: "n"
            YARN: "y"
            MapR-DB: "y"

            HBase: "n"
            Disks to use: "/dev/sda5"
            Client Nodes: ""
            Control Nodes: "maple,coconut,gum"
            Data Nodes: "eucalyptus,palm"
            Repository (will download core software from here): "http://package.mapr.com/releases"
            Ecosystem Repository (will download packages like Pig, Hive etc from here): "http://package.mapr.com/releases/ecosystem-4.x"

            MapR Version to Install: "4.0.2"
            Java Version to Install: "OpenJDK7"
            Allow Control Nodes to function as Data Nodes (Not recommended for large clusters): "n"
            Local Repository: "n"

        Metrics settings:

            Metrics DB Host and Port: ""
            Metrics DB User Name: ""
            Metrics DB User Password: ""
            Metrics DB Schema: ""


**Failure:**
* 21:52:31 Detecting Operating System
failed: [coconut] => {"failed": true, "parsed": false}
failed: [gum] => {"failed": true, "parsed": false}
failed: [maple] => {"failed": true, "parsed": false}

FATAL: all hosts have already failed -- aborting
Host: coconut has 1 failures
Control Nodes have failures. Please fix the failures and re-run the installation. For more information refer to the installer log at /opt/mapr-installer/var/mapr-installer.log
lab@maple:~$


**/opt/mapr-installer/var/mapr-installer.log log snippet:**
2015-06-17 21:52:36,592 callbacks 91 [ERROR]: failed: [gum] => {"failed": true, "parsed": false}
2015-06-17 21:52:36,774 callbacks 42 [INFO]: Running task: [sysctl name=vm.swappiness value=0 state=present ignoreerrors=yes]
2015-06-17 21:52:36,774 callbacks 89 [INFO]: maple invalid output was: Traceback (most recent call last):^M
  File "/tmp/ansible-tmp-1434541954.45-227546028938828/sysctl", line 1552, in ^M
    main()^M
  File "/tmp/ansible-tmp-1434541954.45-227546028938828/sysctl", line 327, in main^M
    result = SysctlModule(module)    ^M
  File "/tmp/ansible-tmp-1434541954.45-227546028938828/sysctl", line 118, in __init__^M
    self.process()^M
  File "/tmp/ansible-tmp-1434541954.45-227546028938828/sysctl", line 164, in process^M
    self.write_sysctl()^M
  File "/tmp/ansible-tmp-1434541954.45-227546028938828/sysctl", line 294, in write_sysctl^M
    fd, tmp_path = tempfile.mkstemp('.conf', '.ansible_m_sysctl_', os.path.dirname(self.sysctl_file))^M
  File "/usr/lib/python2.7/tempfile.py", line 308, in mkstemp^M
    return _mkstemp_inner(dir, prefix, suffix, flags)^M
  File "/usr/lib/python2.7/tempfile.py", line 239, in _mkstemp_inner^M
    fd = _os.open(file, flags, 0600)^M
OSError: [Errno 13] Permission denied: '/etc/.ansible_m_sysctl_hyx_C0.conf'^M

2015-06-17 21:52:36,774 callbacks 91 [ERROR]: failed: [maple] => {"failed": true, "parsed": false}
2015-06-17 21:52:36,787 installrunner 199 [ERROR]: Host: coconut has 1 failures
2015-06-17 21:52:36,788 common 203 [ERROR]: Control Nodes have failures. Please fix the failures and re-run the installation. For more information refer to the installer log at /opt/mapr-installer/var/mapr-installer.log

Outcomes