Skip to main content
 
developerworks > Community >  Dashboard > WebSphere eXtreme Scale V6.1 User Guide > ... > ObjectGrid 6.1 cumulative fix 3 contents > DataGrid agents do not report server information on failure
developerWorks
Log In   View a printable version of the current page.
Overview New to Forums Wikis
DataGrid agents do not report server information on failure
Added by Chris.D.Johnson, last edited by Chris.D.Johnson on Jan 07, 2008  (view change)
Labels: 
(None)

Getting Started Examples Reference API documentation
See the WebSphere eXtreme Scale Wiki for links to up-to-date eXtreme Scale Version 7.x documentation.

If you log in with your developerWorks ID, you can leave comments and feedback for the development team.

Component DataGrid API
Software Version 6.1

Problem

The ReduceGridAgent and MapGridAgent do not provide the partition, server name, or complete exception information when some exceptions are encountered.

The complete exception object, server name and partition number might be required to allow clients to properly handle failures because each agent runs in an independent transaction.

Cause

The AgentManager does not always use EntryErrorValue objects when appropriate to identify errors when the error only occurs on a subset of the agents. The EntryErrorValue objects also do not currently have the entire exception object, the server name is set to "???" instead of the actual server name, and no partition number exists.

Workaround

In some circumstances, the agent can use a side map to store the results. A side map can be another ObjectGrid map that is used only to store the agent result data. Clients can examine the side map for the actual state of the agent.

Solution

The reduce agent API has been changed to throw EntryErrorValues to the agent's client-side reduce(Collection) method. This change allows the client to handle any errors that occur. The map grid agent API has been changed to include EntryErrorValues for any keys that have failed to run. If the map grid agent did not supply any keys, then an ObjectGridRuntimeException exception results.

Apply ObjectGrid cumulative intermediate fix 3.

Wiki Disclaimer and License
© Copyright IBM Corporation 2007,2010. All Rights Reserved.