Hi,
I think I managed to make some progress, or at least I am getting a
different error :)
I failed to work with the swap-store utility and decided to copy the
data myself.
The new error, is at voldemort start up and specifies some out of
memory issue. Is there anyway to define the memory size?
Here is the error:
Exception in thread "main" voldemort.VoldemortException:
java.io.IOException: Map failed
at voldemort.store.readonly.ChunkedFileSet.mapFile
(ChunkedFileSet.java:143)
at voldemort.store.readonly.ChunkedFileSet.<init>
(ChunkedFileSet.java:90)
at voldemort.store.readonly.ReadOnlyStorageEngine.open
(ReadOnlyStorageEngine.java:129)
at voldemort.store.readonly.ReadOnlyStorageEngine.<init>
(ReadOnlyStorageEngine.java:113)
at
voldemort.store.readonly.ReadOnlyStorageConfiguration.getStore
(ReadOnlyStorageConfiguration.java:61)
at voldemort.server.storage.StorageService.getStorageEngine
(StorageService.java:258)
at voldemort.server.storage.StorageService.openStore
(StorageService.java:158)
at voldemort.server.storage.StorageService.startInner
(StorageService.java:151)
at voldemort.server.AbstractService.start(AbstractService.java:
63)
at voldemort.server.VoldemortServer.startInner
(VoldemortServer.java:147)
at voldemort.server.AbstractService.start(AbstractService.java:
63)
at voldemort.server.VoldemortServer.main(VoldemortServer.java:
194)
Caused by: java.io.IOException: Map failed
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:803)
at voldemort.store.readonly.ChunkedFileSet.mapFile
(ChunkedFileSet.java:139)
... 11 more
Caused by: java.lang.OutOfMemoryError: Map failed
at sun.nio.ch.FileChannelImpl.map0(Native Method)
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:800)
... 12 more
> > > them to theread-onlystore to hopefully get better performance and
> > > balance.
> > > Is there any suggested way to do so?
> > > Assuming I can iterate the data (or recreate it), it seems I can use
> > > JsonStoreBuilder which receives some file as input.
> > > Can you provide some information about the format of this file and how
> > > I can put multiple (and numerous) values in it?
>
> > > Of course, if this is not the best way / there is another way to
> > > programatically build theread-onlystore I would be happy to know.
>
> > > Thanks!
>
>