Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ubuntu 16.04 Metron install

Ubuntu 16.04 Metron install

New Contributor

Hi All,

I am trying to install Apache-Metron in Ubuntu 16.04. It is failing at the talking to Hadoop from the logs- see below:-

ASK [ambari_config : Deploy cluster with Ambari; http://node1:8080] *********** changed: [node1] TASK [ambari_config : include] ************************************************* included: /home/cyberkryption/incubator-metron-Metron_0.1BETA_rc7/deployment/roles/ambari_config/tasks/start_services.yml for node1 TASK [ambari_config : Start All Hadoop Services node1] ************************* failed: [node1] (item=HDFS) => {"connection": "close", "content": "", "content_type": "text/plain;charset=ISO-8859-1", "failed": true, "item": "HDFS", "msg": "Status code was not [200, 202]: HTTP Error 500: Server Error", "redirected": false, "server": "Jetty(8.1.17.v20150415)", "set_cookie": "AMBARISESSIONID=rjb1hrmt7rx8edgwmlp4a23p;Path=/;HttpOnly", "status": 500, "url": "http://node1:8080/api/v1/clusters/metron_cluster/services/HDFS", "user": "admin"} failed: [node1] (item=YARN) => {"connection": "close", "content": "", "content_type": "text/plain;charset=ISO-8859-1", "failed": true, "item": "YARN", "msg": "Status code was not [200, 202]: HTTP Error 500: Server Error", "redirected": false, "server": "Jetty(8.1.17.v20150415)", "set_cookie": "AMBARISESSIONID=2e1h65h3h9tb17hrtg8os83om;Path=/;HttpOnly", "status": 500, "url": "http://node1:8080/api/v1/clusters/metron_cluster/services/YARN", "user": "admin"} failed: [node1] (item=MAPREDUCE2) => {"connection": "close", "content": "", "content_type": "text/plain;charset=ISO-8859-1", "failed": true, "item": "MAPREDUCE2", "msg": "Status code was not [200, 202]: HTTP Error 500: Server Error", "redirected": false, "server": "Jetty(8.1.17.v20150415)", "set_cookie": "AMBARISESSIONID=xwyjdk9m0mgfp6lmbmulyk49;Path=/;HttpOnly", "status": 500, "url": "http://node1:8080/api/v1/clusters/metron_cluster/services/MAPREDUCE2", "user": "admin"} failed: [node1] (item=ZOOKEEPER) => {"connection": "close", "content": "", "content_type": "text/plain;charset=ISO-8859-1", "failed": true, "item": "ZOOKEEPER", "msg": "Status code was not [200, 202]: HTTP Error 500: Server Error", "redirected": false, "server": "Jetty(8.1.17.v20150415)", "set_cookie": "AMBARISESSIONID=95v7zdr0adqulvx2do6840k0;Path=/;HttpOnly", "status": 500, "url": "http://node1:8080/api/v1/clusters/metron_cluster/services/ZOOKEEPER", "user": "admin"} failed: [node1] (item=HBASE) => {"connection": "close", "content": "", "content_type": "text/plain;charset=ISO-8859-1", "failed": true, "item": "HBASE", "msg": "Status code was not [200, 202]: HTTP Error 500: Server Error", "redirected": false, "server": "Jetty(8.1.17.v20150415)", "set_cookie": "AMBARISESSIONID=nyolo8nfzemd90c6zk9kwj68;Path=/;HttpOnly", "status": 500, "url": "http://node1:8080/api/v1/clusters/metron_cluster/services/HBASE", "user": "admin"} failed: [node1] (item=STORM) => {"connection": "close", "content": "", "content_type": "text/plain;charset=ISO-8859-1", "failed": true, "item": "STORM", "msg": "Status code was not [200, 202]: HTTP Error 500: Server Error", "redirected": false, "server": "Jetty(8.1.17.v20150415)", "set_cookie": "AMBARISESSIONID=1gk889jwmoum54fkw26a871j1;Path=/;HttpOnly", "status": 500, "url": "http://node1:8080/api/v1/clusters/metron_cluster/services/STORM", "user": "admin"} failed: [node1] (item=KAFKA) => {"connection": "close", "content": "", "content_type": "text/plain;charset=ISO-8859-1", "failed": true, "item": "KAFKA", "msg": "Status code was not [200, 202]: HTTP Error 500: Server Error", "redirected": false, "server": "Jetty(8.1.17.v20150415)", "set_cookie": "AMBARISESSIONID=1b1ogddqhdx4kr4410jc237z4;Path=/;HttpOnly", "status": 500, "url": "http://node1:8080/api/v1/clusters/metron_cluster/services/KAFKA", "user": "admin"} to retry, use: --limit @../../playbooks/metron_full_install.retry PLAY RECAP ********************************************************************* node1 : ok=38 changed=28 unreachable=0 failed=1

Any Help Appreciated.

Paul

3 REPLIES 3

Re: Ubuntu 16.04 Metron install

New Contributor

@Paul Dutot

Hi Paul,

Could you please put the url :- http://node1:8080/api/v1/clusters/metron_cluster/services/STORM in the browser and check if it's giving you any HTTP error code or it goes through fine?

If you don't see any error code in browser then this resonates with the issue I came across in the past but the deployment script was changed to accomodate the fix.

So I would suggest you to pull the latest code and try building and installing metron again.

Incase you want to run with the same codebase as you have now then kindly edit the following start_services.yml file(incubator-metron/deployment/roles/ambari_config/tasks/start_services.yml) and replace the following line :-

status_code:200,202

with

status_code:200,202,500

Regards,

Neha

Re: Ubuntu 16.04 Metron install

New Contributor

Hey could you please help me out a bit as well.

https://community.hortonworks.com/questions/77000/fatal-node1-failed-changed-false-failed-true-msg-v...

could you please have a look at it? Thanks for you time.

Re: Ubuntu 16.04 Metron install

New Contributor

I am trying to install metron on ubutnu 16.04 server and receiving following error. any help would be appreciated\. THanks

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: y,yes,on,1,true,1,True,n,no,off,0,false,0,False, got: True"} to retry, use: --limit @/home/rendev/Downloads/incubator-metron-Metron_0.2.1BETA_rc2/metron-deployment/playbooks/metron_full_install.retry PLAY RECAP ********************************************************************* node1 : ok=31 changed=23 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 trying to install metron on ubutnu 16.04 server and receiving following error. any help would be appreciated:

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: y,yes,on,1,true,1,True,n,no,off,0,false,0,False, got: True"} to retry, use: --limit @/home/rendev/Downloads/incubator-metron-Metron_0.2.1BETA_rc2/metron-deployment/playbooks/metron_full_install.retry PLAY RECAP ********************************************************************* node1 : ok=31 changed=23 unreachable=0 failed=1 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.

Don't have an account?
Coming from Hortonworks? Activate your account here