ignite

Ignite c++ client for cassandra integration

断了今生、忘了曾经 提交于 2019-12-11 01:26:03
问题 I am developing an application for data communication in that i want to communicate to cassandra through ignite c++. when i try to put data to cassandra its works fine. but i can't get the data from the same. here is my code. test.h namespace ignite { namespace examples { struct Test { Test() { // No-op. } Test(const std::string& assetid, const std::string& asset_desc, const std::string& groupid) : assetid (assetid), asset_desc (asset_desc), groupid (groupid) { // No-op. } std::string

Join Query in Apache Ignite

萝らか妹 提交于 2019-12-11 01:08:28
问题 How is spatial join query executed among the nodes in PARTITIONED mode? As Ignite partition the data (default 1024) among the nodes using Rendezvous Affinity hashing, how is join operation executed among the partitions? Suppose I have two spatial datasets in the cache (pCache and qCache), each contains 10 partitions(1, .., 10). How is ignite perform the join operation on this two dataset? Is it partition1 of pCache with partition1 of qCache? My second question: How is ignite perform the same

Closures stuck in 2.0 when try to add an element into the queue

混江龙づ霸主 提交于 2019-12-10 19:23:28
问题 We have a use case as below 1-) Start 2 ignite instance as data nodes and insert data into the cache. 2-) Create a queue and register a remote listener by using remoteListen as below //Queue creation CollectionConfiguration colCfg = new CollectionConfiguration(); colCfg.setCacheMode(PARTITIONED); IgniteQueue<BinaryObject> queue = Ignition.ignite().queue(queueName, 0, colCfg); //Remote Listener Closure IgnitePredicate<CacheEvent> rmtLsnr = new IgnitePredicate<CacheEvent>() { @Override public

OData Exception The limit of '0' for Top query has been exceeded

天涯浪子 提交于 2019-12-10 12:29:44
问题 I am using OData Web API for Version 4, when I try to query OData web Api using $top parameter, it return me following exception message. The query specified in the URI is not valid. The limit of '0' for Top query has been exceeded. The value from the incoming request is '10' I am using Apache Ignite dotNet LINQ as data source instead of Entity Framework, my OData controller action method is as follows: [EnableQuery] public IQueryable<Productioncurvepnl> GetProductioncurvepnl() { Console

Apache Ignite - java.lang.ClassNotFoundException: Unknown pair

有些话、适合烂在心里 提交于 2019-12-10 11:43:11
问题 this is my last attempt to configure Apache Ignite 2.0 to work with Cassandra as persistence layer and ODBC as query layer. ODBC configuration is ok, I am able to put and get data in the cache with sql, but when I plug in Cassandra (version 3.9 via docker image) as persistence layer I get this: java.lang.ClassNotFoundException: Unknown pair [platformId=0, typeId=1262449073] I tried googling around for this exception but got no useful hint. Here's my Ignite configuration : boolean persistence

Failed to retrieve Ignite pods IP addresses

泄露秘密 提交于 2019-12-10 10:37:26
问题 I am trying to run apache ignite cluster using Google Kubernetes Engine. After following the tutorial here are some yaml files. First I create a service - ignite-service.yaml apiVersion: v1 kind: Service metadata: # Name of Ignite Service used by Kubernetes IP finder. # The name must be equal to TcpDiscoveryKubernetesIpFinder.serviceName. name: ignite namespace: default spec: clusterIP: None # custom value. ports: - port: 9042 # custom value. selector: # Must be equal to one of the labels set

AffinityKeyMapped not working with Ignite 2.4/2.5/2.6 and Scala

社会主义新天地 提交于 2019-12-08 12:53:07
问题 Using Scala 2.11.7/Java 1.8.0_161/RHEL7. We have two caches whose elements share the same affinity key. The affinity key is defined as follows: case class IgniteTradePayloadKey( @(AffinityKeyMapped@field) tradeKey: TradeKey, ... other fields ) extends Serializable case class IgniteDealPayloadKey( @(AffinityKeyMapped@field) tradeKey: TradeKey, child: Int, ... other fields ) extends Serializable Those are used as key to two ignite caches (Trades and Deals). We want instances of Trades and Deals

How to cache Dataframe in Apache ignite

大兔子大兔子 提交于 2019-12-07 23:14:09
问题 I am writing a code to cache RDBMS data using spark SQLContext JDBC connection. Once a Dataframe is created I want to cache that reusltset using apache ignite thereby making other applications to make use of the resultset. Here is the code snippet. object test { def main(args:Array[String]) { val configuration = new Configuration() val config="src/main/scala/config.xml" val sparkConf = new SparkConf().setAppName("test").setMaster("local[*]") val sc=new SparkContext(sparkConf) val sqlContext =

Using Ignite on JDK 9

帅比萌擦擦* 提交于 2019-12-07 11:36:56
问题 I am having trouble using Ignite on JDK 9. I have the following minimal testcase: package no.ovstetun.ignite; import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi; import org.junit.Test; public class FailingIgniteTest { @Test public void failingIgnite() { TcpDiscoverySpi discoverySpi = new TcpDiscoverySpi(); } } This code sample fails with the following stacktrace: java.lang.ExceptionInInitializerError at org.apache.ignite.internal.util.IgniteUtils.<clinit>(IgniteUtils.java:769) at org

Apache Ignite - java.lang.ClassNotFoundException: Unknown pair

混江龙づ霸主 提交于 2019-12-07 10:32:31
this is my last attempt to configure Apache Ignite 2.0 to work with Cassandra as persistence layer and ODBC as query layer. ODBC configuration is ok, I am able to put and get data in the cache with sql, but when I plug in Cassandra (version 3.9 via docker image) as persistence layer I get this: java.lang.ClassNotFoundException: Unknown pair [platformId=0, typeId=1262449073] I tried googling around for this exception but got no useful hint. Here's my Ignite configuration : boolean persistence = true; IgniteConfiguration cfg = new IgniteConfiguration(); CacheConfiguration<String, ValueClass>