AnsweredAssumed Answered

v5.1 Installer Errors - Hbase 1.1 & MariaDb

Question asked by gesgeorge on Apr 14, 2016
Latest reply on Apr 28, 2016 by gesgeorge

Hi,

I'm using the latest 5.1 installer to install incremental updates to a cluster that is already on v5.1. This was to install Drill 1.6. See Is Drill 1.6 available for installation through the MapR Installer? It shows 1.4 as latest version available.

 

Installer Info:

  • MapR Installer v1.2.201602260909
  • Service Definition v1.2.201604041351

OS: CentOS 7.1

 

I get the following errors towards the end of the installation:

First Error

Unable to execute command: bash /tmp/installer/services/templates/mapr-hbase-1.1/configure.sh. Returned: 127 bash: /tmp/installer/services/templates/mapr-hbase-1.1/configure.sh: No such file or directory

 

Note that hbase 1.1 was already installed when I first upgraded to MapR 5.1 from 5.0.

Details from the log:

 

 

2016-04-13 01:17:03.720: failed: [mapr_conf data='{{ mapr.node|to_json }}' template_dir=/tmp/installer/services/templates] [hqgtrhad01.dev.instinet.com] => {"failed": true}
Unable to execute command: bash /tmp/installer/services/templates/mapr-hbase-1.1/configure.sh. Returned: 127 bash: /tmp/installer/services/templates/mapr-hbase-1.1/configure.sh: No such file or directory

 

 

I checked

/tmp/installer/services/templates/mapr-hbase-1.1/

It only contains the file

hbase-site.template.xml

Not really sure how to resolve this issue.

 

Second Error

 

Error when trying to enable mariadb: rc=1 Failed to issue method call: No such file or directory

 

This error is on a different node from the first error.

Details from the log file

2016-04-13 01:15:23.508: yum name=mysql state=present -> ok: {
  "changed": false, 
  "msg": "", 
  "rc": 0, 
  "results": [
  "MariaDB-client-5.5.47-1.el7.centos.x86_64 providing mysql is already installed"
  ]
}
2016-04-13 01:15:24.907: yum name={{ item }} state=present -> ok: => (item=mariadb-server,MySQL-python)
2016-04-13 01:15:25.751: shell which systemctl >/dev/null 2>&1 && systemctl daemon-reload -> changed: {
  "changed": true, 
  "cmd": "which systemctl >/dev/null 2>&1 && systemctl daemon-reload", 
  "delta": "0:00:00.026988", 
  "end": "2016-04-13 01:15:25.714920", 
  "rc": 0, 
  "start": "2016-04-13 01:15:25.687932", 
  "stderr": "", 
  "stdout": "", 
  "warnings": []
}
2016-04-13 01:15:26.100: failed: [service name=mariadb state=restarted enabled=yes] [hqgtrhad04.dev.instinet.com] => {"failed": true}
Error when trying to enable mariadb: rc=1 Failed to issue method call: No such file or directory

 

I think this error is because the service is called mysql on my installation and not mariadb. Starting and stopping mysql works fine and it worked before attempting the upgrade.

 

See this discussion to understand what I had to do previously to get mysql working

Trying to resolve - ERROR: Failed to find shared library for backend mysql - CentOS 7.1

 

I probably have to uninstall all the mysql packages and install only mariadb for the installer to succeed. Could someone please confirm if this is what I should be doing to resolve this error?

Outcomes