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.

SmartSense Bundle Capture Failure

Highlighted

SmartSense Bundle Capture Failure

New Contributor

In my cluster called 'Islero' (6 nodes) this SmartSense doesn't work, Ambari give me this message related a single node:

Last SmartSense bundle was not successful. Bundle key:unspecified_islero_0_2016-06-05_02-00-01, status: failed.

I've tried to solve it with a simple service restart but i received the same response.

Please help me!!!!! :(

Thanks

9 REPLIES 9
Highlighted

Re: SmartSense Bundle Capture Failure

Super Guru
@Giuseppe cloud

Can you please try to capture smartsense analysis bundle via SmartSense view and let me know how it goes? Alert says that last capture was not successful.

If you are not logged in as admin user then please try to login as admin user and capture the bundle.

Hope this information helps!!

Happy Hadooping :)

Highlighted

Re: SmartSense Bundle Capture Failure

Expert Contributor

@Kuldeep Kulkarni I am also facing the same issue

I logged in as admin user and tried to capture the bundle

I have 9 hosts out of which 8 are completed and one of the node is getting timed out. What do i need to do ?

Highlighted

Re: SmartSense Bundle Capture Failure

@chennuri gouri shankar

I think HST agent is not responding on that perticular host, Can you check and restart HST agent on that server and see if it works?

Highlighted

Re: SmartSense Bundle Capture Failure

Expert Contributor

@Sri Bandaru No Luck

Re: SmartSense Bundle Capture Failure

@Giuseppe cloud does the hostname of the host that is causing problems begin with a non-alphabetic character, or contain any uppercase characters? If so, you might be encountering a bug. You can verify the hostnames reported by 'hst list-agents' matches the hostnames in Ambari.

Also verify the JDK version is consistent across all nodes (probably not an issue since you are using Ambari).

If the above does not apply, please check /var/log/hst/hst-agent.log on the problem host, and provide any details here that might help narrow the cause of the issue.

Highlighted

Re: SmartSense Bundle Capture Failure

New Contributor

Thanks fot the response,

In the file: /var/log/hst/hst-agent.log I found:

INFO 2016-06-08 12:41:37,174 security.py:193 - Downloading server cert from https://gc0b1.pi.infn.it:9440/cert/ca/ INFO 2016-06-08 12:41:37,269 security.py:182 - Agent key not exists, generating request INFO 2016-06-08 12:41:37,269 security.py:242 - openssl req -new -newkey rsa:1024 -nodes -keyout "/var/lib/smartsense/hst-agent/keys/gc0b1.pi.infn.it.key" -subj /OU=gc0b1.pi.infn.it/ -out "/var/lib/smartsense/hst -agent/keys/gc0b1.pi.infn.it.csr" INFO 2016-06-08 12:41:37,313 security.py:188 - Agent certificate not exists, sending sign request DEBUG 2016-06-08 12:41:37,480 security.py:220 - Sign response from Server: {u'result': u'OK', u'signedCa': u'Certificate:\n Data:\n Version: 1 (0x0)\n Serial Number: 74 (0x4a)\n Signature Algorithm: sha256WithRSAEncryption\n Issuer: C=XX, L=Default City, O=Default Company Ltd\ n Validity\n Not Before: Jun 8 10:41:37 2016 GMT\n Not After : Jun 8 10:41:37 2017 GMT\n Subject: OU=gc0b1.pi.infn.it\n Subject Public Key Info:\n Public K ey Algorithm: rsaEncryption\n Public-Key: (1024 bit)\n Modulus:\n 00:ea:67:6e:30:59:f1:e7:47:6b:5d:cf:41:45:01:\n e0:d8:2b:82:5c:46:a4:46:da:44 :3c:f8:cb:09:5e:\n 80:da:d5:45:1f:35:a0:ec:d0:bb:fb:e9:a6:c1:81:\n ba:80:52:67:5c:c0:33:f8:1f:97:b1:ee:54:94:65:\n 19:40:d4:94:39:9d:76:f6:7e:0d:3f:de:d3: ca:db:\n 0b:ad:94:a3:7d:16:f8:a2:51:7f:63:7b:5f:7f:10:\n f3:91:28:8c:59:22:fb:d0:a7:58:78:b4:76:a1:81:\n 55:bf:d3:44:bc:94:2c:36:5d:a4:da:b4:be:56:69:\n 2c:34:b7:08:ee:8b:8f:92:13\n Exponent: 65537 (0x10001)\n Signature Algorithm: sha256WithRSAEncryption\n 53:1f:37:a0:2a:e7:f1:4b:35:2d:25:bb:7f:98:6d:a7:1f:c8:\n 25:52:2a:f1:62:60:44:ff:97:b6:0d:31:f8:1e:11:59:37:1a:\n 3b:b7:f1:de:8a:88:9f:c0:a5:5e:e5:00:7d:5d:53:e2:8b:e4:\n 6e:e5:87:3a:8c:6a:1e:cb:bc:03:04:e0:45:82:4b:c4:b1:5a:\n 4f:70:e5:d1:34 :aa:f5:67:73:55:07:5b:57:d4:d5:83:ce:70:\n fb:db:b5:b5:7c:21:13:92:c8:46:36:10:1e:20:59:4f:0f:f3:\n ab:ad:05:f6:31:99:14:28:b3:3a:07:27:68:b3:f1:41:15:64:\n f1:1f:e3:4d:cd:cd:ea:41:09:a7: 54:38:ef:98:56:19:97:71:\n af:b4:71:0d:14:08:8c:28:ce:0a:1e:a8:0c:43:d1:ba:7d:bd:\n 63:8d:4e:b1:4e:82:2b:6d:39:91:f1:03:18:9b:0e:a9:53:b9:\n 89:5d:f3:a6:c3:8f:b5:f4:49:70:bb:72:c5:31:ba:7 d:c7:bd:\n 37:23:3c:93:13:be:f2:83:aa:4e:f7:f1:c0:de:1a:33:d2:e8:\n af:ed:29:40:56:15:11:2c:1c:5a:d8:45:2c:1a:03:21:87:7b:\n 5b:ef:c8:a2:9f:4a:64:10:73:19:d7:27:34:b9:9a:42:09:33:\n 9f:8e:a0:11:a7:1e:0e:95:5b:79:ee:27:db:84:e5:76:09:1c:\n 73:a7:e8:a4:bb:02:a1:b0:d5:63:3d:41:9f:2a:f6:fa:17:65:\n 4f:5c:c1:69:20:56:a6:90:60:57:09:75:33:9c:44:78:c5:da:\n 22:b7:10:c5:5 7:87:dd:37:87:2d:21:ba:b0:38:a0:61:f9:9a:\n f3:84:27:87:cf:c8:b6:7d:19:90:27:3d:5b:ac:d6:4d:4c:7c:\n 87:79:03:ef:0c:ea:79:d7:7c:38:00:89:8f:f2:99:6a:d5:9c:\n a3:92:1e:0c:de:ca:11:f1:f0:a2 :9f:3f:49:d9:49:f0:2c:84:\n 5d:1c:da:99:08:f4:ac:34:ab:c0:e9:62:82:61:f6:ea:05:51:\n a5:e0:51:d6:03:71:fb:48:da:74:87:f1:a8:3d:cd:68:63:10:\n 7a:cb:27:21:13:98:a7:f3:7c:f6:5d:51:ce:d4:ed: b7:3b:94:\n af:80:15:88:cf:f4:51:6b:ed:00:a2:41:a4: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\nZU9cwWkgVqaQYFcJdTOcRHjF2iK3EMVXh903hy0hurA4oGH5mvOEJ4fPyLZ9GZAn\nPVus1k1M fId5A+8M6nnXfDgAiY/ymWrVnKOSHgzeyhHx8KKfP0nZSfAshF0c2pkI\n9Kw0q8DpYoJh9uoFUaXgUdYDcftI2nSH8ag9zWhjEHrLJyETmKfzfPZdUc7U7bc7\nlK+AFYjP9FFr7QCiQaRcdwnfXV5Pyv+iSwyxGYGE9T44D4aUnDPHao3AdFB1nTq9\nim7zmVYKrsW38pMkFvqNK +kD4WcVIqACWYv4Z/RS52QK\n-----END CERTIFICATE-----\n'} DEBUG 2016-06-08 12:41:37,628 ServerAPI.py:111 - POST https://gc0b1.pi.infn.it:9441/api/v1/register response:{"ip":"212.189.155.104","id":"gc0b1.pi.infn.it","version":"1.2.2.0-460","status":"REGISTERED"} DEBUG 2016-06-08 12:41:37,728 ServerAPI.py:283 - GET https://gc0b1.pi.infn.it:9441/api/v1/schedule response:{"schedule":{"command":"/usr/hdp/share/hst/bin/hst-scheduled-capture.sh","schedule":"0 2 * * 0","user": "admin","status":"ACTIVE","period":"WEEKLY","dow":0,"hour":2,"minute":0,"dom":-2147483648,"wom":0,"custom":false},"message":"Weekly, at 2:00 AM, every Sunday"} DEBUG 2016-06-08 13:00:02,111 ServerAPI.py:283 - GET https://gc0b1.pi.infn.it:9441/api/v1/schedule response:{"schedule":{"command":"/usr/hdp/share/hst/bin/hst-scheduled-capture.sh","schedule":"0 2 * * 0","user": "admin","status":"ACTIVE","period":"WEEKLY","dow":0,"hour":2,"minute":0,"dom":-2147483648,"wom":0,"custom":false},"message":"Weekly, at 2:00 AM, every Sunday"} DEBUG 2016-06-08 14:00:01,804 ServerAPI.py:283 - GET https://gc0b1.pi.infn.it:9441/api/v1/schedule response:{"schedule":{"command":"/usr/hdp/share/hst/bin/hst-scheduled-capture.sh","schedule":"0 2 * * 0","user": "admin","status":"ACTIVE","period":"WEEKLY","dow":0,"hour":2,"minute":0,"dom":-2147483648,"wom":0,"custom":false},"message":"Weekly, at 2:00 AM, every Sunday"} DEBUG 2016-06-08 15:00:01,511 ServerAPI.py:283 - GET https://gc0b1.pi.infn.it:9441/api/v1/schedule response:{"schedule":{"command":"/usr/hdp/share/hst/bin/hst-scheduled-capture.sh","schedule":"0 2 * * 0","user": "admin","status":"ACTIVE","period":"WEEKLY","dow":0,"hour":2,"minute":0,"dom":-2147483648,"wom":0,"custom":false},"message":"Weekly, at 2:00 AM, every Sunday"}schermata-da-2016-06-08-154741.pngschermata-da-2016-06-08-154730.pngschermata-da-2016-06-08-154715.pngschermata-da-2016-06-08-154708.png

I don't know where is the problem.....please help meeeeee :(

Highlighted

Re: SmartSense Bundle Capture Failure

New Contributor

other thing about the cluster


schermata-da-2016-06-08-161602.pngschermata-da-2016-06-08-161604.pngschermata-da-2016-06-08-161559.png
Highlighted

Re: SmartSense Bundle Capture Failure

Contributor

@Giuseppe cloud, navigate to SmartSense view and you will see the details. The alert also would show you reason for failure. It looks like in your case it failed, because it did not have valid SmartSense ID.

Highlighted

Re: SmartSense Bundle Capture Failure

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