Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  hazelcast 6868 over 12 years Chris Jones Use a Logger instead of System.out for SystemMe...
CNodeService.java 51.2 KB 6869 over 12 years Chris Jones Update the CN methods to throw a VersionMismatc...
D1NodeService.java 40.5 KB 6874 over 12 years Chris Jones Don't throw a NotAuthorized exception in isAdmi...
MNodeService.java 49 KB 6822 over 12 years Chris Jones Make sure the local id isn't null when we try t...
ObjectFormatService.java 7.18 KB 6803 over 12 years ben leinfelder new jars with many changes -- including new CN ...
SystemMetadataFactory.java 24.8 KB 6873 over 12 years ben leinfelder do not download and save remote data resources ...

Latest revisions

# Date Author Comment
6874 01/10/2012 05:01 PM Chris Jones

Don't throw a NotAuthorized exception in isAdminAuthorized() - just return false.

6873 01/10/2012 12:12 PM ben leinfelder

do not download and save remote data resources which are HTML but are not expected to be such (login or info/splash pages before data content).
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5522

6869 01/09/2012 05:08 PM Chris Jones

Update the CN methods to throw a VersionMismatch where the API changed (where serialVersion is a required parameter). These were previously throwing an InvalidRequest exception.
Change the exception handling for calls to Hazelcast to catch a RuntimeException (not Exception) so we don't catch exceptions that we purposefully throw....

6868 01/09/2012 04:59 PM Chris Jones

Use a Logger instead of System.out for SystemMetadataMap.

6867 01/07/2012 06:01 PM Chris Jones

Don't lock() on the map.get() in isNodeAuthorized() (this assumes that the CN has queued the task already). Add more lock/unlock debug statements, and fix setReplicationStatus() - I missed a finally statement to unlock the pid.

6866 01/07/2012 12:39 PM Chris Jones

Modify CNReplication methods setReplicationStatus(), updateReplicationMetadata() and setReplicationPolicy() to allow administrative access from a Coordinating Node by calling isAdminAuthorized().

6865 01/07/2012 12:34 PM Chris Jones

Add isAdminAuthorized() to D1NodeService to check if the operation is being requested from a CN. Consult the NodeList from the CN and test the NodeType of the given node and the X509 certificate Subject. Perhaps we should expand this to also check for service-level access in the future.

6863 01/06/2012 12:51 PM Chris Jones

In registerSystemMetadata(), lock the pid prior to calling map.containsKey(pid) since a put to the map could occur between the check and the subsequent put().

6859 01/06/2012 07:23 AM Chris Jones

Use Lock instead of ILock to be consistent across classes.

6858 01/05/2012 06:32 PM Chris Jones

After reviewing CNodeService and D1NodeService prompted by Robert comparing the Hazelcast locking with the d1_synchronization locking, I've made a number of changes that will prevent locking problems:

1) Multiple methods contained try/catch blocks that would:...

View revisions

Also available in: Atom