Issue Details (XML | Word | Printable)

Key: SFOS-875
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Steve Loughran
Reporter: Steve Loughran
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
SmartFrog

Write CheckPort component to extract hostname:port information from a hadoop component, and try connecting to that port

Created: 28/May/08 05:51 PM (BST)   Updated: 23/Jan/09 01:43 PM (GMT)
Component/s: _service_hadoop
Affects Version/s: 3.17.004
Fix Version/s: 3.17.010

Time Tracking:
Not Specified

Compatibility: new feature


 Description  « Hide
I need to be able to test for ports being free/in use

I propose
- a component that checks a port for being connectable
 -extracts host/port from hadoop configurations, taking a lazy reference to the configuration, and to the attribute to work with
- can check on startup, liveness or a condition
- specifiable connect timeout
- livenessTimeout to give the liveness a period of grace before its failures matter (for monitoring slow starting services)


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Steve Loughran added a comment - 28/May/08 05:53 PM (BST)
components written; tests and docs needed now

Steve Loughran added a comment - 23/Jan/09 01:43 PM (GMT)
This is implicitly tested in the functional tests that use it