Quantcast
Channel: Gigaspaces XAP forum - RSS feed
Browsing all 1486 articles
Browse latest View live
↧

GigaSpace.count() in LRU space

Hello, when the method GigaSpace.count(SQLQuery) is invoked in a LRU space with HibernateSpaceDataSource, it counts only matching items already in space memory, but it does not attempt to load items to...

View Article


How can I convert json to SpaceDocument

Presently, I am storing data in NOSQL DB in json format. Now, I want to store same json in GS. How can I convert same json to SpaceDocument. If I am correct, SpaceDocument is Key-value data structure....

View Article


JSON to SpaceDocument Conversion

Presently, I am storing data in NOSQL DB in json format. Now, I want to store same json in GS. How can I convert same json to SpaceDocument. If I am correct, SpaceDocument is Key-value data structure....

View Article

how to add property:value at specific path using ChangeSet API

I want to add new property at specific path using changeset API. But changeset API doesnt provides any such interface, where I can specify path, property and its value. Example: Class Alpha { Integer...

View Article

Execution on startup?

Hi, I am developing a custom kafka client that will run on a PU. Is there a way in which I can auto-start the execution of one method after all spaces of the application are successfully loaded? I...

View Article


Kafka consumer

I am developing a Kafka consumer inside a PU, I just want to know what means do we have to auto execute on startup of the application, just after all spaces are up and running Thanks in Advance

View Article

gigamap lock for non-existing key

Can I lock non-existing key? I need to create only 1 (singleton) object in distributed space and share this instance between apps. And for ex. I have 2 applications which are trying to get/put this...

View Article

Gigaspace read query translation in LRU space

when working with LRU space, how does gs translates the gs query to db query ? I mean i have pojo with 5 fields and my db table is not exactly a replica of the pojo, i.e. data is split into 2 tables...

View Article


How to configure defaultReadTimeout for LocalCache?

Hello, For a "normal" space proxy one could set a property GigaSpaceFactoryBean.defaultReadTimeout to define how long a read operation could wait for an object locked by another transaction before...

View Article


I'm having problems deploying to XAP 10.2.1

I get this error when attempting to deploy anything: 2017-03-08 09:06:22,399 SEVERE [com.gigaspaces.admin.cli] - Error deploying [-properties my.properties,-max-instances-per-vm, 1, -cluster,...

View Article

What is the correct way to shutdown a GSA, etc. started with gs-agent.sh?

What is the correct way to shutdown a GSA, etc. started with gs-agent.sh? Thanks, Rowland {quote}This thread was imported from the previous forum. For your reference, the original is [available...

View Article

Pinging clustered proxy

When ping() is called for a clustered proxy, it returns successfully if at least one partition is available. How could I identify a case when at least one partition is NOT available (neither it's...

View Article

Error handling read/take/change. multiple

I get this error when running one of my spaces, using Gigaspaces 10: [com.gigaspaces.space.engine] - Error handling read/take/change. multiple; Caused by: java.lang.IllegalArgumentException: Unknown...

View Article


Routing request for an execution from within the partitioned space

Hello, suppose I have in space two service beans, one uses the other: Now suppose that I am running in a multi-partition setup, and from the bean "serviceBBB" I want to invoke a method on the bean...

View Article

Space goes into infinite loop when coming up

I have a space with 4 primaries and 4 backups. When I deploy the space, one of the primary/backup combinations goes into an infinite loop after first displaying this error message in the gsc log file:...

View Article


Full-text search in LRU space

Hello, the recently released XAP 12.1 supports a full-text search powered by Lucene. Is it supported only in all-in-memory spaces, or also in LRU spaces? If the latter is the case, how is the DB data...

View Article

Any way to make a space's partitions fill sequentially instead of in parallel

I have a space made of 4 partitions. When I start up the space, I get these error messages: org.hibernate.exception.SQLGrammarException: could not advance using next() and...

View Article


Can I have a space with only 1 partition?

I'm having problems with a space that has 4 partitions. When data loads from the database into the 4 partitions, they lock the database at the same time, and the load fails. So I decided to reduce the...

View Article

column values multiply

How can I multiply in gigaspace browser, the two column values. Getting below error with * operatior om.j_spaces.jdbc.parser.grammar.ParseException: Encountered " "*" "* ""

View Article

Best way to confirm the Lookup Service has closed

We have some integration tests that create a local cluster using a org.openspaces.pu.container.support.CompoundProcessingUnitContainer. We then close this after the test is done (in JUnits @AfterClass...

View Article
Browsing all 1486 articles
Browse latest View live