AnsweredAssumed Answered

do_configure.sh failed

Question asked by webers on Dec 5, 2017
Latest reply on Dec 21, 2017 by apatil

Hello,

I am a beginner in Mapr and try to set up a cluster with 2 nodes, but there are some problems when installing Mapr 5.0 with the service MapReduce and YARN via the installer.
Starting with the problem that a version of commons-collection is required during the installation, which was not provided by mapr-setup. sh.

 

Installation error:
command cp "{{ old_commons_jar }}" "{{ mapr_home }}/lib" Failed in playbook mapr_top.yml, stderr: cp: cannot stat ‘/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/common/lib/commons-collections-3.2.2.jar’: No such file or directory
Log file:
2017-12-05 10:54:23.494: Task: command cp "{{ old_commons_jar }}" "{{ mapr_home }}/lib" -> failed  =>  {"changed": true, "cmd": ["cp", "/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/common/lib/commons-collections-3.2.2.jar", "/opt/mapr/lib"], "delta": "0:00:00.003301", "end": "-12-05 10:54:23.494", "failed": true, "rc": 1, "start": "2017-12-05 10:54:23.494", "stderr_lines": ["cp: cannot stat ‘/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/common/lib/commons-collections-3.2.2.jar’: No such file or directory"]}
STDERR: cp: cannot stat ‘/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/common/lib/commons-collections-3.2.2.jar’: No such file or directory

 

After manually adding this file to all nodes, the installation goes on at least a bit further.

 

Next error:
do_configure.sh failed
Log file:
2017-12-05 11:03:25.868: file path="{{ mapr_home }}/roles/drill-qs" state=absent -> skipped:  => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
2017-12-05 11:03:26.669: Task: do_configure.sh MAPR_HOME={{ mapr_home }} MAPR_USER={{ cluster_admin_id }} MAPR_GROUP={{ cluster_admin_group }} CLUSTERNAME={{ cluster_name }}  CLDBNODES={{ mapr.groups.cldb|join(',') }} ZKNODES={{ mapr.groups.zk|join(',') }} HISTORYSERVER_HOST={{ HISTORYSERVER_HOST|default('') }} TIMELINESERVER_HOST={{ TIMELINESERVER_HOST|default('') }} ESNODES={{ ELASTICSEARCH_HOSTS|default('') }} ES_DB={{ elasticsearch_path|default('') }} MAPRDB={{ mapr_db }} METRICS_DATABASE_HOST={{ mapr.node.db.metrics_db_host }} METRICS_DATABASE_PORT={{ mapr.node.db.metrics_db_port }} METRICS_DATABASE_USER={{ mapr.node.db.metrics_db_user }} METRICS_DATABASE_PASSWORD={{ mapr.node.db.metrics_db_password }} METRICS_DATABASE_NAME={{ mapr.node.db.metrics_db_name }} OTNODES={{ OPENTSDB_HOSTS|default('') }} SECURITY={{ security }} YARN={{ True }} LICENSE_MODULES={{ license_modules|join(',') }} LICENSE_TYPE={{ license_type }} RESTART_ECO=0 REFRESH_ROLES=1 TIMEOUT_CONFIGURE={{timeout.configure}} TIMEOUT_MAPRCLI={{timeout.standard}} -> failed  =>  {"changed": false, "failed": true, "mapr_logs": "2017-12-05 11:03:26 UTC  INFO Running do_configure.sh \n2017-12-05 11:03:26 UTC  INFO CLUSTERNAME=my.testcluster.com  LICENSE=M5:DATABASE,HADOOP,STREAMS CLDBNODES=node01  ZKNODES=node01 ESNODES= OTNODES= \n2017-12-05 11:03:26 UTC  INFO Logging configure.sh results to /tmp/cfg_r_12_05_17__11_03.log \n2017-12-05 11:03:26 UTC  INFO killing unmanaged service hbase*: "}
do_configure.sh failed

 

My question:
This error occurs on both nodes, how can the errors be fixed?

 

Restarting the installation process causes another error:

configure_refresh.sh failed
Log file:
2017-12-05 13:31:06.515: IGNORED Task:  -> failed  =>  {"changed": true, "cmd": "cat /opt/mapr/conf/mapr-clusters.conf | head -n 1 | grep NODE02", "delta": "0:00:00.002101", "end": "2017-12-05 13:31:06.480395", "failed": true, "rc": 1, "start": "2017-12-05 13:31:06.478294", "stderr_lines": []}
node02: ...ignoring errors
2017-12-05 13:31:06.604: set_fact controlGroupChanged=True -> skipped:  => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
2017-12-05 13:31:06.647: set_fact noAutoStart=1 -> skipped:  => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}
2017-12-05 13:31:06.866: Task: configure_refresh.sh configure_refresh.sh MAPR_HOME={{ mapr_home }} IS_UPDATE={{ isUpdate }} TIMEOUT_CONFIGURE={{timeout.configure}} -> failed  =>  {"changed": false, "failed": true, "mapr_logs": "2017-12-05 13:31:06 UTC  INFO Running configure_refresh.sh \n2017-12-05 13:31:06 UTC  INFO Logging configure.sh results to /tmp/cfg_r_12_05_17__13_31.log "}
configure_refresh.sh failed

 

Thank you!

Attachments

Outcomes