Member since
09-18-2015
3274
Posts
1159
Kudos Received
426
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2121 | 11-01-2016 05:43 PM | |
6426 | 11-01-2016 05:36 PM | |
4109 | 07-01-2016 03:20 PM | |
7045 | 05-25-2016 11:36 AM | |
3422 | 05-24-2016 05:27 PM |
07-07-2016
01:44 PM
@Neha Sinha Yes 1467899208 13:46:48 metron green 1 1 0 0 0 0 0 0 - 100.0%
... View more
07-07-2016
11:58 AM
1 Kudo
ansible 2.0.0.2 TASK [elasticsearch : Configure Elasticsearch] ********************************* changed: [node1] => (item={u'regexp': u'^# *cluster\\.name:', u'line': u'cluster.name: metron'}) changed: [node1] => (item={u'regexp': u'^# *network\\.host:', u'line': u'network.host: _eth1:ipv4_'}) changed: [node1] => (item={u'regexp': u'^# *discovery\\.zen\\.ping\\.unicast\\.hosts:', u'line': u'discovery.zen.ping.unicast.hosts: [ node1 ]'}) changed: [node1] => (item={u'regexp': u'^# *path\\.data', u'line': u'path.data: /data1/elasticsearch,/data2/elasticsearch'}) TASK [elasticsearch : Create Logrotate Script for Elasticsearch] *************** ok: [node1] TASK [metron_elasticsearch_templates : include] ******************************** included: /private/var/root/incubator-metron/metron-deployment/roles/metron_elasticsearch_templates/tasks/load_templates.yml for node1 TASK [metron_elasticsearch_templates : Start Elasticsearch] ******************** ok: [node1] TASK [metron_elasticsearch_templates : Wait for Elasticsearch Host to Start] *** ok: [node1] TASK [metron_elasticsearch_templates : Wait for Index to Become Available] ***** fatal: [node1]: FAILED! => {"failed": true, "msg": "ERROR! The conditional check 'result.content.find(\"green\") != -1 or result.content.find(\"yellow\") != -1' failed. The error was: ERROR! error while evaluating conditional (result.content.find(\"green\") != -1 or result.content.find(\"yellow\") != -1): ERROR! 'dict object' has no attribute 'content'"} PLAY RECAP ********************************************************************* node1 : ok=66changed=9 unreachable=0 failed=1 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again. xav-us-lap1732:full-dev-platform root#
... View more
Labels:
- Labels:
-
Apache Metron
07-07-2016
11:01 AM
@Neha Sinha I executed this pip install --upgrade setuptools --user python to fix the above error TASK [ambari_config : check if ambari-server is up on node1:8080] ************** fatal: [node1]: FAILED! => {"changed": false, "elapsed": 300, "failed": true, "msg": "Timeout when waiting for node1:8080"} PLAY RECAP ********************************************************************* node1 : ok=11changed=5 unreachable=0 failed=1 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.
... View more
07-07-2016
10:52 AM
@Neha Sinha I did follow that..getting this ==> node1: Updating /etc/hosts file on host machine (password may be required)... ==> node1: Running provisioner: ansible... node1: Running ansible-playbook... Unexpected Exception: (setuptools 1.1.6 (/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python), Requirement.parse('setuptools>=11.3')) the full traceback was: Traceback (most recent call last): File "/usr/local/bin/ansible-playbook", line 72, in <module> mycli = getattr(__import__("ansible.cli.%s" % sub, fromlist=[myclass]), myclass) File "/Library/Python/2.7/site-packages/ansible/cli/playbook.py", line 30, in <module> from ansible.executor.playbook_executor import PlaybookExecutor File "/Library/Python/2.7/site-packages/ansible/executor/playbook_executor.py", line 30, in <module> from ansible.executor.task_queue_manager import TaskQueueManager File "/Library/Python/2.7/site-packages/ansible/executor/task_queue_manager.py", line 29, in <module> from ansible.executor.play_iterator import PlayIterator File "/Library/Python/2.7/site-packages/ansible/executor/play_iterator.py", line 29, in <module> from ansible.playbook.block import Block File "/Library/Python/2.7/site-pa
... View more
07-06-2016
08:27 PM
1 Kudo
TASK [ambari_config : Install python-requests] ********************************* ok: [node1] TASK [ambari_config : check if ambari-server is up on node1:8080] ************** ok: [node1] TASK [ambari_config : Deploy cluster with Ambari; http://node1:8080] *********** fatal: [node1]: FAILED! => {"changed": false, "failed": true, "msg": "value of wait_for_complete must be one of: yes,on,1,true,1,True,no,off,0,false,0,False, got: True"} NO MORE HOSTS LEFT ************************************************************* to retry, use: --limit @../../playbooks/metron_full_install.retry PLAY RECAP ********************************************************************* node1 : ok=36changed=5 unreachable=0 failed=1 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again. I am following https://github.com/apache/incubator-metron/tree/master/metron-deployment/vagrant/full-dev-platform and hitting the above while provisioning.
... View more
Labels:
- Labels:
-
Apache Metron
07-05-2016
05:04 PM
1 Kudo
@pradeep arumalla See this solution mentioned in this link. You may have to play around with the different number to find the optimal setting.
... View more
07-05-2016
03:00 PM
Chronos is a replacement for cron.
A fault tolerant job scheduler for Mesos which handles dependencies and ISO8601 based schedules
Marathon is a framework for Mesos that is designed to launch long-running applications, and, in Mesosphere, serves as a replacement for a traditional system
In Mesosphere, Chronos compliments Marathon as it provides another way to run applications, according to a schedule or other conditions, such as the completion of another job. It is also capable of scheduling jobs on multiple Mesos slave nodes, and provides statistics about job failures and successes. Source
Install https://mesos.github.io/chronos/docs/ and gist
Demo
Part 1 - https://www.linkedin.com/pulse/data-center-operating-system-dcos-part-1-neeraj-sabharwal Part 2 - https://www.linkedin.com/pulse/apache-marathon-part-2-neeraj-sabharwal
... View more
07-05-2016
11:30 AM
1 Kudo
You need Mesos to run this - Post 1
What is Apache Marathon?
Marathon is a production-grade container orchestration platform for Mesosphere'sDatacenter Operating System (DCOS) and Apache Mesos.
I am launching multiple applications using Marathon and Mesos is providing the framework to launch those applications.
Demo
More reading https://mesosphere.github.io/marathon/ Gist & Application example
... View more