vFabric GemFire 7.0.0 Release Notes
What's in the Release NotesThe vFabric GemFire 7.0.0 release notes cover the following topics:
What's New in vFabric GemFire 7.0vFabric GemFire 7.0 includes the following feature changes and enhancements:
New WAN API with Parallel WAN and Simplified WAN ConfigurationvFabric GemFire 7.0 simplifies configuration for WAN deployments, and introduces linear scaling for distributing region events across a WAN. You configure WAN deployments by defining one or more gateway senders in distributed systems that propagate events over a WAN, and by defining gateway receivers in systems that receive those events. See Configuring a Multi-site (WAN) System in the vFabric GemFire User's Guide for more information. The following enhancements and changes apply to deployments that use the new WAN API. (For usage information about the earlier WAN API, see Deprecation Notes for Earlier WAN API.)
Deprecation Notes for Earlier WAN API
Main Steps to Upgrade Existing Deployments to Use the New WAN APITo upgrade a GemFire deployment to use the WAN API, first update the GemFire software to version 7.0 according to Upgrading vFabric GemFire in the vFabric GemFire User's Guide. Then follow these guidelines for upgrading the WAN configuration. For more details, see Configuring a Multi-site (WAN) System in the vFabric GemFire User's Guide.
Redesigned GemFire Management and Monitoring SystemvFabric GemFire 7.0 greatly simplifies the management and monitoring of vFabric GemFire distributed systems. Unlike the previous management and monitoring system, GemFire 7.0 integrates monitoring directly within GemFire processes, and adds the ability to manage these processes using the same system. You can now capture metrics directly from managed nodes, without needing to install and configure a separate monitoring process. The new GemFire management and monitoring system uses a federated Open MBean strategy to propagate information member states and system health to a centralized MBean Server. Here are some highlights of the redesigned system:
DataBrowser and Visual Statistics Display (VSD) are modified to work with the new monitoring and management components. Both tools are bundled with the vFabric GemFire product, and no longer require a separate installation and download. vFabric GemFire 7.0 also bundles new monitoring and management interfaces. See the gfsh and GemFire Pulse sections of this document for an overview of these tools. Unified GemFire SHell ('gfsh') Command-Line InterfaceThe completely revised GemFire SHell ('gfsh') is a major usability improvement. Use the intuitive gfsh command-line interface to start and stop GemFire servers and locators; configure members; view metrics; create and populate regions; deploy JARs dynamically across your members; detect and debug deadlocks; manage disk-stores; and import and export data snapshots. Inspired by Spring roo, gfsh provides command completion, context-sensitive help, and scripting. It also incorporates functionality from previous GemFire utilities and scripts such as Note: The New GemFire Pulse Monitoring ToolGemFire Pulse is a new Web browser-based monitoring dashboard that allows you to view and monitor the current status of your entire GemFire deployment. You can view an overall dashboard of distributed system health, and then drill down into viewing members and regions. GemFire Pulse replaces the GFMon tool. See GemFire Pulse in the vFabric GemFire User's Guide for more information. Enhanced Usability and Performance for Disk Stores and PersistenceMany improvements to disk stores and persistence are tied to new
Ability to Import and Export Cache and Region SnapshotsYou can now import and export cache and region data snapshots by using the new RegionSnapshotService or CacheSnapshotService APIs. Exporting and importing data is useful for recovering system data or for moving data quickly from system to another system. You can save snapshots of any type of region as well as entire caches. With the previous API, you could only save snapshots of replicated regions. See Cache and Region Snapshots in the vFabric GemFire User's Guide for more information and the Java API documentation for RegionSnapshotService and CacheSnapshotService. The RegionSnapshotService and CacheSnapshotService APIs replace the previous Region.loadSnapshot and Region.saveSnapshot APIs, which are now deprecated. Ability to Deploy and Undeploy JARs DynamicallyYou can now dynamically deploy your single or multiple application JAR files to specific members or to all members in your distributed system. GemFire automatically keeps track of JAR file versions and provides conveniences such as autoloading the deployed JAR files to the CLASSPATH and auto-registering any functions that are contained within the JAR. To deploy and undeploy application JAR files in vFabric GemFire, use the gfsh Support for Logical Member Groups and Function Execution on Member GroupsMember groups replace "server groups," a way of grouping servers that was only visible to clients. Now you can define logical member groups that are recognizable throughout the distributed system. You can target groups for specific management operations such as backup operations or JAR application deployment. Using logical member groups can help you achieve parallelism in your management and operation of distributed system members. See Using Member Groups in the vFabric GemFire User's Guide for more information. With this feature, you can also target specific member groups or single members within a member group when executing functions. See How Function Execution Works in the vFabric GemFire User's Guide for more information and FunctionService in the Java API documentation. The group definition in server-side Added Consistency Checking for Distributed RegionsConsistency checking ensures that all copies of a distributed region eventually reach a consistent state on all members and clients that host the region, including GemFire members that apply region events across a WAN. Unlike previous versions of GemFire, GemFire 7.0 members detect and reject an out-of-order update to a region entry when consistency checking is enabled. If a concurrent update is detected, GemFire 7.0 members choose only one of the two updates to apply. Potentially conflicting WAN events are resolved using a timestamp by default, or by using an optional conflict resolver that you define. With consistency checks enabled, GemFire 7.0 regions require additional overhead (as compared to GemFire 6.x) for storing version and timestamp information, and for retaining deleted entries for a period of time to ensure consistency. See "Overhead for Consistency Checks" in Consistency for Region Updates in the vFabric GemFire User's Guide for more information. New Parallel Write-Back Cache Listeners and Simplified Listener ConfigurationvFabric GemFire 7.0 simplifies the configuration API for installing write-back cache listeners, and introduces parallel write-back cache listeners for linear scaling in distributing region events to listener implementations. Parallel queues are deployed to multiple GemFire members along with their listener implementations, and each queue and listener processes all region events for that local member. See Implementing an AsyncEventListener for Write-Behind Cache Event Handling in the vFabric GemFire User's Guide for more information. GemFire 7.0 deprecates the GatewayEventListener, GatewayHub, and Gatwey APIs used to configure write-back cache listeners in earlier versions of the product. Improved Querying PerformanceEnhancements enable you to improve querying performance as follows:
Support for Adding and Retrieving JSON Documents in vFabric GemFirevFabric GemFire now supports the use of JSON-formatted documents natively. When you add a JSON document to a GemFire cache, you call the JSONFormatter APIs to transform it into the PDX format (as a Note: This API is not yet available in vFabric GemFire native client. Native Support for Memcached Clients with GemcachedGemcached is a light-weight adapter that allows memcached clients to connect to GemFire. A Gemcached server is embedded within a GemFire cache server and listens for connections from memcached clients. The Gemcached server translates the memcached protocol to use GemFire APIs. Memcached clients can be written in many programming languages and do not need to be modified. Gemcached allows memcached clients to connect to any Gemcached server, which gives memcached clients access to GemFire features such as replication and high-availability. See Gemcached in the vFabric GemFire User's Guide for more information. Better Release Integration with Spring Data GemFireStarting with vFabric GemFire 7.0, vFabric GemFire and Spring Data GemFire releases will now be coordinated. vFabric GemFire 7.0 is supported by Spring Data GemFire 1.2.1, which is publicly available at http://www.springsource.org/spring-gemfire. In addition, Spring Data GemFire documentation has been added to the vFabric GemFire User's Guide. See Getting Started with Spring Data GemFire in the vFabric GemFire User's Guide. For more information on new features in Spring Data GemFire, see the Spring Data GemFire Reference Guide: http://static.springsource.org/spring-data/gemfire/docs/current/reference/html/index.html. Added GemFire Optimization Guidelines and Certification on VMware vSphereGemFire 7.0 is performance-tested and certified to run optimally on VMware vSphere 5.0. The vFabric GemFire User's Guide for more information publishes basic guidelines on how to optimize vSphere-based installations of GemFire. See Improving GemFire Performance on vSphere in the vFabric GemFire User's Guide for more information. Enhanced Integration for vFabric GemFire HTTP Session Management Module for AppServersvFabric GemFire HTTP Session Management Module 7.0 for AppServers introduces the following integration enhancements:
For a list of application servers supported by this module, see vFabric Gemfire Modules Supported Configurations in the vFabric GemFire User's Guide for more information. For more information on using the module, see HTTP Session Management Module for AppServers in the vFabric GemFire User's Guide for more information. Improvements to Product Packaging and DistributionNote the following packaging changes in vFabric GemFire 7.0:
Changes to Product DocumentationvFabric GemFire documentation for 7.0 includes the following structural changes:
Upgrading to vFabric GemFire 7.0To upgrade from an earlier version of GemFire to the current version, see the Upgrading vFabric GemFire topic in the vFabric GemFire User's Guide under "Getting Started with vFabric GemFire." Also review product changes documented in What's New in vFabric GemFire 7.0. In particular, if you are upgrading from vFabric GemFire 6.5 or 6.6 to 7.0, you will need to run the gfsh In addition, if you are upgrading from a version of GemFire earlier than 6.6.0, see also the vFabric GemFire 6.6.1 and 6.6.0 Release Notes and vFabric GemFire 6.6.2 Release Notes to determine any additional changes required for you to migrate to vFabric GemFire 7.0. Map of Old Commands to
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Previous Command | GemFire 7.0 gfsh Command |
|---|---|
Old (pre-7.0) gfsh Commands |
|
bcp | export data --to-file=... |
import data --from-file=... | |
clear | remove --all |
connect | connect |
debug | enable with options --error-details and --logging-level |
deploy | deploy |
fetch | environment variable APP_FETCH_SIZE |
gc | gc |
get | get |
index | create index |
destroy index | |
list index | |
key | get/put/locate entry commands with option --key-class |
ls | describe region |
describe member | |
list members | |
list regions | |
show config | |
mkdir | create region |
next | implicit with select |
put | put |
pwd | environment variable APP_CONTEXT_PATH (Read only) |
rebalance | rebalance |
rm | remove |
rmdir | destroy region |
select | select |
show | With environment variables |
show -col | APP_COLLECTION_LIMIT |
value | get/put commands with option -value-class |
which | locate entry |
Old (pre-7.0) cacheserver Commands |
|
cacheserver start | start server |
cacheserver status | status server |
cacheserver stop | stop server |
Old (pre-7.0) gemfire Commands |
|
gemfire backup-disk-store (online command) | export disk-store |
gemfire compact-all-disk-store (online command) | compact disk-store |
gemfire compact-disk-store (offline command) | compact offline-disk-store |
gemfire info-locator | describe member (with --name to identify locator) |
gemfire list-missing-disk-stores (online command) | show missing-disk-stores |
gemfire modify-disk-store (offline command) | alter disk-store |
gemfire revoke-missing-disk-store (online command) | revoke missing-disk-store |
gemfire start-locator | start locator |
gemfire status-locator | status locator |
gemfire stop-locator | stop locator |
gemfire shutdown-all-members (online command) | shutdown |
gemfire validate-disk-store (offline command) | validate disk-store |
Resolved Issues
For a list of bugs that are fixed in GemFire 7.0 and that are resolved in the VMware bug tracking system, see BugsFixedGemFire700.html.
Known Issues
For a list of issues that have been registered as bugs in the VMware bug tracking system, see BugNotesGemFire700.html.