Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

External Data Source in cluster


I wrote custom EDS adaptor for HBase. But when I'm deploy my processing unit(it's a web application with restlets) in cluster - I've got next warning and nothing is deployed(an I don't see any errors or exceptions):

2013-11-21 06:35:21,590 tvs-service-webapp-1.0.0-SNAPSHOT.1 [2] WARNING [com.gigaspaces.core.common] - Primary space is unavailable.; Caused by: com.gigaspaces.internal.server.space.recovery.strategy.UnavailablePrimarySpaceException: com.j_spaces.core.client.FinderException: LookupFinder failed to find service using the following service attributes: 

 Service attributes: [com.gigaspaces.cluster.activeelection.core.ActiveElectionState(state=ACTIVE)]
 Service attributes: [com.j_spaces.lookup.entry.ContainerName(name=mySpace_container1)]
 Service attributes: [net.jini.lookup.entry.Name(name=mySpace)]
 Service attributes: [com.j_spaces.lookup.entry.State(state=started,electable=null,replicable=null)]
 Lookup timeout: [5000]
 Classes: [interface com.j_spaces.core.service.Service]
 Jini Lookup Groups: [tvs_gigaspace]
 Number of Lookup Services: 2

But when I' starting Gigaspaces locally(without cluster) - all is deployed normally. That my config for EDS in pu.xml

<os-sla:sla cluster-schema="partitioned-sync2backup"
            number-of-instances="2" number-of-backups="1"

<os-core:space id="space" url="/./mySpace" space-data-source="hbaseSpaceDataSource"
<os-core:giga-space id="gigaSpace" space="space" clustered="true"/>

But when I'm deleting "space-data-source" and "space-sync-endpoint" properties - that normally deployed in cluster. My class for space-data-source property very simple and normally working in non-clustered Gigaspaces(normally saving objects to HBase and loading from HBase).

asked 2013-11-20 23:42:40 -0500

ssherbakov gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

see attached hbase-XAP-EDS-example. Rename to zip. I took out the hbase jar. Shay


answered 2013-11-21 12:03:09 -0500

shay hassidim gravatar image
edit flag offensive delete link more


@shay hassidim: image is not working

Kamil K gravatar imageKamil K ( 2014-03-24 12:04:36 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-11-20 23:42:40 -0500

Seen: 169 times

Last updated: Nov 21 '13