GithubHelp home page GithubHelp logo

mapr-ansible's People

Contributors

devproof avatar harisekhon avatar hervenicol avatar hervenicol-amadeus avatar jgronowski avatar kieucuong avatar nladuguie avatar ottensa avatar xuelan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mapr-ansible's Issues

Remove files from "Fetch keys" after configuration is done

If you deploy a secured cluster (or add a new node to a secured cluster) some files (cldb.key, maprserverticket, ssl_keystore, ssl_truststore from /opt/mapr/conf) are copied from the first cldb node to the ansible host. From here those files are deployed to the other nodes in order to configure them properly. After you deployed the keys and configured the nodes those keys should be removed from the ansible host.

TASK [../roles/mapr-hive-cli-install : Create maprfs:///apps]

The playbook site-cluster failed on the following error:
fatal: [mapr03]: FAILED! => {"changed": true, "cmd": "hadoop fs -mkdir -p /apps", "delta": "0:00:04.294720", "end": "2018-04-01 01:46:55.671684", "msg": "non-zero return code", "rc": 1, "start": "2018-04-01 01:46:51.376964", "stderr": "mkdir: failure to login: Unable to obtain MapR credentials"
Please help me to fix it

Hue Url endpoints

Hue can only handle one endpoint for moste components.
e.g. httpfs or hive meta store.
when more then one component is installed, the hue setup breaks.

TASK [../roles/mapr-configure-security-fetch-keys : Copy keys to local]

from sites/mapr-core.yml

  • name: Fetch keys, when no CLDB change happened
    hosts: mapr-cldb[0]
    roles:
    • {role: ../roles/mapr-configure-security-fetch-keys,
      when: mapr_security != 'none' and (cldb_changes|int) == 0}

And we have in role: ../roles/mapr-configure-security-fetch-keys, this stuff ๐Ÿ‘

  • name: Copy keys to local
    fetch: src=/opt/mapr/conf/{{ item }} dest=/tmp/{{ item }} flat=yes
    with_items:
    • maprserverticket
    • cldb.key
    • ssl_keystore
    • ssl_truststore

Then generate an error

TASK [../roles/mapr-configure-security-fetch-keys : Copy keys to local] *****************************************************************************************************
failed: [192.168.2.60] (item=maprserverticket) => {"changed": false, "item": "maprserverticket", "msg": "file not found: /opt/mapr/conf/maprserverticket"}
failed: [192.168.2.60] (item=cldb.key) => {"changed": false, "item": "cldb.key", "msg": "file not found: /opt/mapr/conf/cldb.key"}
failed: [192.168.2.60] (item=ssl_keystore) => {"changed": false, "item": "ssl_keystore", "msg": "file not found: /opt/mapr/conf/ssl_keystore"}
failed: [192.168.2.60] (item=ssl_truststore) => {"changed": false, "item": "ssl_truststore", "msg": "file not found: /opt/mapr/conf/ssl_truststore"}

Cheers

Hue has wrong ports and should support https

  {% if hue_historyserver_string is defined %}
  history_server_api_url=http://{{ hue_historyserver_string }}:19888
  {% endif %}
  # URL of the Spark History Server
  {% if hue_sparkhistoryserver_string is defined %}
  spark_history_server_url=http://{{ hue_sparkhistoryserver_string }}:18088
  {% endif %}

Improve Issue + PR relation

Hi @devproof

I use this issue to make a request to improve the way issues are used to track PR, could you reference in PR the issue it solves so one can find how a feature was implemented.
example issue #41 the issue is closed but no commit is provided.

Thanks for taking care of my comment,

Regards

Wait for CLDB Timeout

TASK [../roles/mapr-configure-warden-cldb-restart : Wait for CLDB] **********************************************************************************************************
fatal: [192.168.2.60]: FAILED! => {"changed": false, "elapsed": 1800, "msg": "Timeout when waiting for search string CLDB State change \:\ RUNNING|CLDBShutdown\:\ license not found for CLDB HA|Becoming Slave Thread in /opt/mapr/logs/cldb.log"}

SUSE install zypper unsigned repository

Following error will take place on Suse (6 nodes example):
TASK [../roles/mapr-core-install : Install mapr-core] ***************************************************************************************************************************************
failed: [ip-172-.ec2.internal] (item=mapr-compat-suse) => {"changed": false, "cmd": ["/usr/bin/zypper", "--quiet", "--non-interactive", "--xmlout", "install", "--type", "package", "--auto-agree-with-licenses", "--no-recommends", "--", "+mapr-compat-suse"], "item": "mapr-compat-suse", "msg": "No provider of '+mapr-compat-suse' found.", "rc": 104, "stderr": "", "stderr_lines": [], "stdout": "\n\n<prompt id="11">\nFile 'repomd.xml' from repository 'maprecosystem' is unsigned, continue?\n<option value="yes" desc=""/>\n<option default="1" value="no" desc=""/>\n\n<message type="error">Repository 'maprecosystem' is invalid.\n[maprecosystem|http://package.mapr.com/releases/MEP/MEP-4.1.0//suse/] Valid metadata not found at specified URL\nPlease check if the URIs defined for this repository are pointing to a valid repository.\n\n<message type="warning">Skipping repository 'maprecosystem' because of the above error.\n<prompt id="11">\nFile 'repomd.xml' from repository 'maprtech' is unsigned, continue?\n<option value="yes" desc=""/>\n<option default="1" value="no" desc=""/>\n\n<message type="error">Repository 'maprtech' is invalid.\n[maprtech|http://package.mapr.com/releases/v6.0.0/suse/] Valid metadata not found at specified URL\nPlease check if the URIs defined for this repository are pointing to a valid repository.\n\n<message type="warning">Skipping repository 'maprtech' because of the above error.\n<message type="error">Some of the repositories have not been refreshed because of an error.\n<message type="error">No provider of '+mapr-compat-suse' found.\n\n", "stdout_lines": ["", "", "<prompt id="11">", "File 'repomd.xml' from repository 'maprecosystem' is unsigned, continue?", "<option value="yes" desc=""/>", "<option default="1" value="no" desc=""/>", "", "<message type="error">Repository 'maprecosystem' is invalid.", "[maprecosystem|http://package.mapr.com/releases/MEP/MEP-4.1.0//suse/] Valid metadata not found at specified URL", "Please check if the URIs defined for this repository are pointing to a valid repository.", "", "<message type="warning">Skipping repository 'maprecosystem' because of the above error.", "<prompt id="11">", "File 'repomd.xml' from repository 'maprtech' is unsigned, continue?", "<option value="yes" desc=""/>", "<option default="1" value="no" desc=""/>", "", "<message type="error">Repository 'maprtech' is invalid.", "[maprtech|http://package.mapr.com/releases/v6.0.0/suse/] Valid metadata not found at specified URL", "Please check if the URIs defined for this repository are pointing to a valid repository.", "", "<message type="warning">Skipping repository 'maprtech' because of the above error.", "<message type="error">Some of the repositories have not been refreshed because of an error.", "<message type="error">No provider of '+mapr-compat-suse' found.", ""]}

root cause: zypper asks user in case of repository unsigned

skipping: no hosts matched

When
PLAY [Uninstall MCS]
PLAY [Uninstall YARN Resource Manager]
PLAY [Uninstall History Server]
PLAY [Uninstall MapR-Fileserver]...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.