How do I combine the Coherence 3.5 partitioned backing map with overflow?
I would like to set up a near cache where the back cache uses an overflow map that uses a partitioned backing map as front and a file (or Berkley DB) based back. I would like the storage for both primary and backup storage to use the same configuration. I tried the following cache config (I am not even sure this say anything about how the backup storage should be configured, except that I say it should be off-heap) :
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>near-small</cache-name>
<scheme-name>near-schema</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<near-scheme>
<scheme-name>near-schema</scheme-name>
<front-scheme>
<local-scheme>
<eviction-policy>HYBRID</eviction-policy>
<high-units>10000</high-units>
</local-scheme>
</front-scheme>
<back-scheme>
<distributed-scheme>
<scheme-name>near-distributed-scheme</scheme-name>
<service-name>PartitionedOffHeap</service-name>
<backup-count>1</backup-count>
<thread-count>4</thread-count>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
</serializer>
<backing-map-scheme>
<overflow-scheme>
<scheme-name>OverflowScheme</scheme-name>
<front-scheme>
<external-scheme>
<nio-memory-manager/>
<unit-calculator>BINARY</unit-calculator>
<high-units>256</high-units>
<unit-factor>1048576</unit-factor>
</external-scheme>
</front-scheme>
<back-scheme>
<external-scheme>
<scheme-name>DiskScheme</scheme-name>
<lh-file-manager>
<directory>./</directory>
</lh-file-manager>
</external-scheme>
</back-scheme>
</overflow-scheme>
<partitioned>true</partitioned>
</backing-map-scheme>
<backup-storage>
<type>off-heap</type>
</backup-storage>
<autostart>true</autostart>
</distributed-scheme>
</back-scheme>
<invalidation-strategy>present</invalidation-strategy>
<autostart>true</autostart>
</near-scheme>
<!--
Invocation Service scheme.
-->
<invocation-scheme>
<scheme-name>example-invocation</scheme-name>
<service-name>InvocationService</service-name>
<autostart system-property="tangosol.coherence.invocation.autostart">true</autostart>
</invocation-scheme>
</caching-schemes>
</cache-config>This all goes well when I start the cache node(s) but when i start an application that try to use the cache I get the error message:
2009-04-24 08:20:24.925/17.877 Oracle Coherence GE 3.5/453 (Pre-release) <Error> (thread=DistributedCache:PartitionedOffHeap, member=1): java.lang.IllegalStateException: Partition backing map com.tangosol.net.cache.OverflowMap does not implement ConfigurableCacheMap
at com.tangosol.net.partition.ObservableSplittingBackingCache.createPartition(ObservableSplittingBackingCache.java:100)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.initializePartitions(DistributedCache.CDB:10)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.instantiateResourceMap(DistributedCache.CDB:63)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$Storage.setCacheName(DistributedCache.CDB:27)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ConfigListener.entryInserted(DistributedCache.CDB:15)
How should I change my cache config to make this work?
Best Regards
Magnus
Magnus,
The optimizations related to efficiently supporting overflow-style caching are not included in Coherence 3.5. I created COH-2338 and COH-2339 to track the progress of the related issues.
There are four different implementations of the PartitionAwareBackingMap for Coherence 3.5:
* PartitionSplittingBackingMap is the simplest implementation that simply partitions data across a number of backing maps; it is not observable.
* ObservableSplittingBackingMap is the observable implementation; it extends WrapperObservableMap and delegates to (wraps) a PartitionSplittingBackingMap.
* ObservableSplittingBackingCache is an extension to the ObservableSplittingBackingMap that knows how to manage ConfigurableCacheMap instances as the underlying per-partition backing maps; in other words, it can spread out and coalesce a configured amount of memory (etc.) across all the actual backing maps.
* ReadWriteSplittingBackingMap is an extension of the ReadWriteBackingMap that is partition-aware.
The DefaultConfigurableCacheFactory currently only uses the ObservableSplittingBackingCache and the ReadWriteSplittingBackingMap; COH-2338 relates to the request for improvement to add support for the other two implementations as well. Additionally, optimizations to load balancing (where overflow caching tends to get bogged down by many small I/O operations) will be important; those are tracked by COH-2339.
Peace,
Cameron Purdy
Oracle Coherence
Similar Messages
-
Can you please help me to solve the following problem occuring during back up with time machine?
The backup disk image “/Volumes/Andreas ZERVOS's Time Capsu-1/Andreas Zervos’s MacBook Pro 1.sparsebundle” could not be created (error -1)Hello,
I'm not sure what it means, but...
http://www.levelofindirection.com/journal/2009/10/10/using-a-networked-drive-for -time-machine-backups-on-a-mac.html
http://www.coastalvectors.com/blog/2011/02/understanding-time-machine-and-sparse -bundles/
Have you looked through Pondini's extensive TM help site?
http://Pondini.org/TM/FAQ.html
I can't imagine anything TMwise not covered. -
We had to replace our computer due to a fire and lost many of the fiels which were on them. Many were music files for the ipods, we have thre. Also, do not have ID's and passwords to the iTunes store.
How can we combine the information so that they are all in each one or at least compbine everything into one ipod?Just so you know the method suggested by Nelsonleee will cost your $29.95 USD, Yamipod is free.
-
iTunes has indicated i have another iTunes library, how do i combine the 2 libraries into 1?
My previous computer was a PC. I synced iTunes with my iPhone until the hard drive died, then I bought an iMac.
Thanks for you help.I want to be able to transfer my apps from my original itunes account that I have on my personal iphone 3 and work ipad 3 to my work iphone 4S ,as well as purchase more more apps for the work iphone with the original itunes account. Plus I need to sync all 3 of them with my work tower computer. I really appreciate you're trying to help me out.
-
HT201272 I have two iTunes account. How do I combine the two??
I have two iTunes account. How do I combine the two??
Did you recieve any response on your questions? I have teh same one can we load two itunes accounts onto one device? It seems apple should have some fix to address this...thanks for any insight you can provide.
-
We have itunes music on a computer, an ipod nano, and a new ipod touch under two different accounts. How can we combine the music from both accounts to one device?
There is no "adding" a device. Simply plug the iDevice into the computer. iTunes should automatically detect the device when it is connected.
iTunes can sync/manage as many iDevices as you want... there is no 1 device limit. -
Hi. I made a resume from the modern template in Pages, then I made a letter from the modern template in Pages. How do I combine the two (cover letter and resume) into one PDF file. Thanks in advance.
Open them both in Preview.app and drag the thumbnail of one into the other,
Peter -
I'm running Pages version 5.2 on a Desktop Mac version 10.9.2. With the Pages app open how do I use the Time Machine to go back five hours to see my page? Can I access Time Machine within an app like Pages? How do I enter Time Machine within the application? It always takes me to the Finder. I apolgise for the mumbo jumbo. I simply do not know how to use Time Machine. It makes sense when I follow the Tutorial but then I lose it.
OK. You've kind of skipped over the reason why you want to go back five hours, but my assumption would be that you've made changes to a Pages file that you want to revert.
There are two ways to tackle this. From Pages itself, open the current version of your document, and from the File menu, click Revert To, and Browse All Versions. You'll then be in the Time Machine interface for that file, and can browse back to the version you want.
Or, outside of Pages, you can select the file (or the folder it was originally in, if you've since deleted it) and enter Time Machine from the TM menu (it sounds like you've already tried this?)
best
Matt -
I am having difficulty: we are running a windows server 2003 - mail and outlook support 2007 and upwards, how do I get the brand new apple machines to work with the 2003 version of server
I may be way out, but do you know about this product, would it help integrate the Macs for you.
https://www.thursby.com/sites/default/files/images/ADmitMacv8_SPD.pdf -
How do I get the contacts from my mac to sync with Icloud? I need to back up my phone since I will be receiving a new one tomorrow and the icloud contacts are not the same as the ones on my mac. Help me
OS X Lion. 10.7. Your profile says your running 10.6.8, which is Snow Leopard. You need 10.7 to use iCloud with your Mac.
-
How can I get the phone numbers in contacts to appear with dashes between the first 3 numbers, the next 3 numbers, and the last 4 numbers? Until very recently
it did so. Contacts on my macbook pro does show up this way. I do have a mobile me account and in the past syncing was no problem. What setting has changed?The phone number format as well as the date language and format and the time format are controlled by the Region Format setting. Go to Settings > General >International > Region Format. When you change a region format, you can go back one page (to International) and see an example of the date/time/phone number format that your selected region format will produce.
-
How can I get the old view of iCal back on my MacBook Pro and iPhone?
How can I get the old view of iCal back on my MacBook Pro and iPhone? The Mavrick version is crisp and clean but a colored dot is not the same as a highlighted word. I rely on my iCal on my MacBook Pro and iPhone 5 to help me track which of the 8 sites I visit for my job during the week - the color coding is (was key) to organizing and tracking meetings. I hate the upgrade!
If purchased through the Mac App Store then it can be installed on up to five authorized CPUs. Otherwise, it's controlled by the license that came with the software.
To install on another computer copy the downloaded installer application to the other computer. -
How can i delete the photo library in my iphone 4 with ios6
how can i delete the photo library in my iphone 4 with ios6
go to settings > general > usage > music app under the storage section > slide across the bar that says 'photo library' and a red delete button will appear
you can also plug the device into your computer with itunes, go to the photos tab at the top center and uncheck where it says 'sync photos.' then press 'apply' in the bottom right corner. this will erase the photos that were synced to your phone from the computer -
I tried to update the App that I purchased but the message told me that my Apple account is not valid for use outside of US and I must switch back to US store to able to do it. How can I switch the account from foreign countries back to US?
On your phone (from http://support.apple.com/kb/ht1311):
Change your iTunes Store country
Sign in to the account for the iTunes Store region you'd like to use. Tap Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region.
Follow the onscreen process to change your region, agree to the terms and conditions for the region if necessary, and then change your billing information. -
We need the Request Restart ability when scheduling a single reoccurring job in Redwood. Most of our jobs are scheduled in CHAINs which offers the Final Status Handler on Step level, and the schedule is "paused" when a job in the CHAIN has failed ( the next instance does not populate until the OP MSG has been Replied to) , and once the OPERATOR message is replied to, the CHAIN can resume running again ( desired ) . But we need this same ability when scheduling a single job not in a CHAIN. In our testing, we set up a job with Request Restart chosen on the Error , Killed and Unknown selections on the Restart Behavior Tab. But we found when a job is scheduled say once a day at 8AM, and when it fails, an OPERATOR msg appears allowing a Restart choice ( desired), but the next day's schedule also populates ( undesired) and we do NOT want the schedule to continue on yet because we need a chance to fix the error before the next insance runs for business reasons. So how can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?
Hello Fran,
You can wrap the job chain in a master job chain in the first step and set the final status handler there.
You can also set the Restart Behavior to 'Stop Submit Frame', in that case you will have to resubmit the job once you are finished troubleshooting.
Regards Gerben
Maybe you are looking for
-
Hi, I have writen a servlet that sends back a List of SummaryRec structure via ServletSession. What did I do wrong here? The Jsp can't locate the SummaryRec.class. <%@ page contentType="text/html;charset=ISO-8859-1" language="java" import="java.util.
-
my iphone on russian sorry if i say some think wrong
-
TS3999 Calender sync with iCloud
I have been trouble shooting my iPhone 3GS and my partners iPod as neither will sync with calender in the my cloud. I have discovered that neither have a place in Settings, Mail Contact Calender - to set the default calender. Is this deliberate or do
-
When I try to compile my java code, I get a symbol error that says that it cannot resolve symbol super in the following line of code. I have no idea what to do!!! Someone please help!!!! I'm going crazy. public BarChart(String title, int min, int max
-
Configure a Bridge between Websphere MQ 6.0(MQSeries) and Weblogic9.2
Bridge between Websphere MQ 6.0(Previously MQSeries) and Weblogic 9.2 At Websphere MQ 6.0 side: ³ Create a folder by the name JNDI-Directory under C drive ³ Create the queue manager by using the command at the command prompt: crtmqm testqmgr or you