[jira] [Created] (IGNITE-12372) Thin Jdbc driver with collocated=true return per node results
Sergey Kozlov created IGNITE-12372: -- Summary: Thin Jdbc driver with collocated=true return per node results Key: IGNITE-12372 URL: https://issues.apache.org/jira/browse/IGNITE-12372 Project: Ignite Issue Type: Bug Components: sql Affects Versions: 2.7.6 Reporter: Sergey Kozlov # Start two nodes (in-memory) # Run sqlline \{{>bin\sqlline.bat -d org.apache.ignite.IgniteJdbcThinDriver -u jdbc:ignite:thin://127.0.0.1/?collocated=true}} # Create a table and select aggregation functions: {noformat} : jdbc:ignite:thin://127.0.0.1/> create table t1 (a int not null primary key, b varchar) with "template=partitioned"; No rows affected (0,15 seconds) 0: jdbc:ignite:thin://127.0.0.1/> insert into t1 values (1, 'a'), (2, 'b'), (3, 'c'), (4, 'd'); 4 rows affected (0,091 seconds) 0: jdbc:ignite:thin://127.0.0.1/> select * from t1; +++ | A | B | +++ | 1 | a | | 2 | b | | 4 | d | | 3 | c | +++ 4 rows selected (0,074 seconds) 0: jdbc:ignite:thin://127.0.0.1/> select count(*) from t1; ++ | COUNT(*) | ++ | 3 | | 1 | ++ 2 rows selected (0,011 seconds) 0: jdbc:ignite:thin://127.0.0.1/> select min(a), max(b) from t1; +++ | MIN(A) | MAX(B) | +++ | 1 | d | | 3 | c | +++ 2 rows selected (0,012 seconds) 0: jdbc:ignite:thin://127.0.0.1/> select min(a), max(a) from t1; +++ | MIN(A) | MAX(A) | +++ | 1 | 4 | | 3 | 3 | +++ 2 rows selected (0,01 seconds) 0: jdbc:ignite:thin://127.0.0.1/> {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (IGNITE-11588) The wrong result for Query
Sergey Kozlov created IGNITE-11588: -- Summary: The wrong result for Query Key: IGNITE-11588 URL: https://issues.apache.org/jira/browse/IGNITE-11588 Project: Ignite Issue Type: Bug Components: platforms Affects Versions: 2.7 Environment: Windows 10, Visual Studio 2010 Pro, Oracle JDK 8 Reporter: Sergey Kozlov I use modified C++ Query Example (see attached files) that verify the received result against expected one and print out message if they're different. Just copy *.cpp file in {{platforms/cpp/examples/query-example/src}} and build example project 1. Start two nodes {{bin\ignite.bat query-example-fix.xml -v}} 2. Run query-example.exe: {noformat} [13:35:48] Ignite node started OK (id=1e2c0f81) [13:35:48] Topology snapshot [ver=3, locNode=1e2c0f81, servers=3, clients=0, state=ACTIVE, CPUs=8, offheap=9.5GB, heap=2.9GB] >>> Cache query example started. Iteration 698. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 699. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 700. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 701. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 702. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 703. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 704. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 705. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 996. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 997. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 998. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 999. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 [13:35:51] Ignite node stopped OK [uptime=00:00:02.652] >>> Example finished, press 'Enter' to exit ... {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-11586) Update platforms/cpp/DEVNOTES.txt
Sergey Kozlov created IGNITE-11586: -- Summary: Update platforms/cpp/DEVNOTES.txt Key: IGNITE-11586 URL: https://issues.apache.org/jira/browse/IGNITE-11586 Project: Ignite Issue Type: Bug Components: platforms Affects Versions: 2.7 Environment: Windows 10 Pro, Visual Studio 2010 Pro, Oracle JDK 8 Reporter: Sergey Kozlov Fix For: 2.8 ODBC compilation required OpenSSL headers and the project compilation fails due to unable to open {{include/openssl/ssl.h}}. I suggest to add the requirement to install OpenSSL and set the corresponding environment variable: {noformat} Building on Windows with Visual Studio (tm) -- Common Requirements: ... * OPENSSL_HOME environment variable must be set pointing to OpenSSL installation directory. {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-11501) Build examples failed with Scala profile and Java11
Sergey Kozlov created IGNITE-11501: -- Summary: Build examples failed with Scala profile and Java11 Key: IGNITE-11501 URL: https://issues.apache.org/jira/browse/IGNITE-11501 Project: Ignite Issue Type: Bug Components: examples Affects Versions: 2.7 Environment: Open JDK 11.0.1, Windows 10 64bit Reporter: Sergey Kozlov Import in IDEA {{examples}/pom.xml} with {{scala}} profile. The compilation failed: {noformat} C:\Java\open-jdk-11.0.1\bin\java.exe -Dmaven.multiModuleProjectDirectory=C:\Work\apache-ignite-2.7.0-bin\examples "-Dmaven.home=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.5\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.5\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.5\lib\idea_rt.jar=52182:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.5\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.5\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2018.3.5 compile -P scala [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.ignite:ignite-examples:jar:2.7.0 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 204, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] [INFO] Building ignite-examples 2.7.0 [INFO] Downloading: http://h2database.com/m2-repo/commons-codec/commons-codec/maven-metadata.xml [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.199 s [INFO] Finished at: 2019-03-07T11:17:10+03:00 [INFO] Final Memory: 18M/67M [INFO] [ERROR] Failed to execute goal on project ignite-examples: Could not resolve dependencies for project org.apache.ignite:ignite-examples:jar:2.7.0: Could not find artifact jdk.tools:jdk.tools:jar:1.6 at specified path C:\Java\open-jdk-11.0.1/../lib/tools.jar -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-11421) There's no AI version in ODBC driver available for a connection
Sergey Kozlov created IGNITE-11421: -- Summary: There's no AI version in ODBC driver available for a connection Key: IGNITE-11421 URL: https://issues.apache.org/jira/browse/IGNITE-11421 Project: Ignite Issue Type: Bug Components: platforms Affects Versions: 2.7 Reporter: Sergey Kozlov I use {{pyodbc}} and successfuly connected to AI cluster But all connections attributes have no AI version: {noformat} print(conn.getinfo(SQL_DRIVER_NAME)) Apache Ignite print(conn.getinfo(SQL_DRIVER_ODBC_VER)) 03.00 print(conn.getinfo(SQL_DRIVER_VER)) 02.04. print(conn.getinfo(SQL_DBMS_VER)) 02.04. print(conn.getinfo(SQL_ODBC_VER )) 03.80. {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-11363) Document replicated cache performance degradation.
Sergey Kozlov created IGNITE-11363: -- Summary: Document replicated cache performance degradation. Key: IGNITE-11363 URL: https://issues.apache.org/jira/browse/IGNITE-11363 Project: Ignite Issue Type: Task Reporter: Sergey Kozlov Fix For: 2.8 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-11328) Ignite binary build is too big
Sergey Kozlov created IGNITE-11328: -- Summary: Ignite binary build is too big Key: IGNITE-11328 URL: https://issues.apache.org/jira/browse/IGNITE-11328 Project: Ignite Issue Type: Bug Affects Versions: 2.8 Reporter: Sergey Kozlov Fix For: 2.8 I built Apache Ignite and get zip file is ~ 800MB. +400MB added by 4 ML modules in {{libs/optional}} Looks like it should be redesigned (join in a single module and at least it will remove same deps) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-11249) Client failed to putAll/removeAll into mvcc cache during server node restarts
Sergey Kozlov created IGNITE-11249: -- Summary: Client failed to putAll/removeAll into mvcc cache during server node restarts Key: IGNITE-11249 URL: https://issues.apache.org/jira/browse/IGNITE-11249 Project: Ignite Issue Type: Bug Components: sql Affects Versions: 2.7 Reporter: Sergey Kozlov Attachments: CachePutAllGetAllExample.java, ExampleNodeStartupRestart.java Use IDEa and ignite-example project 1. Run {{ExampleNodeStartup}} 2. Run {{ExampleNodeStartupRestart}} 3. Run {{CachePutAllGetAllExample}} and it fails atfter a few iterations: {noformat} [2019-02-07 18:39:00,110][INFO ][sys-#40][GridDhtPartitionsExchangeFuture] Finish exchange future [startVer=AffinityTopologyVersion [topVer=5, minorTopVer=1], resVer=AffinityTopologyVersion [topVer=5, minorTopVer=1], err=null] [2019-02-07 18:39:00,116][INFO ][sys-#40][GridDhtPartitionsExchangeFuture] Completed partition exchange [localNode=f5f98ea6-3a7b-4e7e-bf9a-dc731f13a1e8, exchange=GridDhtPartitionsExchangeFuture [topVer=AffinityTopologyVersion [topVer=5, minorTopVer=1], evt=DISCOVERY_CUSTOM_EVT, evtNode=TcpDiscoveryNode [id=9f903121-c4d6-433f-ba62-6f864d967de9, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 172.25.4.52], sockAddrs=[work-pc.gridgain.local/172.25.4.52:47500, /0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500], discPort=47500, order=1, intOrder=1, lastExchangeTime=1549553936989, loc=false, ver=2.7.2#20190205-sha1:43e3211d, isClient=false], done=true], topVer=AffinityTopologyVersion [topVer=5, minorTopVer=1]] [2019-02-07 18:39:00,116][INFO ][sys-#40][GridDhtPartitionsExchangeFuture] Exchange timings [startVer=AffinityTopologyVersion [topVer=5, minorTopVer=1], resVer=AffinityTopologyVersion [topVer=5, minorTopVer=1], stage="Waiting in exchange queue" (0 ms), stage="Exchange parameters initialization" (0 ms), stage="Determine exchange type" (5 ms), stage="Waiting for Full message" (176 ms), stage="Affinity recalculation" (0 ms), stage="Full map updating" (3 ms), stage="Exchange done" (5 ms), stage="Total time" (189 ms)] [2019-02-07 18:39:00,116][INFO ][sys-#40][GridDhtPartitionsExchangeFuture] Exchange longest local stages [startVer=AffinityTopologyVersion [topVer=5, minorTopVer=1], resVer=AffinityTopologyVersion [topVer=5, minorTopVer=1], stage="Affinity change by custom message [grp=CachePutAllGetAllExample]" (5 ms) (parent=Determine exchange type), stage="Affinity change by custom message [grp=ignite-sys-cache]" (2 ms) (parent=Determine exchange type)] [2019-02-07 18:39:00,118][INFO ][exchange-worker-#38][GridCachePartitionExchangeManager] Skipping rebalancing (no affinity changes) [top=AffinityTopologyVersion [topVer=5, minorTopVer=1], rebTopVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], evt=DISCOVERY_CUSTOM_EVT, evtNode=9f903121-c4d6-433f-ba62-6f864d967de9, client=true] [2019-02-07 18:39:00,612][ERROR][mgmt-#50][GridTaskWorker] Failed to obtain remote job result policy for result from ComputeTask.result(..) method (will fail the whole task): GridJobResultImpl [job=o.a.i.i.processors.cache.distributed.GridDistributedCacheAdapter$GlobalRemoveAllJob@13006998, sib=GridJobSiblingImpl [sesId=f949c98c861-f5f98ea6-3a7b-4e7e-bf9a-dc731f13a1e8, jobId=1a49c98c861-f5f98ea6-3a7b-4e7e-bf9a-dc731f13a1e8, nodeId=200134a1-d732-4831-85c2-9185f65428ff, isJobDone=false], jobCtx=GridJobContextImpl [jobId=1a49c98c861-f5f98ea6-3a7b-4e7e-bf9a-dc731f13a1e8, timeoutObj=null, attrs={}], node=TcpDiscoveryNode [id=200134a1-d732-4831-85c2-9185f65428ff, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 172.25.4.52], sockAddrs=[work-pc.gridgain.local/172.25.4.52:47501, /0:0:0:0:0:0:0:1:47501, /127.0.0.1:47501], discPort=47501, order=5, intOrder=4, lastExchangeTime=1549553938177, loc=false, ver=2.7.2#20190205-sha1:43e3211d, isClient=false], ex=class o.a.i.compute.ComputeUserUndeclaredException: Failed to execute job due to unexpected runtime exception [jobId=1a49c98c861-f5f98ea6-3a7b-4e7e-bf9a-dc731f13a1e8, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=o.a.i.i.processors.cache.distributed.GridDistributedCacheAdapter$RemoveAllTask, dep=GridDeployment [ts=1549553938287, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@18b4aac2, clsLdrId=cae5c98c861-200134a1-d732-4831-85c2-9185f65428ff, userVer=0, loc=true, sampleClsName=o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap, pendingUndeploy=false, undeployed=false, usage=1], taskClsName=o.a.i.i.processors.cache.distributed.GridDistributedCacheAdapter$RemoveAllTask, sesId=f949c98c861-f5f98ea6-3a7b-4e7e-bf9a-dc731f13a1e8, startTime=1549553940190, endTime=9223372036854775807, taskNodeId=f5f98ea6-3a7b-4e7e-bf9a-dc731f13a1e8, clsLdr=sun.misc.Launcher$AppClassLoader@18b4aac2, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, internal=true, topPred=null,
[jira] [Created] (IGNITE-11237) GetAll may return less data during server node restart
Sergey Kozlov created IGNITE-11237: -- Summary: GetAll may return less data during server node restart Key: IGNITE-11237 URL: https://issues.apache.org/jira/browse/IGNITE-11237 Project: Ignite Issue Type: Bug Affects Versions: 2.7 Reporter: Sergey Kozlov Attachments: CachePutAllGetAllExample.java, ExampleNodeStartupRestart.java 0. Use ignite-examples project and Idea 1. Run {{ExampleNodeStartup}} 2. Run {{ExampleNodeStartupRestart}} 3. Run {{CachePutAllGetAllExample}} Sometimes the received entries number less than expected: {noformat} [17:37:25] Ignite node started OK (id=3497ca71) [17:37:25] Topology snapshot [ver=4, locNode=3497ca71, servers=1, clients=1, state=ACTIVE, CPUs=8, offheap=3.2GB, heap=7.1GB] Iteration: 10 [17:37:26] Topology snapshot [ver=5, locNode=3497ca71, servers=2, clients=1, state=ACTIVE, CPUs=8, offheap=6.4GB, heap=11.0GB] Iteration: 20 Iteration: 30 Iteration: 40 Iteration: 50 Iteration: 60 Iteration: 70 Iteration: 80 Iteration: 90 Iteration: 100 Iteration: 110 [17:37:31] Topology snapshot [ver=6, locNode=3497ca71, servers=1, clients=1, state=ACTIVE, CPUs=8, offheap=3.2GB, heap=7.1GB] [2019-02-06 17:37:31,924][ERROR][main][TcpCommunicationSpi] Failed to send message to remote node [node=TcpDiscoveryNode [id=75d87e82-b466-47c0-8043-d9f7b2c22a60, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 172.25.4.52], sockAddrs=[work-pc.gridgain.local/172.25.4.52:47501, /0:0:0:0:0:0:0:1:47501, /127.0.0.1:47501], discPort=47501, order=5, intOrder=4, lastExchangeTime=1549463846635, loc=false, ver=2.7.2#20190205-sha1:43e3211d, isClient=false], msg=GridIoMessage [plc=2, topic=TOPIC_CACHE, topicOrd=8, ordered=false, timeout=0, skipOnTimeout=false, msg=GridNearGetRequest [futId=584ed33c861-8714c669-3f45-45c3-ab40-622a61666c43, miniId=784ed33c861-8714c669-3f45-45c3-ab40-622a61666c43, ver=null, keyMap=null, flags=1, topVer=AffinityTopologyVersion [topVer=5, minorTopVer=1], subjId=3497ca71-1ded-4e60-9396-5a32a0340977, taskNameHash=0, createTtl=-1, accessTtl=-1, mvccSnapshot=null]]] class org.apache.ignite.internal.cluster.ClusterTopologyCheckedException: Failed to send message (node left topology): TcpDiscoveryNode [id=75d87e82-b466-47c0-8043-d9f7b2c22a60, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 172.25.4.52], sockAddrs=[work-pc.gridgain.local/172.25.4.52:47501, /0:0:0:0:0:0:0:1:47501, /127.0.0.1:47501], discPort=47501, order=5, intOrder=4, lastExchangeTime=1549463846635, loc=false, ver=2.7.2#20190205-sha1:43e3211d, isClient=false] at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.createTcpClient(TcpCommunicationSpi.java:3281) at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.createNioClient(TcpCommunicationSpi.java:2992) at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.reserveClient(TcpCommunicationSpi.java:2873) at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:2716) at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:2675) at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1656) at org.apache.ignite.internal.managers.communication.GridIoManager.sendToGridTopic(GridIoManager.java:1731) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:1245) at org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedGetFuture.map(GridPartitionedGetFuture.java:334) at org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedGetFuture.initialMap(GridPartitionedGetFuture.java:176) at org.apache.ignite.internal.processors.cache.distributed.dht.GridPartitionedGetFuture.init(GridPartitionedGetFuture.java:162) at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.getAllAsync0(GridDhtAtomicCache.java:1640) at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.getAllAsyncInternal(GridDhtAtomicCache.java:589) at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.getAll0(GridDhtAtomicCache.java:498) at org.apache.ignite.internal.processors.cache.GridCacheAdapter.getAll(GridCacheAdapter.java:1587) at org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.getAll(IgniteCacheProxyImpl.java:1130) at org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.getAll(GatewayProtectedCacheProxy.java:686) at org.apache.ignite.examples.datagrid.CachePutAllGetAllExample.putAllGetAll(CachePutAllGetAllExample.java:94) at org.apache.ignite.examples.datagrid.CachePutAllGetAllExample.main(CachePutAllGetAllExample.java:66) ERROR GetAll size: 1048 Iteration: 120
[jira] [Created] (IGNITE-11218) COUNT(*) may return wrong value with PDS
Sergey Kozlov created IGNITE-11218: -- Summary: COUNT(*) may return wrong value with PDS Key: IGNITE-11218 URL: https://issues.apache.org/jira/browse/IGNITE-11218 Project: Ignite Issue Type: Bug Components: sql Affects Versions: 2.7 Reporter: Sergey Kozlov Attachments: count.zip 1. Unzip attached file into {{examples}} directory 2. Open {{ignite-examples}} project in IDEA. 3. Start at least 3 nodes {{bin/ignite.sh examples/config/count.xml -v}} 4. Run {{SqlJdbcCountExample}} {noformat} [23:54:44] Ignite node started OK (id=97f4654e) [23:54:44] >>> Ignite cluster is not active (limited functionality available). Use control.(sh|bat) script or IgniteCluster interface to activate. [23:54:44] Topology snapshot [ver=4, locNode=97f4654e, servers=3, clients=1, state=INACTIVE, CPUs=4, offheap=0.66GB, heap=8.3GB] [23:54:45] Ignite node stopped OK [uptime=00:00:01.238] >>> Connected to server. >>> Attempt 1 >>> ERROR! Expected 500 entries for table t1 but got 498 entries >>> Attempt 2 >>> ERROR! Expected 500 entries for table t2 but got 476 entries >>> Attempt 3 >>> ERROR! Expected 500 entries for table t3 but got 477 entries >>> Attempt 4 >>> ERROR! Expected 500 entries for table t4 but got 430 entries >>> Attempt 5 >>> Attempt 6 >>> ERROR! Expected 500 entries for table t6 but got 486 entries >>> Attempt 7 >>> Attempt 8 >>> ERROR! Expected 500 entries for table t8 but got 463 entries >>> Attempt 9 {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-11094) Add SSL support for ignite zookeeper SPI
Sergey Kozlov created IGNITE-11094: -- Summary: Add SSL support for ignite zookeeper SPI Key: IGNITE-11094 URL: https://issues.apache.org/jira/browse/IGNITE-11094 Project: Ignite Issue Type: Improvement Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.8 ZK 3.5.4-beta is already supporting SSL. We should add SSL support to ZK server connections if Zookeeper SPI used -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-11048) Start node with TTL caches causes failure handler activity
Sergey Kozlov created IGNITE-11048: -- Summary: Start node with TTL caches causes failure handler activity Key: IGNITE-11048 URL: https://issues.apache.org/jira/browse/IGNITE-11048 Project: Ignite Issue Type: Bug Affects Versions: 2.7 Reporter: Sergey Kozlov Attachments: 1.xml, ignite-1cecc333.0.log 1. Start 1 node with attache config 2. Look at node log: {noformat} [17:04:51,386][INFO][main][GridCacheProcessor] Finished restoring partition state for local groups [groupsProcessed=11, partitionsProcessed=0, time=6135ms] [17:04:51,387][INFO][main][GridCacheDatabaseSharedManager] Partition states information after LOGICAL RECOVERY phase: [17:04:54,847][SEVERE][nio-acceptor-tcp-comm-#28][G] Blocked system-critical thread has been detected. This can lead to cluster-wide undefined behaviour [threadName=ttl-cleanup-worker, blockedFor=16s] [17:04:54,848][WARNING][nio-acceptor-tcp-comm-#28][G] Thread [name="ttl-cleanup-worker-#45", id=74, state=WAITING, blockCnt=0, waitCnt=1] [17:04:54,849][SEVERE][nio-acceptor-tcp-comm-#28][] Critical system error detected. Will be handled accordingly to configured handler [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, super=AbstractFailureHandler [ignoredFailureTypes=[SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]], failureCtx=FailureContext [type=SYSTEM_WORKER_BLOCKED, err=class o.a.i.IgniteException: GridWorker [name=ttl-cleanup-worker, igniteInstanceName=null, finished=false, heartbeatTs=1548252278711]]] class org.apache.ignite.IgniteException: GridWorker [name=ttl-cleanup-worker, igniteInstanceName=null, finished=false, heartbeatTs=1548252278711] at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance$2.apply(IgnitionEx.java:1833) at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance$2.apply(IgnitionEx.java:1828) at org.apache.ignite.internal.worker.WorkersRegistry.onIdle(WorkersRegistry.java:233) at org.apache.ignite.internal.util.worker.GridWorker.onIdle(GridWorker.java:297) at org.apache.ignite.internal.util.nio.GridNioServer$GridNioAcceptWorker.accept(GridNioServer.java:2938) at org.apache.ignite.internal.util.nio.GridNioServer$GridNioAcceptWorker.body(GridNioServer.java:2877) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120) at java.lang.Thread.run(Thread.java:748) [17:04:54,849][WARNING][nio-acceptor-tcp-comm-#28][FailureProcessor] No deadlocked threads detected. [17:04:55,030][WARNING][nio-acceptor-tcp-comm-#28][FailureProcessor] Thread dump at 2019/01/23 17:04:55 MSK Thread [name="ttl-cleanup-worker-#45", id=74, state=WAITING, blockCnt=0, waitCnt=1] at sun.misc.Unsafe.park(Native Method) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:304) at o.a.i.i.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:178) at o.a.i.i.util.future.GridFutureAdapter.get(GridFutureAdapter.java:141) at o.a.i.i.managers.discovery.GridDiscoveryManager.localJoin(GridDiscoveryManager.java:2205) at o.a.i.i.processors.cache.GridCacheSharedTtlCleanupManager$CleanupWorker.body(GridCacheSharedTtlCleanupManager.java:133) {noformat} Note: there's no similar issues for AI 2.5 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10977) Document unsupported clean() call for MVCC caches
Sergey Kozlov created IGNITE-10977: -- Summary: Document unsupported clean() call for MVCC caches Key: IGNITE-10977 URL: https://issues.apache.org/jira/browse/IGNITE-10977 Project: Ignite Issue Type: Task Components: documentation Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.8 Now MVCC caches don't support {{cache.clean()}} by design. So let's document it as a known limitations (I suppose we should have such page on readme.io) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10892) Add support JDK 10/11 for ignite.sh(.bat)
Sergey Kozlov created IGNITE-10892: -- Summary: Add support JDK 10/11 for ignite.sh(.bat) Key: IGNITE-10892 URL: https://issues.apache.org/jira/browse/IGNITE-10892 Project: Ignite Issue Type: Improvement Affects Versions: 2.5, 2.4 Reporter: Sergey Kozlov Start ignite.sh(.bat) shows following: {noformat} The version of JAVA installed in JAVA_HOME=/usr/lib/jvm/java-10-oracle is incorrect. Please point JAVA_HOME variable to installation of JDK 1.8 or JDK 9. You can also download latest JDK at http://java.com/download {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10678) Shell script unification
Sergey Kozlov created IGNITE-10678: -- Summary: Shell script unification Key: IGNITE-10678 URL: https://issues.apache.org/jira/browse/IGNITE-10678 Project: Ignite Issue Type: Improvement Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 3.0 Ignite distriburion package includes following scripts: {noformat} bin/control.sh bin/ignite.sh bin/ignite-rf.sh bin/igniterouter.sh bin/ignitevisorcmd.sh bin/sqlline.sh {noformat} and same set with {{.bat}} extension The scripts has own logic for java version detecting, set ignite home, class path and so on. Also similar commands for different scripts designed differently (like argument naming). I suppose the scripts should be redesigned by following rules: - the script code should contain one line - just call a proper java class and pass all command-line arguments - use common argument parser for all scripts Optional: - make interactive controls.sh - deprecate ignitevisorcmd and move the commands into control.sh (also it will allow to remove demo node mode) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10631) examples/sql/world.sql doesn't work for IgniteJdbcDriver
Sergey Kozlov created IGNITE-10631: -- Summary: examples/sql/world.sql doesn't work for IgniteJdbcDriver Key: IGNITE-10631 URL: https://issues.apache.org/jira/browse/IGNITE-10631 Project: Ignite Issue Type: Bug Components: examples Affects Versions: 2.7 Reporter: Sergey Kozlov -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10630) Missed descriptions for ML packages
Sergey Kozlov created IGNITE-10630: -- Summary: Missed descriptions for ML packages Key: IGNITE-10630 URL: https://issues.apache.org/jira/browse/IGNITE-10630 Project: Ignite Issue Type: Bug Components: build Affects Versions: 2.7 Reporter: Sergey Kozlov There're two modules in JavaDoc with missed descriptions: {noformat} org.apache.ignite.ml.math.exceptions.preprocessing org.apache.ignite.ml.selection.scoring.evaluator {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10608) SpringDataExample fails with java.lang.AbstractMethodError
Sergey Kozlov created IGNITE-10608: -- Summary: SpringDataExample fails with java.lang.AbstractMethodError Key: IGNITE-10608 URL: https://issues.apache.org/jira/browse/IGNITE-10608 Project: Ignite Issue Type: Bug Components: examples Reporter: Sergey Kozlov Open example prject in IDEA compile and run {{SpringDataExample}}: {noformat} [23:18:34] Topology snapshot [ver=1, locNode=d4e3a93b, servers=1, clients=0, state=ACTIVE, CPUs=4, offheap=4.8GB, heap=5.3GB] [23:18:34] Ignite node stopped OK [name=springDataNode, uptime=00:00:00.120] Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personRepository': Initialization of bean failed; nested exception is java.lang.AbstractMethodError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) at org.apache.ignite.examples.springdata.SpringDataExample.igniteSpringDataInit(SpringDataExample.java:79) at org.apache.ignite.examples.springdata.SpringDataExample.main(SpringDataExample.java:52) Caused by: java.lang.AbstractMethodError at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:99) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:302) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:129) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1284) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) ... 10 more {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10521) Creating table with datetime for PK leads to j.l.IndexOutOfBoundsException on server node
Sergey Kozlov created IGNITE-10521: -- Summary: Creating table with datetime for PK leads to j.l.IndexOutOfBoundsException on server node Key: IGNITE-10521 URL: https://issues.apache.org/jira/browse/IGNITE-10521 Project: Ignite Issue Type: Bug Affects Versions: 2.5, 2.7 Reporter: Sergey Kozlov Fix For: 2.8 1. Start serve node with PDS 2. Run sqlline via thin driver 3. Execute {noformat} 0: jdbc:ignite:thin://127.0.0.1/> CREATE TABLE t308 ( id DATE NOT NULL, col1 INT NOT NULL, col2 VARCHAR, PRIMARY KEY (id )) ; Error: class org.apache.ignite.IgniteCheckedException: Failed to find value class in the node classpath (use default mar shaller to enable binary objects) : SQL_PUBLIC_T308_bb0725c8_7db7_4309_8f4a_a63d2fffa706 (state=5,code=0) java.sql.SQLException: class org.apache.ignite.IgniteCheckedException: Failed to find value class in the node classpath (use default marshaller to enable binary objects) : SQL_PUBLIC_T308_bb0725c8_7db7_4309_8f4a_a63d2fffa706 at org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:753) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:210) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute(JdbcThinStatement.java:473) at sqlline.Commands.execute(Commands.java:823) at sqlline.Commands.sql(Commands.java:733) at sqlline.SqlLine.dispatch(SqlLine.java:795) at sqlline.SqlLine.begin(SqlLine.java:668) at sqlline.SqlLine.start(SqlLine.java:373) at sqlline.SqlLine.main(SqlLine.java:265) {noformat} We do not support datetime for PK but server node stopped: {noformat} [14:26:32,882][INFO][exchange-worker-#43][CacheAffinitySharedManager] Updating caches registry performed in 3 ms. [14:26:32,963][SEVERE][exchange-worker-#43][CacheAffinitySharedManager] Failed to initialize cache. Will try to rollback cache start routine. [cacheName=SQL_PUBLIC_T2] class org.apache.ignite.IgniteCheckedException: Failed to find value class in the node classpath (use default marshaller to enable binary objects) : SQL_PUBLIC_T2_7080b5da_4dde_4491_b596_4a085313a98d at org.apache.ignite.internal.processors.query.QueryUtils.typeForQueryEntity(QueryUtils.java:451) at org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart0(GridQueryProcessor.java:700) at org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart(GridQueryProcessor.java:860) at org.apache.ignite.internal.processors.cache.GridCacheProcessor.startCache(GridCacheProcessor.java:1212) at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1972) at org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.processCacheStartRequests(CacheAffinitySharedManager.java:880) at org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:780) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:1065) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:696) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2582) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2462) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at java.lang.Thread.run(Thread.java:748) [14:26:32,964][INFO][exchange-worker-#43][CacheAffinitySharedManager] Caches starting performed in 82 ms. [14:26:32,966][INFO][exchange-worker-#43][CacheAffinitySharedManager] Affinity initialization for started caches performed in 2 ms. [14:26:32,968][INFO][exchange-worker-#43][GridDhtPartitionsExchangeFuture] Finished waiting for partition release future [topVer=AffinityTopologyVersion [topVer=4, minorTopVer=4], waitTime=0ms, futInfo=NA, mode=DISTRIBUTED] [14:26:32,973][INFO][exchange-worker-#43][GridDhtPartitionsExchangeFuture] Finished waiting for partitions release latch: ClientLatch [coordinator=TcpDiscoveryNode [id=904904a6-d889-4265-8866-dba136019718, addrs=ArrayList [127.0.0.1], sockAddrs=HashSet [/127.0.0.1:47500], discPort=47500, order=1, intOrder=1, lastExchangeTime=1543922782601, loc=false, ver=2.5.3#20181026-sha1:6261c02a, isClient=false], ackSent=true, super=CompletableLatch [id=exchange, topVer=AffinityTopologyVersion [topVer=4, minorTopVer=4]]]
[jira] [Created] (IGNITE-10393) DataStreamer failed with NPE for MVCC caches
Sergey Kozlov created IGNITE-10393: -- Summary: DataStreamer failed with NPE for MVCC caches Key: IGNITE-10393 URL: https://issues.apache.org/jira/browse/IGNITE-10393 Project: Ignite Issue Type: Bug Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 1. Start node with configured MVCC cache and PDS 2. Try to load data into cache by data streamer running on client node {noformat} OUT >>> datastreamer into cache 'cache_121', key=java.lang.Long, value=org.apache.ignite.testtools.model.AllTypes, range=21..51 [14:55:16] (err) Failed to execute compound future reducer: GridCompoundFuture [rdc=null, initFlag=1, lsnrCalls=0, done=false, cancelled=false, err=null, futs=TransformCollectionView [true, false, false, true]][14:55:16] (err) Failed to execute compound future reducer: GridCompoundFuture [rdc=null, initFlag=1, lsnrCalls=0, done=false, cancelled=false, err=null, futs=TransformCollectionView [true, true, false, true]][14:55:16] (err) Failed to execute compound future reducer: GridCompoundFuture [rdc=null, initFlag=1, lsnrCalls=0, done=false, cancelled=false, err=null, futs=TransformCollectionView [true, false, false, true]]class org.apache.ignite.IgniteCheckedException: DataStreamer request failed [node=5fae5c99-716e-441a-99d5-194de6ba61a6] at org.apache.ignite.internal.processors.datastreamer.DataStreamerImpl$Buffer.onResponse(DataStreamerImpl.java:2055) at org.apache.ignite.internal.processors.datastreamer.DataStreamerImpl$3.onMessage(DataStreamerImpl.java:356) at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1569) at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1197) at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:127) at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1093) at org.apache.ignite.internal.util.StripedExecutor$Stripe.body(StripedExecutor.java:505) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.IllegalStateException: Failed to write record: MvccDataRecord [super=DataRecord [writeEntries=SingletonList [MvccDataEntry [mvccVer=null]], super=TimeStampRecord [timestamp=1542974116042]]] at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$FileWriteHandle.fillBuffer(FileWriteAheadLogManager.java:2634) at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$FileWriteHandle.addRecord(FileWriteAheadLogManager.java:2563) at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$FileWriteHandle.access$1600(FileWriteAheadLogManager.java:2451) at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager.log(FileWriteAheadLogManager.java:823) at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.initialValue(GridCacheMapEntry.java:3414) at org.apache.ignite.internal.processors.cache.GridCacheEntryEx.initialValue(GridCacheEntryEx.java:766) at org.apache.ignite.internal.processors.datastreamer.DataStreamerImpl$IsolatedUpdater.receive(DataStreamerImpl.java:2265) at org.apache.ignite.internal.processors.datastreamer.DataStreamerUpdateJob.call(DataStreamerUpdateJob.java:140) at org.apache.ignite.internal.processors.datastreamer.DataStreamProcessor.localUpdate(DataStreamProcessor.java:400) at org.apache.ignite.internal.processors.datastreamer.DataStreamProcessor.processRequest(DataStreamProcessor.java:305) at org.apache.ignite.internal.processors.datastreamer.DataStreamProcessor.access$000(DataStreamProcessor.java:60) at org.apache.ignite.internal.processors.datastreamer.DataStreamProcessor$1.onMessage(DataStreamProcessor.java:90) ... 7 more Caused by: java.lang.NullPointerException at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.TxRecordSerializer.putMvccVersion(TxRecordSerializer.java:66) at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordDataV2Serializer.putMvccDataEntry(RecordDataV2Serializer.java:298) at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordDataV2Serializer.putPlainDataEntry(RecordDataV2Serializer.java:286) at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordDataV2Serializer.writePlainRecord(RecordDataV2Serializer.java:246) at org.apache.ignite.internal.processors.cache.persistence.wal.serializer.RecordDataV1Serializer.writeRecord(RecordDataV1Serializer.java:222)
[jira] [Created] (IGNITE-10312) Data streamer fails with CCE: o.a.i.i.util.future.GridFinishedFuture cannot be cast to o.a.i.i.p.cache.distributed.dht.GridDhtTopologyFuture
Sergey Kozlov created IGNITE-10312: -- Summary: Data streamer fails with CCE: o.a.i.i.util.future.GridFinishedFuture cannot be cast to o.a.i.i.p.cache.distributed.dht.GridDhtTopologyFuture Key: IGNITE-10312 URL: https://issues.apache.org/jira/browse/IGNITE-10312 Project: Ignite Issue Type: Bug Components: cache Reporter: Sergey Kozlov Use data streamer by client node fails: {noformat} [17:08:50] (err) Failed to execute compound future reducer: GridCompoundFuture [rdc=null, initFlag=1, lsnrCalls=3, done=true, cancelled=false, err=class o.a.i.IgniteCheckedException: DataStreamer request failed [node=6423a8f7-3607-4192-bbf8-13f859e77abd], futs=[true, true, true, true]]class org.apache.ignite.IgniteCheckedException: DataStreamer request failed [node=6423a8f7-3607-4192-bbf8-13f859e77abd] at org.apache.ignite.internal.processors.datastreamer.DataStreamerImpl$Buffer.onResponse(DataStreamerImpl.java:1894) at org.apache.ignite.internal.processors.datastreamer.DataStreamerImpl$3.onMessage(DataStreamerImpl.java:344) at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1555) at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1183) at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:126) at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1090) at org.apache.ignite.internal.util.StripedExecutor$Stripe.run(StripedExecutor.java:505) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassCastException: org.apache.ignite.internal.util.future.GridFinishedFuture cannot be cast to org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTopologyFuture at org.apache.ignite.internal.processors.datastreamer.DataStreamerImpl$IsolatedUpdater.receive(DataStreamerImpl.java:2051) at org.apache.ignite.internal.processors.datastreamer.DataStreamerUpdateJob.call(DataStreamerUpdateJob.java:140) at org.apache.ignite.internal.processors.datastreamer.DataStreamProcessor.localUpdate(DataStreamProcessor.java:397) at org.apache.ignite.internal.processors.datastreamer.DataStreamProcessor.processRequest(DataStreamProcessor.java:302) at org.apache.ignite.internal.processors.datastreamer.DataStreamProcessor.access$000(DataStreamProcessor.java:59) at org.apache.ignite.internal.processors.datastreamer.DataStreamProcessor$1.onMessage(DataStreamProcessor.java:89) ... 6 more {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10222) CPP Thin: Examples for operations with multiple keys and values
Sergey Kozlov created IGNITE-10222: -- Summary: CPP Thin: Examples for operations with multiple keys and values Key: IGNITE-10222 URL: https://issues.apache.org/jira/browse/IGNITE-10222 Project: Ignite Issue Type: Bug Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.8 Add examples for new API calls for putall, getall, removeall -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10196) Remove kafka-clients-*-test dependency
Sergey Kozlov created IGNITE-10196: -- Summary: Remove kafka-clients-*-test dependency Key: IGNITE-10196 URL: https://issues.apache.org/jira/browse/IGNITE-10196 Project: Ignite Issue Type: Bug Components: build Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10136) NPE in PartitionUpdateCountersMessage
Sergey Kozlov created IGNITE-10136: -- Summary: NPE in PartitionUpdateCountersMessage Key: IGNITE-10136 URL: https://issues.apache.org/jira/browse/IGNITE-10136 Project: Ignite Issue Type: Bug Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 {noformat} [14:00:55,950][INFO][db-checkpoint-thread-#73][GridCacheDatabaseSharedManager] Checkpoint started [checkpointId=9d5398bc-896a-469c-8686-38e2afd517c1, startPtr=FileWALPointer [idx=0, fileOff=17828636, len=210609], checkpointLockWait=0ms, checkpointLockHoldTime=11ms, walCpRecordFsyncDuration=12ms, pages=636, reason='timeout'] [14:00:56,029][INFO][db-checkpoint-thread-#73][GridCacheDatabaseSharedManager] Checkpoint finished [cpId=9d5398bc-896a-469c-8686-38e2afd517c1, pages=636, markPos=FileWALPointer [idx=0, fileOff=17828636, len=210609], walSegmentsCleared=0, walSegmentsCovered=[], markDuration=26ms, pagesWrite=21ms, fsync=58ms, total=105ms] [14:00:56,940][INFO][db-checkpoint-thread-#73][GridCacheDatabaseSharedManager] Checkpoint started [checkpointId=5f46c89e-ead8-4c87-adad-72a50c26bd7c, startPtr=FileWALPointer [idx=0, fileOff=20005440, len=210609], checkpointLockWait=0ms, checkpointLockHoldTime=8ms, walCpRecordFsyncDuration=5ms, pages=474, reason='timeout'] [14:00:57,003][INFO][db-checkpoint-thread-#73][GridCacheDatabaseSharedManager] Checkpoint finished [cpId=5f46c89e-ead8-4c87-adad-72a50c26bd7c, pages=474, markPos=FileWALPointer [idx=0, fileOff=20005440, len=210609], walSegmentsCleared=0, walSegmentsCovered=[], markDuration=15ms, pagesWrite=10ms, fsync=53ms, total=78ms] [14:00:57,065][SEVERE][grid-nio-worker-tcp-comm-2-#42][GridDirectParser] Failed to read message [msg=GridIoMessage [plc=0, topic=null, topicOrd=-1, ordered=false, timeout=0, skipOnTimeout=false, msg=null], buf=java.nio.DirectByteBuffer[pos=792 lim=885 cap=32768], reader=RollingUpgradeMessageReader [state=StateItem [stream=DirectByteBufferStreamImplV2 [baseOff=140703933959040, arrOff=-1, tmpArrOff=0, valReadBytes=0, tmpArrBytes=0, msgTypeDone=true, msg=GridCacheIdMessage [cacheId=0]GridDistributedBaseMessage [ver=GridCacheVersion [topVer=152301622, order=1540821647376, nodeOrder=4], committedVers=null, rolledbackVers=null, cnt=0, super=]GridDistributedTxPrepareRequest [threadId=236, concurrency=PESSIMISTIC, isolation=REPEATABLE_READ, writeVer=GridCacheVersion [topVer=152301622, order=1540821647377, nodeOrder=4], timeout=0, reads=null, writes=ArrayList [], dhtVers=null, txSize=-1, plc=2, txState=null, flags=last, super=]GridDhtTxPrepareRequest [nearNodeId=3800f476-beb1-46b0-8a39-faa51c91831d, futId=f794020c661-cc8749ef-caa5-4f1e-9d89-4a9beff59798, miniId=1, topVer=AffinityTopologyVersion [topVer=5, minorTopVer=8], invalidateNearEntries={}, nearWrites=null, owned=null, nearXidVer=GridCacheVersion [topVer=152301622, order=1540821647374, nodeOrder=5], subjId=3800f476-beb1-46b0-8a39-faa51c91831d, taskNameHash=0, preloadKeys=null, mvccSnapshot=MvccSnapshotResponse [futId=1, crdVer=1540821617885, cntr=16, opCntr=1, txs=null, cleanupVer=15, tracking=0], skipCompletedVers=false, super=], mapIt=null, it=null, arrPos=-1, keyDone=false, readSize=-1, readItems=0, prim=0, primShift=0, uuidState=0, uuidMost=0, uuidLeast=0, uuidLocId=0, lastFinished=true], state=0, fieldCnt=7, readFieldCnt=0, curName=msg, typeRead=true, itemTypeRead=false, keyTypeRead=false, valTypeRead=false, curType=21, curItemType=null, curKeyType=null, curValType=null, readMsgCls=class o.a.i.i.managers.communication.GridIoMessage]StateItem [stream=DirectByteBufferStreamImplV2 [baseOff=140703933959040, arrOff=-1, tmpArrOff=0, valReadBytes=0, tmpArrBytes=0, msgTypeDone=true, msg=PartitionUpdateCountersMessage{cacheId=-553317389, size=0, cntrs=}, mapIt=null, it=null, arrPos=-1, keyDone=false, readSize=1, readItems=0, prim=0, primShift=0, uuidState=0, uuidMost=0, uuidLeast=0, uuidLocId=0, lastFinished=true], state=0, fieldCnt=-1, readFieldCnt=0, curName=null, typeRead=false, itemTypeRead=false, keyTypeRead=false, valTypeRead=false, curType=0, curItemType=null, curKeyType=null, curValType=null, readMsgCls=null]StateItem [stream=DirectByteBufferStreamImplV2 [baseOff=140703933959040, arrOff=-1, tmpArrOff=0, valReadBytes=0, tmpArrBytes=0, msgTypeDone=false, msg=null, mapIt=null, it=null, arrPos=-1, keyDone=false, readSize=-1, readItems=0, prim=0, primShift=0, uuidState=0, uuidMost=0, uuidLeast=0, uuidLocId=0, lastFinished=true], state=0, fieldCnt=-1, readFieldCnt=0, curName=null, typeRead=false, itemTypeRead=false, keyTypeRead=false, valTypeRead=false, curType=0, curItemType=null, curKeyType=null, curValType=null, readMsgCls=null]StateItem [stream=DirectByteBufferStreamImplV2 [baseOff=140703933959040, arrOff=-1, tmpArrOff=0, valReadBytes=0, tmpArrBytes=0, msgTypeDone=false, msg=null, mapIt=null, it=null, arrPos=-1, keyDone=false,
[jira] [Created] (IGNITE-10064) Build examples project failed
Sergey Kozlov created IGNITE-10064: -- Summary: Build examples project failed Key: IGNITE-10064 URL: https://issues.apache.org/jira/browse/IGNITE-10064 Project: Ignite Issue Type: Bug Components: examples Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 1. Import {{examples/pom.xml}} in IDEA and compile {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ignite-examples: Compilation failure: Compilation failure: [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/SpringAppCfg.java:[25,49] package org.apache.ignite.springdata20.repository does not exist [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/SpringAppCfg.java:[26,56] package org.apache.ignite.springdata20.repository.config does not exist [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/SpringAppCfg.java:[27,57] package org.apache.ignite.springdata20.repository.support does not exist [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/SpringAppCfg.java:[43,2] cannot find symbol [ERROR] symbol: class EnableIgniteRepositories [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/PersonRepository.java:[23,49] package org.apache.ignite.springdata20.repository does not exist [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/PersonRepository.java:[24,56] package org.apache.ignite.springdata20.repository.config does not exist [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/PersonRepository.java:[25,56] package org.apache.ignite.springdata20.repository.config does not exist [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/PersonRepository.java:[34,43] cannot find symbol [ERROR] symbol: class IgniteRepository [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/PersonRepository.java:[33,2] cannot find symbol [ERROR] symbol: class RepositoryConfig [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/PersonRepository.java:[56,6] cannot find symbol [ERROR] symbol: class Query [ERROR] location: interface org.apache.ignite.examples.springdata.PersonRepository [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/SpringDataExample.java:[62,13] cannot find symbol [ERROR] symbol: method deleteAll() [ERROR] location: variable repo of type org.apache.ignite.examples.springdata.PersonRepository [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/SpringDataExample.java:[64,60] cannot find symbol [ERROR] symbol: method count() [ERROR] location: variable repo of type org.apache.ignite.examples.springdata.PersonRepository [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/SpringDataExample.java:[101,13] cannot find symbol [ERROR] symbol: method save(java.util.TreeMap) [ERROR] location: variable repo of type org.apache.ignite.examples.springdata.PersonRepository [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/SpringDataExample.java:[103,49] cannot find symbol [ERROR] symbol: method count() [ERROR] location: variable repo of type org.apache.ignite.examples.springdata.PersonRepository [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/SpringDataExample.java:[111,29] cannot find symbol [ERROR] symbol: method findById(long) [ERROR] location: variable repo of type org.apache.ignite.examples.springdata.PersonRepository [ERROR] /C:/Work/2.7/examples/src/main/java/org/apache/ignite/examples/springdata/SpringDataExample.java:[122,40] cannot find symbol [ERROR] symbol: method findAllById(java.util.ArrayList) [ERROR] location: variable repo of type org.apache.ignite.examples.springdata.PersonRepository [ERROR] -> [Help 1] {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10056) Attemp to create MVCC cache with TTL causes full cluster halt
Sergey Kozlov created IGNITE-10056: -- Summary: Attemp to create MVCC cache with TTL causes full cluster halt Key: IGNITE-10056 URL: https://issues.apache.org/jira/browse/IGNITE-10056 Project: Ignite Issue Type: Bug Components: mvcc Affects Versions: 2.7 Environment: Reporter: Sergey Kozlov Fix For: 2.7 1. Start cluster with cache template and activate: {code=xml} {code} 2. Try to create cache via {{sqlline}} {noformat} 0: jdbc:ignite:thin://127.0.0.1/> create table t1(a int, b varchar, primary key(a)) with "template=tmpl"; Error: class org.apache.ignite.IgniteCheckedException: Grid configuration parameter invalid: expiry policy cannot be used with TRANSACTIONAL_SNAPSHOT atomicity mode (state=5,code=1) java.sql.SQLException: class org.apache.ignite.IgniteCheckedException: Grid configuration parameter invalid: expiry policy cannot be used with TRANSACTIONAL_SNAPSHOT atomicity mode at org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:750) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:212) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute(JdbcThinStatement.java:475) at sqlline.Commands.execute(Commands.java:823) at sqlline.Commands.sql(Commands.java:733) at sqlline.SqlLine.dispatch(SqlLine.java:795) at sqlline.SqlLine.begin(SqlLine.java:668) at sqlline.SqlLine.start(SqlLine.java:373) at sqlline.SqlLine.main(SqlLine.java:265) {noformat} That's fine but all nodes stopped by failure handler: {noformat} [21:40:03,657][SEVERE][exchange-worker-#43][CacheAffinitySharedManager] Failed to initialize cache. Will try to rollback cache start routine. [cacheName=SQL_PUBLIC_T1] class org.apache.ignite.IgniteCheckedException: Grid configuration parameter invalid: expiry policy cannot be used with TRANSACTIONAL_SNAPSHOT atomicity mode at org.apache.ignite.internal.processors.GridProcessorAdapter.assertParameter(GridProcessorAdapter.java:140) at org.apache.ignite.internal.processors.cache.GridCacheProcessor.validate(GridCacheProcessor.java:521) at org.apache.ignite.internal.processors.cache.GridCacheProcessor.createCache(GridCacheProcessor.java:1560) at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:2146) at org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.processCacheStartRequests(CacheAffinitySharedManager.java:898) at org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:798) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:1231) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:738) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2667) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2539) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120) at java.lang.Thread.run(Thread.java:748) [21:40:03,660][INFO][exchange-worker-#43][GridCacheProcessor] Can not finish proxy initialization because proxy does not exist, cacheName=SQL_PUBLIC_T1, localNodeId=0c6a653d-b151-46b5-bd0c-7fea4b94ca26 [21:40:03,662][INFO][exchange-worker-#43][CacheAffinitySharedManager] Caches starting performed in 66 ms. [21:40:03,667][INFO][exchange-worker-#43][CacheAffinitySharedManager] Affinity initialization for started caches performed in 5 ms. [21:40:03,673][INFO][exchange-worker-#43][GridDhtPartitionsExchangeFuture] Finished waiting for partition release future [topVer=AffinityTopologyVersion [topVer=2, minorTopVer=2], waitTime=0ms, futInfo=NA, mode=DISTRIBUTED] [21:40:03,695][INFO][exchange-worker-#43][GridDhtPartitionsExchangeFuture] Finished waiting for partitions release latch: ClientLatch [coordinator=TcpDiscoveryNode [id=8a320d9a-c057-45e5-958a-6fff470c8485, addrs=ArrayList [127.0.0.1], sockAddrs=HashSet [/127.0.0.1:47500], discPort=47500, order=1, intOrder=1,
[jira] [Created] (IGNITE-10054) sqlline hangs with concurrent operations
Sergey Kozlov created IGNITE-10054: -- Summary: sqlline hangs with concurrent operations Key: IGNITE-10054 URL: https://issues.apache.org/jira/browse/IGNITE-10054 Project: Ignite Issue Type: Bug Components: mvcc Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 1. Start 2 nodes cluster with PDS (wal_mode=FSYNC), activate 2. Start 1st {{bin/sqlline}} with following commands (in batch file): {noformat} create table t1 (a int, b int, primary key(a)) with "atomicity=TRANSACTIONAL_SNAPSHOT,backups=1"; insert into t1 values (1,1); insert into t1 values (2,1); insert into t1 values (3,1); insert into t1 values (4,1); insert into t1 values (5,1); insert into t1 values (6,1); insert into t1 values (7,1); insert into t1 values (8,1); insert into t1 values (9,1); insert into t1 values (10,1); begin; update t1 set b=b+1; commit; begin; update t1 set b=b+1; commit; begin; update t1 set b=b+1; commit; begin; update t1 set b=b+1; commit; ...repeat TX many times... {noformat} 3. Start 2nd {{bin/sqlline}} with following commands (in batch file): {noformat} begin; update t1 set b=b-1; commit; begin; update t1 set b=b-1; commit; begin; update t1 set b=b-1; commit; ...repeat TX many times... {noformat} 4. After some time both {{sqlline}} hang: {noformat} 611/113163 commit; Error: Failed to execute DDL statement [stmt=commit, err=Failed to finish transaction because it has been rolled back [t imeout=0, tx=GridNearTxLocal[xid=f91ff90c661--0914-10f6--0001, xidVersion=GridCacheVersion [topVer=1 52310006, order=154082519, nodeOrder=1], concurrency=PESSIMISTIC, isolation=REPEATABLE_READ, state=MARKED_ROLLBACK, invalidate=false, rollbackOnly=true, nodeId=c9ddebdb-c328-4283-97c5-a663887a, timeout=0, duration=11, label=null]]] (state=5,code=1) java.sql.SQLException: Failed to execute DDL statement [stmt=commit, err=Failed to finish transaction because it has bee n rolled back [timeout=0, tx=GridNearTxLocal[xid=f91ff90c661--0914-10f6--0001, xidVersion=GridCacheV ersion [topVer=152310006, order=154082519, nodeOrder=1], concurrency=PESSIMISTIC, isolation=REPEATABLE_READ, state=M ARKED_ROLLBACK, invalidate=false, rollbackOnly=true, nodeId=c9ddebdb-c328-4283-97c5-a663887a, timeout=0, duration=11 , label=null]]] at org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:750) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:212) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute(JdbcThinStatement.java:475) at sqlline.Commands.execute(Commands.java:823) at sqlline.Commands.sql(Commands.java:733) at sqlline.SqlLine.dispatch(SqlLine.java:795) at sqlline.SqlLine.runCommands(SqlLine.java:1706) at sqlline.Commands.run(Commands.java:1317) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38) at sqlline.SqlLine.dispatch(SqlLine.java:791) at sqlline.SqlLine.initArgs(SqlLine.java:595) at sqlline.SqlLine.begin(SqlLine.java:643) at sqlline.SqlLine.start(SqlLine.java:373) at sqlline.SqlLine.main(SqlLine.java:265) 612/113163 begin; No rows affected (0 seconds) 613/113163 update t1 set b=b+1; {noformat} {noformat} Error: Failed to execute DDL statement [stmt=commit, err=Failed to finish transaction because it has been rolled back [t imeout=0, tx=GridNearTxLocal[xid=191ff90c661--0914-10f6--0001, xidVersion=GridCacheVersion [topVer=1 52310006, order=154082505, nodeOrder=1], concurrency=PESSIMISTIC, isolation=REPEATABLE_READ, state=MARKED_ROLLBACK, invalidate=false, rollbackOnly=true, nodeId=c9ddebdb-c328-4283-97c5-a663887a, timeout=0, duration=11, label=null]]] (state=5,code=1) java.sql.SQLException: Failed to execute DDL statement [stmt=commit, err=Failed to finish transaction because it has bee n rolled back [timeout=0, tx=GridNearTxLocal[xid=191ff90c661--0914-10f6--0001, xidVersion=GridCacheV ersion [topVer=152310006, order=154082505, nodeOrder=1], concurrency=PESSIMISTIC, isolation=REPEATABLE_READ, state=M ARKED_ROLLBACK, invalidate=false, rollbackOnly=true, nodeId=c9ddebdb-c328-4283-97c5-a663887a, timeout=0, duration=11 , label=null]]] at org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:750) at
[jira] [Created] (IGNITE-10052) Restart node during TX causes vacuum error
Sergey Kozlov created IGNITE-10052: -- Summary: Restart node during TX causes vacuum error Key: IGNITE-10052 URL: https://issues.apache.org/jira/browse/IGNITE-10052 Project: Ignite Issue Type: Bug Components: mvcc Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 1. Start 2 nodes with PDS, activate , start {{sqlline}} 2. Create table {noformat} 0: jdbc:ignite:thin://127.0.0.1/> create table t1 (a int, b int, primary key(a)) with "atomicity=TRANSACTIONAL_SNAPSHOT, backups=1"; No rows affected (0,294 seconds) {noformat} 3. Open TX: {noformat} 0: jdbc:ignite:thin://127.0.0.1/> begin; No rows affected (0,007 seconds) 0: jdbc:ignite:thin://127.0.0.1/> insert into t1 values (1,1); 1 row affected (0,112 seconds) {noformat} 4. Stop and then start 2nd node 5. Rollback TX and check the table data (no rows added): {noformat} 0: jdbc:ignite:thin://127.0.0.1/> rollback; No rows affected (0,011 seconds) 0: jdbc:ignite:thin://127.0.0.1/> select * from t1; +++ | A| B| +++ +++ No rows selected (0,067 seconds) {noformat} 6. Start second TX that throws the excpetion: {noformat} 0: jdbc:ignite:thin://127.0.0.1/> begin; No rows affected (0,001 seconds) 0: jdbc:ignite:thin://127.0.0.1/> insert into t1 values (1,1); Error: Failed to run update. Runtime failure on bounds: [lower=MvccMaxSearchRow [], upper=MvccMinSearchRow []] (state=50 000,code=1) java.sql.SQLException: Failed to run update. Runtime failure on bounds: [lower=MvccMaxSearchRow [], upper=MvccMinSearchR ow []] at org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:750) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:212) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute(JdbcThinStatement.java:475) at sqlline.Commands.execute(Commands.java:823) at sqlline.Commands.sql(Commands.java:733) at sqlline.SqlLine.dispatch(SqlLine.java:795) at sqlline.SqlLine.begin(SqlLine.java:668) at sqlline.SqlLine.start(SqlLine.java:373) at sqlline.SqlLine.main(SqlLine.java:265) 0: jdbc:ignite:thin://127.0.0.1/> {noformat} The server nodes print out: {noformat} [18:46:32,136][SEVERE][jdbc-request-handler-worker-#62][DmlStatementsProcessor] Error during update [localNodeId=319a2fda-1315-4bdf-8647-7ddee2d3342e] class org.apache.ignite.IgniteCheckedException: Runtime failure on bounds: [lower=MvccMaxSearchRow [], upper=MvccMinSearchRow []] at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.visit(BPlusTree.java:1061) at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.mvccUpdate(IgniteCacheOffheapManagerImpl.java:1919) at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.mvccUpdate(GridCacheOffheapManager.java:1840) at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.mvccUpdate(IgniteCacheOffheapManagerImpl.java:530) at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.mvccSet(GridCacheMapEntry.java:1104) at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxAbstractEnlistFuture.continueLoop(GridDhtTxAbstractEnlistFuture.java:460) at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxAbstractEnlistFuture.init(GridDhtTxAbstractEnlistFuture.java:368) at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTransactionalCacheAdapter.processNearTxQueryResultsEnlistRequest(GridDhtTransactionalCacheAdapter.java:2000) at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTransactionalCacheAdapter.access$700(GridDhtTransactionalCacheAdapter.java:112) at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTransactionalCacheAdapter$12.apply(GridDhtTransactionalCacheAdapter.java:215) at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTransactionalCacheAdapter$12.apply(GridDhtTransactionalCacheAdapter.java:213) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:1056) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:581) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:380) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:306) at
[jira] [Created] (IGNITE-10039) Small data region may lead IgniteOOM
Sergey Kozlov created IGNITE-10039: -- Summary: Small data region may lead IgniteOOM Key: IGNITE-10039 URL: https://issues.apache.org/jira/browse/IGNITE-10039 Project: Ignite Issue Type: Bug Components: general Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 For small data region(s) the node restart may lead IgniteOOM. We should calculate the minimal required size and show a warning message on node output. {noformat} [21:36:06,648][SEVERE][exchange-worker-#63][] Critical system error detected. Will be handled accordingly to configured handler [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, super=AbstractFailureHandler [ignoredFailureTypes=UnmodifiableSet [SYSTEM_WORKER_BLOCKED]]], failureCtx=FailureContext [type=CRITICAL_ERROR, err=class o.a.i.i.mem.IgniteOutOfMemoryException: Failed to find a page for eviction [segmentCapacity=3952, loaded=1549, maxDirtyPages=1162, dirtyPages=1549, cpPages=0, pinnedInSegment=0, failedToPrepare=1549] Out of memory in data region [name=default, initSize=50.0 MiB, maxSize=100.0 MiB, persistenceEnabled=true] Try the following: ^-- Increase maximum off-heap memory size (DataRegionConfiguration.maxSize) ^-- Enable Ignite persistence (DataRegionConfiguration.persistenceEnabled) ^-- Enable eviction or expiration policies]] class org.apache.ignite.internal.mem.IgniteOutOfMemoryException: Failed to find a page for eviction [segmentCapacity=3952, loaded=1549, maxDirtyPages=1162, dirtyPages=1549, cpPages=0, pinnedInSegment=0, failedToPrepare=1549] Out of memory in data region [name=default, initSize=50.0 MiB, maxSize=100.0 MiB, persistenceEnabled=true] Try the following: ^-- Increase maximum off-heap memory size (DataRegionConfiguration.maxSize) ^-- Enable Ignite persistence (DataRegionConfiguration.persistenceEnabled) ^-- Enable eviction or expiration policies at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl$Segment.tryToFindSequentially(PageMemoryImpl.java:2361) at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl$Segment.removePageForReplacement(PageMemoryImpl.java:2255) at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl$Segment.access$900(PageMemoryImpl.java:1864) at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.acquirePage(PageMemoryImpl.java:696) at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.acquirePage(PageMemoryImpl.java:637) at org.apache.ignite.internal.processors.cache.persistence.DataStructure.acquirePage(DataStructure.java:144) at org.apache.ignite.internal.processors.cache.persistence.freelist.PagesList.init(PagesList.java:169) at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList.(AbstractFreeList.java:371) at org.apache.ignite.internal.processors.cache.persistence.freelist.CacheFreeListImpl.(CacheFreeListImpl.java:49) at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore$1.(GridCacheOffheapManager.java:1339) at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.init0(GridCacheOffheapManager.java:1339) at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.updateCounter(GridCacheOffheapManager.java:1631) at org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtLocalPartition.updateCounter(GridDhtLocalPartition.java:991) at org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtLocalPartition.(GridDhtLocalPartition.java:224) at org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtPartitionTopologyImpl.forceCreatePartition(GridDhtPartitionTopologyImpl.java:884) at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restorePartitionStates(GridCacheDatabaseSharedManager.java:2444) at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.applyLastUpdates(GridCacheDatabaseSharedManager.java:2382) at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreState(GridCacheDatabaseSharedManager.java:1624) at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.beforeExchange(GridCacheDatabaseSharedManager.java:1298) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1453) at
[jira] [Created] (IGNITE-10036) node_startup_by_ssh.sample.ini move to /config
Sergey Kozlov created IGNITE-10036: -- Summary: node_startup_by_ssh.sample.ini move to /config Key: IGNITE-10036 URL: https://issues.apache.org/jira/browse/IGNITE-10036 Project: Ignite Issue Type: Bug Components: build Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 The configuration file for IGNITE-1023 has been added to location {{bin/include/visorcmd/node_startup_by_ssh.sample.ini}}. But the more convinient directory is {{/config}} where already collected a few various confuration files. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10015) Sprodic JVM crash due to restart nodes
Sergey Kozlov created IGNITE-10015: -- Summary: Sprodic JVM crash due to restart nodes Key: IGNITE-10015 URL: https://issues.apache.org/jira/browse/IGNITE-10015 Project: Ignite Issue Type: Bug Components: general Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 1. Start 4 node cluster with pre-configured TTL caches. 2. Some 4 node may crash: {noformat} [22:43:01,485][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_002, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,005][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_013, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,005][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_001, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,005][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_012, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,005][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_004, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,005][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_015, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,005][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_003, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,006][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_014, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,007][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=ignite-sys-cache, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,007][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_011, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,007][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_010, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,008][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_009, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,008][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_006, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,008][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_005, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,008][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_016, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,008][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_008, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,008][INFO][sys-#73][GridCacheProcessor] Finish proxy initialization, cacheName=cache_007, localNodeId=e8ad11f2-c6dd-4683-b449-44a726d715fd [22:43:02,012][INFO][db-checkpoint-thread-#68][GridCacheDatabaseSharedManager] Checkpoint started [checkpointId=214d43f2-6096-4b42-ab0f-52b7f98078f4, startPtr=FileWALPointer [idx=0, fileOff=513096, len=16483], checkpointLockWait=0ms, checkpointLockHoldTime=23ms, walCpRecordFsyncDuration=880ms, pages=238, reason='timeout'] # # A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0x7) at pc=0x7f0aa29d8522, pid=12344, tid=0x7f08b15f5700 # # JRE version: Java(TM) SE Runtime Environment (8.0_161-b12) (build 1.8.0_161-b12) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.161-b12 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libzip.so+0x12522] newEntry+0x62 # # Core dump written. Default location: /var/lib/teamcity/data/work/dd4d79acf76cc870/i2test/suites/core or core.12344 # # An error report file with more information is saved as: # /var/lib/teamcity/data/work/dd4d79acf76cc870/i2test/suites/hs_err_pid12344.log Compiled method (nm)7845 558 n 0 java.util.zip.ZipFile::getEntry (native) total in heap [0x7f0a8d3d1850,0x7f0a8d3d1bc0] = 880 relocation [0x7f0a8d3d1978,0x7f0a8d3d19c0] = 72 main code [0x7f0a8d3d19c0,0x7f0a8d3d1bc0] = 512 [thread 139675315439360 also had an error] # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # /var/lib/teamcity/data/work/dd4d79acf76cc870/i2test/var/suite-cache/gg-pro-fab/bin/ignite.sh: line 200: 12344 Aborted (core dumped) "$JAVA" ${JVM_OPTS} ${QUIET} "${RESTART_SUCCESS_OPT}" ${JMX_MON} -DIGNITE_HOME="${IGNITE_HOME}" -DIGNITE_PROG_NAME="$0" ${JVM_XOPTS} -cp "${CP}" ${MAIN_CLASS} "${CONFIG}" {noformat} or {noformat}
[jira] [Created] (IGNITE-10013) Node restart may lead to NPE in GridDhtPartitionsExchangeFuture
Sergey Kozlov created IGNITE-10013: -- Summary: Node restart may lead to NPE in GridDhtPartitionsExchangeFuture Key: IGNITE-10013 URL: https://issues.apache.org/jira/browse/IGNITE-10013 Project: Ignite Issue Type: Bug Components: general Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 1. Start 4 nodes with ~100 caches, create a few dynamic caches 2. Load data (~500 entries per cache) 3. Restart every node starting from first The first node may throw NPE: {noformat} [20:00:18,355][INFO][exchange-worker-#63][time] Started exchange init [topVer=AffinityTopologyVersion [topVer=5, minorTopVer=0], mvccCrd=MvccCoordinator [nodeId=c7a332ee-ee85-4604-aa93-919f15e34e36, crdVer=1540497597005, topVer=AffinityTopologyVersion [topVer=1, minorTopVer=0]], mvccCrdChange=false, crd=true, evt=NODE_JOINED, evtNode=cc8ed618-2f14-46cf-be03-645291c397aa, customEvt=null, allowMerge=true] [20:00:18,358][INFO][exchange-worker-#63][GridDhtPartitionsExchangeFuture] Finish exchange future [startVer=AffinityTopologyVersion [topVer=5, minorTopVer=0], resVer=AffinityTopologyVersion [topVer=5, minorTopVer=0], err=null] [20:00:18,364][SEVERE][sys-#77][GridCacheIoManager] Failed processing message [senderId=c50165fb-1afd-4b3e-8fba-ac825aa532fa, msg=GridDhtPartitionsSingleMessage [parts=HashMap {-553318226=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=490], -553318133=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=512], -553318412=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=490], -553315529=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=490], -553315497=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=490], -553315498=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=490], -2100569601=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=100], -553318319=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=512], 374280891=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=32], 374280890=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=64], 374280889=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=128], 374280888=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=512], 374280887=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=23], 374280886=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=31], 374280885=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=61], 374280884=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=490], -553315527=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=512], -553315495=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=5, size=512], -553315528=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=4, size=490], -553315496=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=4, size=512], -553315526=GridDhtPartitionMap [moving=0, top=AffinityTopologyVersion [topVer=4, minorTopVer=1], updateSeq=4, size=512]}, partCntrs=null, partsSizes=HashMap {-553318226=HashMap {1=1, 2=1, 3=1, 4=1, 5=1, 6=1, 7=1, 9=1, 11=1, 13=1, 20=1, 21=1, 22=1, 24=1, 27=1, 28=1, 31=1, 32=1, 33=1, 34=1, 35=1, 36=1, 39=1, 42=1, 43=1, 47=1, 55=1, 57=1, 58=1, 63=1, 64=1, 65=1, 66=1, 67=1, 70=1, 71=1, 72=1, 73=1, 74=1, 75=1, 79=1, 80=1, 82=1, 84=1, 86=1, 88=1, 90=1, 95=1, 96=1, 99=1}, -553318133=HashMap {1=1, 2=1, 3=1, 4=1, 5=1, 6=1, 7=1, 8=1, 9=1, 10=1, 11=1, 12=1, 13=1, 14=1, 15=1, 16=1, 17=1, 18=1, 19=1, 20=1, 21=1, 22=1, 23=1, 24=1, 25=1, 26=1, 27=1, 28=1, 29=1, 30=1, 31=1, 32=1, 33=1, 34=1, 35=1, 36=1, 37=1, 38=1, 39=1, 40=1, 41=1, 42=1, 43=1, 44=1, 45=1, 46=1, 47=1, 48=1, 49=1, 50=1, 51=1, 52=1, 53=1, 54=1, 55=1, 56=1, 57=1, 58=1, 59=1, 60=1, 61=1, 62=1, 63=1, 64=1, 65=1, 66=1, 67=1, 68=1, 69=1, 70=1, 71=1, 72=1, 73=1, 74=1, 75=1, 76=1, 77=1, 78=1, 79=1, 80=1, 81=1, 82=1, 83=1, 84=1, 85=1, 86=1, 87=1, 88=1, 89=1, 90=1, 91=1, 92=1, 93=1, 94=1, 95=1, 96=1, 97=1, 98=1, 99=1, 100=1},
[jira] [Created] (IGNITE-10010) Node halted if table was dropped
Sergey Kozlov created IGNITE-10010: -- Summary: Node halted if table was dropped Key: IGNITE-10010 URL: https://issues.apache.org/jira/browse/IGNITE-10010 Project: Ignite Issue Type: Bug Components: mvcc Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 1. Start 2 nodes with PDS 2. Activate cluster 3. Connect sqlline. 4. Create table {{create table t1(a int, b varchar, primary key(a)) with "ATOMICITY=TRANSACTIONAL_SNAPSHOT,backups=1";}} 5. Stop node 1 6. Drop table {{drop table t1;}} 7. Start node 1 8. Node 2 stopped by handler: {noformat} c:\Work\apache-ignite-2.7.0-SNAPSHOT-bin>bin\ignite.bat server.xml -v -J-DID=1 Ignite Command Line Startup, ver. 2.7.0-SNAPSHOT#19700101-sha1:DEV 2018 Copyright(C) Apache Software Foundation [18:04:22,745][INFO][main][IgniteKernal] >>>__ >>> / _/ ___/ |/ / _/_ __/ __/ >>> _/ // (7 7// / / / / _/ >>> /___/\___/_/|_/___/ /_/ /___/ >>> >>> ver. 2.7.0-SNAPSHOT#19700101-sha1:DEV >>> 2018 Copyright(C) Apache Software Foundation >>> >>> Ignite documentation: http://ignite.apache.org [18:04:22,745][INFO][main][IgniteKernal] Config URL: file:/c:/Work/apache-ignite-2.7.0-SNAPSHOT-bin/server.xml [18:04:22,760][INFO][main][IgniteKernal] IgniteConfiguration [igniteInstanceName=null, pubPoolSize=8, svcPoolSize=8, cal lbackPoolSize=8, stripedPoolSize=8, sysPoolSize=8, mgmtPoolSize=4, igfsPoolSize=8, dataStreamerPoolSize=8, utilityCacheP oolSize=8, utilityCacheKeepAliveTime=6, p2pPoolSize=2, qryPoolSize=8, igniteHome=c:\Work\apache-ignite-2.7.0-SNAPSHO T-bin, igniteWorkDir=c:\Work\apache-ignite-2.7.0-SNAPSHOT-bin\work, mbeanSrv=com.sun.jmx.mbeanserver.JmxMBeanServer@6f94 fa3e, nodeId=d02069db-6d0b-4a40-b185-1d95fa330853, marsh=BinaryMarshaller [], marshLocJobs=false, daemon=false, p2pEnabl ed=false, netTimeout=5000, sndRetryDelay=1000, sndRetryCnt=3, metricsHistSize=1, metricsUpdateFreq=2000, metricsExpT ime=9223372036854775807, discoSpi=TcpDiscoverySpi [addrRslvr=null, sockTimeout=0, ackTimeout=0, marsh=null, reconCnt=10, reconDelay=2000, maxAckTimeout=60, forceSrvMode=false, clientReconnectDisabled=false, internalLsnr=null], segPlc=ST OP, segResolveAttempts=2, waitForSegOnStart=true, allResolversPassReq=true, segChkFreq=1, commSpi=TcpCommunicationSp i [connectGate=null, connPlc=org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$FirstConnectionPolicy@22ff4249, enableForcibleNodeKill=false, enableTroubleshootingLog=false, locAddr=null, locHost=null, locPort=47100, locPortRange=1 00, shmemPort=-1, directBuf=true, directSndBuf=false, idleConnTimeout=60, connTimeout=5000, maxConnTimeout=60, r econCnt=10, sockSndBuf=32768, sockRcvBuf=32768, msgQueueLimit=0, slowClientQueueLimit=0, nioSrvr=null, shmemSrv=null, us ePairedConnections=false, connectionsPerNode=1, tcpNoDelay=true, filterReachableAddresses=false, ackSndThreshold=32, una ckedMsgsBufSize=0, sockWriteTimeout=2000, boundTcpPort=-1, boundTcpShmemPort=-1, selectorsCnt=4, selectorSpins=0, addrRs lvr=null, ctxInitLatch=java.util.concurrent.CountDownLatch@2d1ef81a[Count = 1], stopping=false], evtSpi=org.apache.ignit e.spi.eventstorage.NoopEventStorageSpi@4c402120, colSpi=NoopCollisionSpi [], deploySpi=LocalDeploymentSpi [], indexingSp i=org.apache.ignite.spi.indexing.noop.NoopIndexingSpi@815b41f, addrRslvr=null, encryptionSpi=org.apache.ignite.spi.encry ption.noop.NoopEncryptionSpi@5542c4ed, clientMode=false, rebalanceThreadPoolSize=1, txCfg=TransactionConfiguration [txSe rEnabled=false, dfltIsolation=REPEATABLE_READ, dfltConcurrency=PESSIMISTIC, dfltTxTimeout=0, txTimeoutOnPartitionMapExch ange=0, pessimisticTxLogSize=0, pessimisticTxLogLinger=1, tmLookupClsName=null, txManagerFactory=null, useJtaSync=fa lse], cacheSanityCheckEnabled=true, discoStartupDelay=6, deployMode=SHARED, p2pMissedCacheSize=100, locHost=127.0.0. 1, timeSrvPortBase=31100, timeSrvPortRange=100, failureDetectionTimeout=1, sysWorkerBlockedTimeout=null, clientFailu reDetectionTimeout=3, metricsLogFreq=6, hadoopCfg=null, connectorCfg=ConnectorConfiguration [jettyPath=null, hos t=null, port=11211, noDelay=true, directBuf=false, sndBufSize=32768, rcvBufSize=32768, idleQryCurTimeout=60, idleQry CurCheckFreq=6, sndQueueLimit=0, selectorCnt=4, idleTimeout=7000, sslEnabled=false, sslClientAuth=false, sslCtxFacto ry=null, sslFactory=null, portRange=100, threadPoolSize=8, msgInterceptor=null], odbcCfg=null, warmupClos=null, atomicCf g=AtomicConfiguration [seqReserveSize=1000, cacheMode=PARTITIONED, backups=1, aff=null, grpName=null], classLdr=null, ss lCtxFactory=null, platformCfg=null, binaryCfg=BinaryConfiguration [idMapper=null, nameMapper=null, serializer=null, comp actFooter=true], memCfg=null, pstCfg=null, dsCfg=DataStorageConfiguration [sysRegionInitSize=52428800,
[jira] [Created] (IGNITE-10007) Deactivation hangs if an open transaction exists
Sergey Kozlov created IGNITE-10007: -- Summary: Deactivation hangs if an open transaction exists Key: IGNITE-10007 URL: https://issues.apache.org/jira/browse/IGNITE-10007 Project: Ignite Issue Type: Bug Components: mvcc Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 1. Start 2 node with PDS 2. Activate cluster 3. Connect sqlline 4. Create table {{create table t1(a int, b varchar, primary key(a)) with "ATOMICITY=TRANSACTIONAL_SNAPSHOT,backups=1";}} 3.Start TX and execute a DML commnd: {noformat} begin; insert into t1 values (1, '1'); {noformat} 4. Try deactivate cluster {{bin/control.bat --deactivate}}. The scripts doesn't return control. 5. Show LRT: {noformat} c:\Work\apache-ignite-2.7.0-SNAPSHOT-bin>bin\control.bat --tx Control utility [ver. 2.7.0-SNAPSHOT#19700101-sha1:DEV] 2018 Copyright(C) Apache Software Foundation User: Matching transactions: TcpDiscoveryNode [id=5d3e8936-174d-42e2-a47f-c70ec02bccab, addrs=[127.0.0.1], order=1, ver=2.7.0#19700101-sha1:, isClient=false, consistentId=1] Tx: [xid=74bc1aba661--090e-b121--0001, label=null, state=ACTIVE, startTime=2018-10-25 17:34:35.5 22, duration=352, isolation=REPEATABLE_READ, concurrency=PESSIMISTIC, topVer=AffinityTopologyVersion [topVer=2, minorTop Ver=6], timeout=0, size=0, dhtNodes=[41ff88d2], nearXid=74bc1aba661--090e-b121--0001, parentNodeIds= [5d3e8936]] {noformat} 6. Complete TX: {noformat} 0: jdbc:ignite:thin://127.0.0.1/> commit; Error: class org.apache.ignite.IgniteException: Can not perform the operation because the cluster is inactive. Note, tha t the cluster is considered inactive by default if Ignite Persistent Store is used to let all the nodes join the cluster . To activate the cluster call Ignite.active(true). (state=5,code=1) java.sql.SQLException: class org.apache.ignite.IgniteException: Can not perform the operation because the cluster is ina ctive. Note, that the cluster is considered inactive by default if Ignite Persistent Store is used to let all the nodes join the cluster. To activate the cluster call Ignite.active(true). at org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:750) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:212) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute(JdbcThinStatement.java:475) at sqlline.Commands.execute(Commands.java:823) at sqlline.Commands.sql(Commands.java:733) at sqlline.SqlLine.dispatch(SqlLine.java:795) at sqlline.SqlLine.begin(SqlLine.java:668) at sqlline.SqlLine.start(SqlLine.java:373) at sqlline.SqlLine.main(SqlLine.java:265) 0: jdbc:ignite:thin://127.0.0.1/> {noformat} It.s ok but LRT is still presented and deactivation script doesn't return control back to user: {noformat} c:\Work\apache-ignite-2.7.0-SNAPSHOT-bin>bin\control.bat --tx Control utility [ver. 2.7.0-SNAPSHOT#19700101-sha1:DEV] 2018 Copyright(C) Apache Software Foundation User: Matching transactions: TcpDiscoveryNode [id=5d3e8936-174d-42e2-a47f-c70ec02bccab, addrs=[127.0.0.1], order=1, ver=2.7.0#19700101-sha1:, isClient=false, consistentId=1] Tx: [xid=74bc1aba661--090e-b121--0001, label=null, state=ACTIVE, startTime=2018-10-25 17:34:35.5 22, duration=510, isolation=REPEATABLE_READ, concurrency=PESSIMISTIC, topVer=AffinityTopologyVersion [topVer=2, minorTop Ver=6], timeout=0, size=0, dhtNodes=[41ff88d2], nearXid=74bc1aba661--090e-b121--0001, parentNodeIds= [5d3e8936]] {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-10004) Parse error leads to leave the transaction
Sergey Kozlov created IGNITE-10004: -- Summary: Parse error leads to leave the transaction Key: IGNITE-10004 URL: https://issues.apache.org/jira/browse/IGNITE-10004 Project: Ignite Issue Type: Bug Components: mvcc Affects Versions: 2.7 Reporter: Sergey Kozlov 1. Start 2 nodes + connect sqlline 2. Execute following queries: {noformat} create table t10 (a int, b varchar, primary key(a)) with "ATOMICITY=TRANSACTIONAL_SNAPSHOT,backups=1"; begin; insert into t10 values(1); <- worng set insert into t10 values(2, '2'); <- coorect set commit; {noformat} The output: {noformat} 0: jdbc:ignite:thin://127.0.0.1/> create table t10 (a int, b varchar, primary key(a)) with "ATOMICITY=TRANSACTIONAL_SNAP SHOT,backups=1"; No rows affected (0,032 seconds) 0: jdbc:ignite:thin://127.0.0.1/> begin; No rows affected (0 seconds) 0: jdbc:ignite:thin://127.0.0.1/> insert into t10 values(1); Error: Failed to parse query. ═хтхЁэюх ъюышўхёЄтю ёЄюысЎют Column count does not match; SQL statement: insert into t10 values(1) [21002-197] (state=42000,code=1001) java.sql.SQLException: Failed to parse query. Неверное количество столбцов Column count does not match; SQL statement: insert into t10 values(1) [21002-197] at org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:750) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:212) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute(JdbcThinStatement.java:475) at sqlline.Commands.execute(Commands.java:823) at sqlline.Commands.sql(Commands.java:733) at sqlline.SqlLine.dispatch(SqlLine.java:795) at sqlline.SqlLine.begin(SqlLine.java:668) at sqlline.SqlLine.start(SqlLine.java:373) at sqlline.SqlLine.main(SqlLine.java:265) 0: jdbc:ignite:thin://127.0.0.1/> insert into t10 values(2, '2'); Error: Transaction is already completed. (state=25000,code=5004) java.sql.SQLException: Transaction is already completed. at org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:750) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:212) at org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute(JdbcThinStatement.java:475) at sqlline.Commands.execute(Commands.java:823) at sqlline.Commands.sql(Commands.java:733) at sqlline.SqlLine.dispatch(SqlLine.java:795) at sqlline.SqlLine.begin(SqlLine.java:668) at sqlline.SqlLine.start(SqlLine.java:373) at sqlline.SqlLine.main(SqlLine.java:265) {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-9971) MLPTrainer example failures
Sergey Kozlov created IGNITE-9971: - Summary: MLPTrainer example failures Key: IGNITE-9971 URL: https://issues.apache.org/jira/browse/IGNITE-9971 Project: Ignite Issue Type: Bug Affects Versions: 2.5 Reporter: Sergey Kozlov The example run output looks like non-clear: {noformat} >>> Ignite grid started. окт 23, 2018 12:42:51 PM com.github.fommil.netlib.BLAS WARNING: Failed to load implementation from: com.github.fommil.netlib.NativeSystemBLAS окт 23, 2018 12:42:51 PM com.github.fommil.netlib.BLAS WARNING: Failed to load implementation from: com.github.fommil.netlib.NativeRefBLAS >>> Fail percentage: 0.0%. >>> Distributed multilayer perceptron example completed. {noformat} Also second run of the example with running server node {{ExampleNodeStartup}} fails: {noformat} >>> Ignite grid started. Exception in thread "MLPTrainerExample-#51" org.apache.ignite.cache.CacheExistsException: Failed to start cache (a cache with the same name is already started): TRAINING_SET at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheChangeRequest(GridCacheProcessor.java:4431) at org.apache.ignite.internal.processors.cache.GridCacheProcessor.dynamicStartCache(GridCacheProcessor.java:2973) at org.apache.ignite.internal.processors.cache.GridCacheProcessor.dynamicStartCache(GridCacheProcessor.java:2912) at org.apache.ignite.internal.IgniteKernal.createCache(IgniteKernal.java:2761) at org.apache.ignite.examples.ml.nn.MLPTrainerExample.lambda$main$0(MLPTrainerExample.java:71) at java.lang.Thread.run(Thread.java:745) [12:46:14] Ignite node stopped OK [uptime=00:00:00.033] {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-9918) Default configuration missed
Sergey Kozlov created IGNITE-9918: - Summary: Default configuration missed Key: IGNITE-9918 URL: https://issues.apache.org/jira/browse/IGNITE-9918 Project: Ignite Issue Type: Bug Components: general Affects Versions: 2.7 Reporter: Sergey Kozlov Fix For: 2.7 Node start failed if try to execute {{bin/ignite.sh}} without arguments: {noformat} C:\GitRoot\gg-qa\i2test\var\suite-client\ignite\bin>ignite.bat class org.apache.ignite.IgniteException: Spring XML configuration path is invalid: config\default-config.xml. Note that this path should be either absolute or a relative local file system path, relative to META-INF in classpath or valid URL to IGNITE_HOME. at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1014) at org.apache.ignite.Ignition.start(Ignition.java:351) at org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:301) Caused by: class org.apache.ignite.IgniteCheckedException: Spring XML configuration path is invalid: config\default-conf ig.xml. Note that this path should be either absolute or a relative local file system path, relative to META-INF in clas spath or valid URL to IGNITE_HOME. at org.apache.ignite.internal.util.IgniteUtils.resolveSpringUrl(IgniteUtils.java:3858) at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:858) at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:730) at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:699) at org.apache.ignite.Ignition.start(Ignition.java:348) ... 1 more Caused by: java.net.MalformedURLException: no protocol: config\default-config.xml at java.net.URL.(URL.java:593) at java.net.URL.(URL.java:490) at java.net.URL.(URL.java:439) at org.apache.ignite.internal.util.IgniteUtils.resolveSpringUrl(IgniteUtils.java:3849) ... 5 more Failed to start grid: Spring XML configuration path is invalid: config\default-config.xml. Note that this path should be either absolute or a relative local file system path, relative to META-INF in classpath or valid URL to IGNITE_HOME. {noformat} Obviously that there's no {{config/default-config.xml}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-9871) IgniteOOM on client is not clear
Sergey Kozlov created IGNITE-9871: - Summary: IgniteOOM on client is not clear Key: IGNITE-9871 URL: https://issues.apache.org/jira/browse/IGNITE-9871 Project: Ignite Issue Type: Bug Components: cache Affects Versions: 2.6 Reporter: Sergey Kozlov Fix For: 2.8 1. Start grid with small data region w/o PDS 2. Start client used streamer and load data exceeding the data region. 3. The client throws IgniteOOM but it's not clear which node caused the issue. Also the client may not expect such exception like this. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-9291) IgniteJdbcThinDriver with SSL doesn't work for sqlline on Windows
Sergey Kozlov created IGNITE-9291: - Summary: IgniteJdbcThinDriver with SSL doesn't work for sqlline on Windows Key: IGNITE-9291 URL: https://issues.apache.org/jira/browse/IGNITE-9291 Project: Ignite Issue Type: Bug Components: jdbc Affects Versions: 2.6 Reporter: Sergey Kozlov Fix For: 2.7 I tried to run AI 2.6 with same configuration under Linux (Ubuntu) and Windows 10 and then connect {sqlline} with activated SSL. It works fine for Linux and doesn't work for Windows. There's no errors on server nodes but sqlline prints out following: {noformat} ['C:/BuildAgent/work/dd4d79acf76cc870/i2test/var/suite-client/gg-pro-fab-nolgpl/bin/sqlline.bat', '-d', 'org.apache.ignite.IgniteJdbcThinDriver', '--verbose=true', '--force=true', '--showWarnings=true', '--showNestedErrs=true', '-u', 'jdbc:ignite:thin://127.0.0.1/?sslMode=require=C:/BuildAgent/work/dd4d79acf76cc870/i2test/var/suite-client/test_modules/test_sqlline/jdbc-thin-data-region-ssl/client.jks=123456=C:/BuildAgent/work/dd4d79acf76cc870/i2test/var/suite-client/test_modules/test_sqlline/jdbc-thin-data-region-ssl/trust.jks=123456', '-f', 'C:/BuildAgent/work/dd4d79acf76cc870/i2test/var/suite-client/test_modules/test_sqlline/jdbc-thin-data-region-ssl/sqlline_output.1.batch.txt'] C:/BuildAgent/work/dd4d79acf76cc870/i2test/var/suite-client/gg-pro-fab-nolgpl/bin/sqlline.bat, WARN: IGNITE_HOME environment variable may be pointing to wrong folder: C:/BuildAgent/work/dd4d79acf76cc870/i2test/var/suite-client/gg-pro-fab-nolgpl Setting property: [force, true] Setting property: [showWarnings, true] Setting property: [showNestedErrs, true] issuing: !connect jdbc:ignite:thin://127.0.0.1/?sslMode=require '' '' org.apache.ignite.IgniteJdbcThinDriver Connecting to jdbc:ignite:thin://127.0.0.1/?sslMode=require Error: Failed to SSL connect to server [url=jdbc:ignite:thin://127.0.0.1:10800] (state=08001,code=0) java.sql.SQLException: Failed to SSL connect to server [url=jdbc:ignite:thin://127.0.0.1:10800] at org.apache.ignite.internal.jdbc.thin.JdbcThinSSLUtil.createSSLSocket(JdbcThinSSLUtil.java:93) at org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo.connect(JdbcThinTcpIo.java:217) at org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo.start(JdbcThinTcpIo.java:159) at org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo.start(JdbcThinTcpIo.java:134) at org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.ensureConnected(JdbcThinConnection.java:151) at org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.(JdbcThinConnection.java:140) at org.apache.ignite.IgniteJdbcThinDriver.connect(IgniteJdbcThinDriver.java:157) at sqlline.DatabaseConnection.connect(DatabaseConnection.java:156) at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:204) at sqlline.Commands.connect(Commands.java:1095) at sqlline.Commands.connect(Commands.java:1001) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38) at sqlline.SqlLine.dispatch(SqlLine.java:791) at sqlline.SqlLine.initArgs(SqlLine.java:566) at sqlline.SqlLine.begin(SqlLine.java:643) at sqlline.SqlLine.start(SqlLine.java:373) at sqlline.SqlLine.main(SqlLine.java:265) Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979) at sun.security.ssl.Handshaker.process_record(Handshaker.java:914) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387) at
[jira] [Created] (IGNITE-9230) Cannot use array fields in DML oprtations in sqlline
Sergey Kozlov created IGNITE-9230: - Summary: Cannot use array fields in DML oprtations in sqlline Key: IGNITE-9230 URL: https://issues.apache.org/jira/browse/IGNITE-9230 Project: Ignite Issue Type: Bug Components: sql Affects Versions: 2.6 Reporter: Sergey Kozlov Fix For: 2.7 {noformat} sqlline version 1.3.0 0: jdbc:ignite:thin://127.0.0.1/> create table t1(a int null, b ARRAY, primary key(a)); No rows affected (0,113 seconds) 0: jdbc:ignite:thin://127.0.0.1/> insert into t1 (a,b) values (1, (1,2,3)); Error: Value conversion failed [from=[Ljava.lang.Object;, to=java.sql.Array] (state=0700B,code=0) 0: jdbc:ignite:thin://127.0.0.1/> {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-9173) Null value for decimal column is shown as the empty string in sqlline
Sergey Kozlov created IGNITE-9173: - Summary: Null value for decimal column is shown as the empty string in sqlline Key: IGNITE-9173 URL: https://issues.apache.org/jira/browse/IGNITE-9173 Project: Ignite Issue Type: Bug Components: sql Affects Versions: 2.4 Reporter: Sergey Kozlov {noformat} 0: jdbc:ignite:thin://127.0.0.1/> create table t1 (a int not null, b decimal, primary ke No rows affected (0,016 seconds) 0: jdbc:ignite:thin://127.0.0.1/> insert into t1 values (1,NULL); 1 row affected (0,002 seconds) 0: jdbc:ignite:thin://127.0.0.1/> select * from t1; +++ | A| B| +++ | 1 || +++ 1 row selected (0,006 seconds) {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-9167) Wrong output for binary column in SELECT
Sergey Kozlov created IGNITE-9167: - Summary: Wrong output for binary column in SELECT Key: IGNITE-9167 URL: https://issues.apache.org/jira/browse/IGNITE-9167 Project: Ignite Issue Type: Bug Components: sql Affects Versions: 2.4 Reporter: Sergey Kozlov 1. Start Ignite node 2. Start sqlline and make table with BINARY col then insert and select: {noformat} sqlline version 1.3.0 0: jdbc:ignite:thin://127.0.0.1/> create table t1 (a int not null, b binary, primary key(a)); No rows affected (0,127 seconds) 0: jdbc:ignite:thin://127.0.0.1/> insert into t1 (a,b) values (1, NULL); 1 row affected (0,04 seconds) 0: jdbc:ignite:thin://127.0.0.1/> insert into t1 (a,b) values (2, X'00FF'); 1 row affected (0 seconds) 0: jdbc:ignite:thin://127.0.0.1/> select * from t1; +++ | A| B| +++ | 1 || | 2 | [B@6276ae34| +++ 2 rows selected (0,038 seconds) {noformat} H2 output (for comparison): {noformat} 0: jdbc:h2:mem:test> create table t1 (a int not null, b binary, primary key(a)); No rows affected (0,003 seconds) 0: jdbc:h2:mem:test> insert into t1 (a,b) values (2, X'00FF'); 1 row affected (0 seconds) 0: jdbc:h2:mem:test> select b from t1; +---+ | B | +---+ | 00ff | +---+ {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-9162) Query returns ICE: org.h2.table.TableView cannot be cast
Sergey Kozlov created IGNITE-9162: - Summary: Query returns ICE: org.h2.table.TableView cannot be cast Key: IGNITE-9162 URL: https://issues.apache.org/jira/browse/IGNITE-9162 Project: Ignite Issue Type: Bug Components: sql Affects Versions: 2.4 Reporter: Sergey Kozlov 1. Start 1 Ignite node {{bin/ignite.sh server.xml -v -J-DCONSISTENT_ID=node1}} 2. Start sqlline {{bin/sqlline.sh -u jdbc:ignite:thin://127.0.0.1/?distributedJoins=true}} 3. Execute statements: {noformat} 0: jdbc:ignite:thin://127.0.0.1/> CREATE TABLE t1 ( id INT NOT NULL, int_col1 INT NOT NULL, PRIMARY KEY (id)) WITH "TEMPLATE=partitioned"; No rows affected (0,151 seconds) 0: jdbc:ignite:thin://127.0.0.1/> INSERT INTO t1 (id,int_col1) VALUES (1,0),(2,0),(3,0),(4,0); 4 rows affected (0,052 seconds) 0: jdbc:ignite:thin://127.0.0.1/> SELECT * FROM ( SELECT * FROM t1 WHERE int_col1 > 0 ORDER BY id ) WHERE int_col1 = 1 ORDER BY id; Error: javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: org.h2.table.TableView cannot be cast to org.apache.ignite.internal.processors.query.h2.opt.GridH2Table (state=5,code=0) 0: jdbc:ignite:thin://127.0.0.1/> {noformat} Node log: {noformat} [12:39:38,162][SEVERE][client-connector-#50][JdbcRequestHandler] Failed to execute SQL query [reqId=0, req=JdbcQueryExecuteRequest [schemaName=PUBLIC, pageSize=1024, maxRows=0, sqlQry=SELECT * FROM ( SELECT * FROM t1 WHERE int_col1 > 0 ORDER BY id ) WHERE int_col1 = 1 ORDER BY id, args=[], stmtType=ANY_STATEMENT_TYPE]] javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: org.h2.table.TableView cannot be cast to org.apache.ignite.internal.processors.query.h2.opt.GridH2Table at org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2047) at org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequestHandler.executeQuery(JdbcRequestHandler.java:456) at org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequestHandler.handle(JdbcRequestHandler.java:203) at org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:160) at org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:44) at org.apache.ignite.internal.util.nio.GridNioFilterChain$TailFilter.onMessageReceived(GridNioFilterChain.java:279) at org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:109) at org.apache.ignite.internal.util.nio.GridNioAsyncNotifyFilter$3.body(GridNioAsyncNotifyFilter.java:97) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at org.apache.ignite.internal.util.worker.GridWorkerPool$1.run(GridWorkerPool.java:70) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: class org.apache.ignite.IgniteCheckedException: org.h2.table.TableView cannot be cast to org.apache.ignite.internal.processors.query.h2.opt.GridH2Table at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:2601) at org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2044) ... 12 more Caused by: java.lang.ClassCastException: org.h2.table.TableView cannot be cast to org.apache.ignite.internal.processors.query.h2.opt.GridH2Table at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.extractPartitionFromEquality(GridSqlQuerySplitter.java:2336) at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.extractPartition(GridSqlQuerySplitter.java:2268) at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.derivePartitionsFromQuery(GridSqlQuerySplitter.java:2250) at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.splitSelect(GridSqlQuerySplitter.java:1539) at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.splitQueryModel(GridSqlQuerySplitter.java:1227) at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.splitQuery(GridSqlQuerySplitter.java:306) at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.split(GridSqlQuerySplitter.java:224) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.split(IgniteH2Indexing.java:1936) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.parseAndSplit(IgniteH2Indexing.java:1898) at
[jira] [Created] (IGNITE-8918) Redis examples don't work
Sergey Kozlov created IGNITE-8918: - Summary: Redis examples don't work Key: IGNITE-8918 URL: https://issues.apache.org/jira/browse/IGNITE-8918 Project: Ignite Issue Type: Bug Components: examples Affects Versions: 1.9 Reporter: Sergey Kozlov Ther is no default cache anymore but redis examples (both php/python) still based on that apporach: {noformat} [08:23:32,245][SEVERE][rest-#70%null%][GridCacheCommandHandler] Failed to execute cache command: GridRestCacheRequest [cacheName=null, cacheFlags=0, ttl=null, super=GridRestRequest [destId=null, clientId=d6594e45-41eb-46db-a77e-8cbcd2310a55, addr=null, cmd=CACHE_PUT]] class org.apache.ignite.IgniteCheckedException: Failed to find cache for given cache name (null for default cache): null at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.localCache(GridCacheCommandHandler.java:754) at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.executeCommand(GridCacheCommandHandler.java:677) at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.handleAsync(GridCacheCommandHandler.java:468) at org.apache.ignite.internal.processors.rest.GridRestProcessor.handleRequest(GridRestProcessor.java:264) at org.apache.ignite.internal.processors.rest.GridRestProcessor.access$100(GridRestProcessor.java:87) at org.apache.ignite.internal.processors.rest.GridRestProcessor$2.body(GridRestProcessor.java:153) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) [08:23:32,251][SEVERE][rest-#70%null%][GridRestProcessor] Failed to handle request: CACHE_PUT class org.apache.ignite.IgniteCheckedException: Failed to find cache for given cache name (null for default cache): null at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.localCache(GridCacheCommandHandler.java:754) at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.executeCommand(GridCacheCommandHandler.java:677) at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.handleAsync(GridCacheCommandHandler.java:468) at org.apache.ignite.internal.processors.rest.GridRestProcessor.handleRequest(GridRestProcessor.java:264) at org.apache.ignite.internal.processors.rest.GridRestProcessor.access$100(GridRestProcessor.java:87) at org.apache.ignite.internal.processors.rest.GridRestProcessor$2.body(GridRestProcessor.java:153) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} Fix examples -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-8854) !indexes and !primarykeys return nothing for o.a.i.IgniteJdbcDriver
Sergey Kozlov created IGNITE-8854: - Summary: !indexes and !primarykeys return nothing for o.a.i.IgniteJdbcDriver Key: IGNITE-8854 URL: https://issues.apache.org/jira/browse/IGNITE-8854 Project: Ignite Issue Type: Bug Components: jdbc Affects Versions: 2.4 Reporter: Sergey Kozlov # Start cluster # Start {{bin/sqlline.sh -d org.apache.ignite.IgniteJdbcDriver ...}} # Create tables with indexes like following: {noformat} 3/151CREATE TABLE PUBLIC.CAR(ID INT PRIMARY KEY, PARKINGID INT NOT NULL, NAME VARCHAR(255)) WITH "TEMPLATE=PARTITIONED"; No rows affected (0,249 seconds) 4/151CREATE TABLE PUBLIC.PARKING(ID INT PRIMARY KEY, NAME VARCHAR(255), CAPACITY INT NOT NULL) WITH "TEMPLATE=REPLICATED"; No rows affected (0,155 seconds) ... 8/151!primarykeys PUBLIC.CAR 'TABLE_CAT','TABLE_SCHEM','TABLE_NAME','COLUMN_NAME','KEY_SEQ','PK_NAME' 9/151!primarykeys PUBLIC.PARKING 'TABLE_CAT','TABLE_SCHEM','TABLE_NAME','COLUMN_NAME','KEY_SEQ','PK_NAME' ... 12/151 CREATE INDEX CAR_NAME_IDX ON PUBLIC.CAR(NAME); No rows affected (0.071 seconds) 13/151 CREATE INDEX PARKING_IDX ON PUBLIC.PARKING(NAME, CAPACITY); No rows affected (0.022 seconds) 14/151 !indexes 'TABLE_CAT','TABLE_SCHEM','TABLE_NAME','NON_UNIQUE','INDEX_QUALIFIER','INDEX_NAME','TYPE','ORDINAL_POSITION','COLUMN_NAME','ASC_OR_DESC','CARDINALITY','PAGES','FILTER_CONDITION' ... {noformat} For {{ org.apache.ignite.IgniteJdbcDriver}} commands work as expected: {noformat} 8/151!primarykeys PUBLIC.CAR 'TABLE_CAT','TABLE_SCHEM','TABLE_NAME','COLUMN_NAME','KEY_SEQ','PK_NAME' '','PUBLIC','CAR','_KEY','1','ID' 9/151!primarykeys PUBLIC.PARKING 'TABLE_CAT','TABLE_SCHEM','TABLE_NAME','COLUMN_NAME','KEY_SEQ','PK_NAME' '','PUBLIC','PARKING','_KEY','1','ID' ... 12/151 CREATE INDEX CAR_NAME_IDX ON PUBLIC.CAR(NAME); No rows affected (0.067 seconds) 13/151 CREATE INDEX PARKING_IDX ON PUBLIC.PARKING(NAME, CAPACITY); No rows affected (0.023 seconds) 14/151 !indexes 'TABLE_CAT','TABLE_SCHEM','TABLE_NAME','NON_UNIQUE','INDEX_QUALIFIER','INDEX_NAME','TYPE','ORDINAL_POSITION','COLUMN_NAME','ASC_OR_DESC','CARDINALITY','PAGES','FILTER_CONDITION' '','PUBLIC','CAR','true','','CAR_NAME_IDX','3','0','NAME','A','0','0','' '','PUBLIC','PARKING','true','','PARKING_IDX','3','0','NAME','A','0','0','' '','PUBLIC','PARKING','true','','PARKING_IDX','3','1','CAPACITY','A','0','0','' {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-8523) Java and Scala spark examples are mixed
Sergey Kozlov created IGNITE-8523: - Summary: Java and Scala spark examples are mixed Key: IGNITE-8523 URL: https://issues.apache.org/jira/browse/IGNITE-8523 Project: Ignite Issue Type: Bug Affects Versions: 2.5 Reporter: Sergey Kozlov Fix For: 2.5 Now {{ignite-example}} project has two locations to store spark examples: {{examples/src/main/scala/org/apache/ignite/scalar/examples/spark}} - single spark example on Scala {{examples/src/main/spark/org/apache/ignite/examples/spark}} - mix of java and scala examples Moreover the profile {{scala}} activates spark folder but that folder has Java examples as well. Thus I can't run java spark examples without {{scala}} profile. The current implementation is weird and should be fixed by following way: 1. Make two locations where collect java and scala examples separately: {{examples/src/main/java/org/apache/ignite/examples/spark}} for java examples {{examples/src/main/scala/org/apache/ignite/scalar/examples/spark}} for scala examples 2. Remove {{scala}} profile -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-8520) ignite-gce/ignite-shmem
Sergey Kozlov created IGNITE-8520: - Summary: ignite-gce/ignite-shmem Key: IGNITE-8520 URL: https://issues.apache.org/jira/browse/IGNITE-8520 Project: Ignite Issue Type: Bug Affects Versions: 2.5 Reporter: Sergey Kozlov Fix For: 2.5 {{ignite-shmem}} is already included in {{libs}} and thus should be excluded from {{libs/optional/ignite-gce}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-8514) Missed descriptions for a few package
Sergey Kozlov created IGNITE-8514: - Summary: Missed descriptions for a few package Key: IGNITE-8514 URL: https://issues.apache.org/jira/browse/IGNITE-8514 Project: Ignite Issue Type: Bug Affects Versions: 2.5 Reporter: Sergey Kozlov Fix For: 2.5 The packages below have no descriptions in javadoc: /doc/javadoc/overview-summary.html {noformat} org.apache.ignite.spi.communication.tcp.internal org.apache.ignite.spi.discovery.zk org.apache.ignite.spi.discovery.zk.internal org.apache.ignite.ml.structures.partition {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-8337) Java ThinClient benchmark for yardstick
Sergey Kozlov created IGNITE-8337: - Summary: Java ThinClient benchmark for yardstick Key: IGNITE-8337 URL: https://issues.apache.org/jira/browse/IGNITE-8337 Project: Ignite Issue Type: Improvement Affects Versions: 2.4 Reporter: Sergey Kozlov Fix For: 2.5 Version 2.4 introduced new binary protocol thus we need to add put, put-get, put-all benchmarks for Yardstick for both atomic, tx caches. Take the data models, the load profiles from regular benchmarks -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-8244) Sporadic ClusterTopologyCheckedException for the example run
Sergey Kozlov created IGNITE-8244: - Summary: Sporadic ClusterTopologyCheckedException for the example run Key: IGNITE-8244 URL: https://issues.apache.org/jira/browse/IGNITE-8244 Project: Ignite Issue Type: Bug Affects Versions: 2.4 Reporter: Sergey Kozlov Fix For: 2.5 1. Start standalone node 2. Start example from the list: {noformat} org.apache.ignite.examples.binary.datagrid.store.auto.CacheBinaryAutoStoreExample org.apache.ignite.examples.datagrid.store.CacheLoadOnlyStoreExample org.apache.ignite.examples.datastructures.IgniteSemaphoreExample org.apache.ignite.examples.java8.computegrid.ComputeCallableExample org.apache.ignite.examples.java8.datagrid.CacheApiExample org.apache.ignite.examples.datagrid.store.auto.CacheAutoStoreExample org.apache.ignite.examples.java8.cluster.ClusterGroupExample org.apache.ignite.examples.java8.computegrid.ComputeClosureExample org.apache.ignite.examples.java8.messaging.MessagingExample org.apache.ignite.examples.messaging.MessagingExample org.apache.ignite.scalar.examples.ScalarTaskExample org.apache.ignite.examples.datagrid.store.jdbc.CacheJdbcStoreExample org.apache.ignite.examples.java8.computegrid.ComputeAsyncExample org.apache.ignite.examples.java8.computegrid.ComputeRunnableExample org.apache.ignite.examples.java8.datagrid.CacheEntryProcessorExample org.apache.ignite.examples.java8.messaging.MessagingPingPongExample org.apache.ignite.examples.datagrid.store.spring.CacheSpringStoreExample org.apache.ignite.examples.java8.computegrid.ComputeBroadcastExample org.apache.ignite.examples.java8.datagrid.CacheAffinityExample org.apache.ignite.examples.java8.datastructures.IgniteExecutorServiceExample {noformat} 3. Sometimes example ends up with following exception: {noformat} class org.apache.ignite.internal.cluster.ClusterTopologyCheckedException: Failed to send message because node left grid [nodeId=178785f1-6df2-4395-82ba-5636b496f6cd, msg=GridDhtTxOnePhaseCommitAckRequest [vers=[GridCacheVersion [topVer=135009857, time=1523529863612, order=1523529860859, nodeOrder=1], GridCacheVersion [topVer=135009857, time=1523529863612, order=1523529860860, nodeOrder=1], GridCacheVersion [topVer=135009857, time=1523529863623, order=1523529860866, nodeOrder=1], GridCacheVersion [topVer=135009857, time=1523529863625, order=1523529860869, nodeOrder=1]], super=GridCacheMessage [msgId=-1, depInfo=null, err=null, skipPrepare=false, cacheId=0, cacheId=0]]] at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:1065) at org.apache.ignite.internal.processors.cache.transactions.IgniteTxManager$2.finish(IgniteTxManager.java:283) at org.apache.ignite.internal.processors.cache.GridDeferredAckMessageSender$DeferredAckMessageBuffer.finish0(GridDeferredAckMessageSender.java:214) at org.apache.ignite.internal.processors.cache.GridDeferredAckMessageSender$DeferredAckMessageBuffer.access$000(GridDeferredAckMessageSender.java:111) at org.apache.ignite.internal.processors.cache.GridDeferredAckMessageSender$DeferredAckMessageBuffer$1.run(GridDeferredAckMessageSender.java:159) at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6640) at org.apache.ignite.internal.processors.closure.GridClosureProcessor$1.body(GridClosureProcessor.java:788) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-8217) Example DbH2ServerStartup produces a huge annoying output
Sergey Kozlov created IGNITE-8217: - Summary: Example DbH2ServerStartup produces a huge annoying output Key: IGNITE-8217 URL: https://issues.apache.org/jira/browse/IGNITE-8217 Project: Ignite Issue Type: Bug Affects Versions: 2.4 Reporter: Sergey Kozlov Fix For: 2.5 Example DbH2ServerStartup produces a huge annoying output: {noformat} Type 'q' and press 'Enter' to stop H2 TCP server... {noformat} Due to code following: {code:java} try { do { System.out.println("Type 'q' and press 'Enter' to stop H2 TCP server..."); } while ('q' != System.in.read()); } catch (IOException ignored) { // No-op. } } {code} I suppose we can put {{Thread.sleep(1000)}} in the \{{while}} loop and reduce repeating lines -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-7613) Unable to run example classes for JDK9 in IDEA
Sergey Kozlov created IGNITE-7613: - Summary: Unable to run example classes for JDK9 in IDEA Key: IGNITE-7613 URL: https://issues.apache.org/jira/browse/IGNITE-7613 Project: Ignite Issue Type: Bug Components: examples Affects Versions: 2.4 Environment: Windows 10, Oracle JDK 9.0.4, Apache Maven 3.3.9, IDEA 2017.1.3 Reporter: Sergey Kozlov Fix For: 2.4 I built the AI binary fabric from 2.4 sources and then import pom.xml in IDEA from {{examples}} directory ( {{ignite-examples}} project). The pom file imported and then compiled successfully. But trying to run any example leads to failure: {noformat} Information:java: Errors occurred while compiling module 'ignite-examples' Information:javac 9.0.4 was used to compile java sources Information:02.02.2018 13:32 - Compilation completed with 1 error and 0 warnings in 1s 749ms Error:java: invalid flag: -release {noformat} The same issue appers if I tried to rebuild the chosed example. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-7599) Missed licenses in apache-ignite-io module
Sergey Kozlov created IGNITE-7599: - Summary: Missed licenses in apache-ignite-io module Key: IGNITE-7599 URL: https://issues.apache.org/jira/browse/IGNITE-7599 Project: Ignite Issue Type: Bug Affects Versions: 2.4 Reporter: Sergey Kozlov Fix For: 2.4 {\{libs/optional/apache-ignite-io/licenses}} has no Apache Ignite licenses -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-7567) ML example datasets should be moved in resoirce directory
Sergey Kozlov created IGNITE-7567: - Summary: ML example datasets should be moved in resoirce directory Key: IGNITE-7567 URL: https://issues.apache.org/jira/browse/IGNITE-7567 Project: Ignite Issue Type: Bug Affects Versions: 2.4 Reporter: Sergey Kozlov Fix For: 2.4 {\{org.apache.ignite.examples.ml.knn.classification.KNNClassificationExample}} and \{{org.apache.ignite.examples.ml.knn.regression.KNNRegressionExample}} use datesets from ../datasets The data directory has to moved into resource directory \{{src/main/java/resources}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-7534) ClusterGroupExample duplicate
Sergey Kozlov created IGNITE-7534: - Summary: ClusterGroupExample duplicate Key: IGNITE-7534 URL: https://issues.apache.org/jira/browse/IGNITE-7534 Project: Ignite Issue Type: Bug Affects Versions: 2.4 Reporter: Sergey Kozlov Fix For: 2.4 The examples \{{org.apache.ignite.examples.cluster.ClusterGroupExample}} and \{{org.apache.ignite.examples.computegrid.cluster.ClusterGroupExample}} are same -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (IGNITE-7234) Optimize TC suites
Sergey Kozlov created IGNITE-7234: - Summary: Optimize TC suites Key: IGNITE-7234 URL: https://issues.apache.org/jira/browse/IGNITE-7234 Project: Ignite Issue Type: Task Components: build Affects Versions: 2.3 Reporter: Sergey Kozlov The current organization of test suites on CI servers looks like inefficient. We've 90+ test suites and the number of tests is permanently growing. The plan of optimization might look following: # Analyze and join short executed suites into single(s) suite # Analyze execution time of suites (tests) to check ability to split tests into regular and long running suites (e.g. Basic and Basic Long, Cache and Cache Long, etc) # Check the approach to compile binaries at once and the run tests against them # Make the report of distribution of time-execution of tests, for instance: 0-10%: X tests 11-20%: Y tests ... -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-7216) Refactor examples project
Sergey Kozlov created IGNITE-7216: - Summary: Refactor examples project Key: IGNITE-7216 URL: https://issues.apache.org/jira/browse/IGNITE-7216 Project: Ignite Issue Type: Sub-task Reporter: Sergey Kozlov Now we have regular and Java8 examples and I suppose following: * Replace regular examples by corresponding Java8 examples if any * Remove Java8 profile * Set source/target as for main project * ML profile should be activated by default -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-7110) Javadoc package descriptions missed for ML
Sergey Kozlov created IGNITE-7110: - Summary: Javadoc package descriptions missed for ML Key: IGNITE-7110 URL: https://issues.apache.org/jira/browse/IGNITE-7110 Project: Ignite Issue Type: Bug Components: ml Affects Versions: 2.3 Reporter: Sergey Kozlov Priority: Minor Fix For: 2.4 The following packages have no description: org.apache.ignite.development.utils org.apache.ignite.ml.trees.trainers.columnbased.caches org.apache.ignite.ml.util -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-6762) SparseDistributedMatrixExample failed with NPE
Sergey Kozlov created IGNITE-6762: - Summary: SparseDistributedMatrixExample failed with NPE Key: IGNITE-6762 URL: https://issues.apache.org/jira/browse/IGNITE-6762 Project: Ignite Issue Type: Bug Security Level: Public (Viewable by anyone) Components: examples Affects Versions: 2.3 Reporter: Sergey Kozlov Priority: Critical Fix For: 2.3 1. Open ignite-examples project in IDEA 2. Start 3 nodes by {{ExampleNodeStartup}} 3. Run {{SparseDistributedMatrixExample}}. It throws the exception: {noformat} >>> Ignite grid started. >>> Create new SparseDistributedMatrix inside IgniteThread. Exception in thread "SparseDistributedMatrixExample-#51" java.lang.NullPointerException at org.apache.ignite.ml.math.distributed.CacheUtils.sum(CacheUtils.java:170) at org.apache.ignite.ml.math.distributed.CacheUtils.sparseSum(CacheUtils.java:160) at org.apache.ignite.ml.math.impls.matrix.SparseDistributedMatrix.sum(SparseDistributedMatrix.java:185) at org.apache.ignite.examples.ml.math.matrix.SparseDistributedMatrixExample.lambda$main$1(SparseDistributedMatrixExample.java:58) at java.lang.Thread.run(Thread.java:745) [15:28:44] Ignite node stopped OK [uptime=00:00:04.399] {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-6724) PersistentStoreExample is broken
Sergey Kozlov created IGNITE-6724: - Summary: PersistentStoreExample is broken Key: IGNITE-6724 URL: https://issues.apache.org/jira/browse/IGNITE-6724 Project: Ignite Issue Type: Bug Security Level: Public (Viewable by anyone) Components: examples Affects Versions: 2.3 Reporter: Sergey Kozlov Priority: Critical Fix For: 2.3 1. Open in IDEA {{ignite-examples}} project 2. Start {{PersistentStoreExampleNodeStartup}} 3. Run {{PersistentStoreExample}}. Looks like it does nothing for now: {noformat} 14:50:46] Topology snapshot [ver=2, servers=1, clients=1, CPUs=8, heap=7.1GB] SQL Result: [] GET Result: null [14:50:47] Ignite node stopped OK [uptime=00:00:01.181] {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-6723) ScalarCreditRiskExample failed with StackOverflowError
Sergey Kozlov created IGNITE-6723: - Summary: ScalarCreditRiskExample failed with StackOverflowError Key: IGNITE-6723 URL: https://issues.apache.org/jira/browse/IGNITE-6723 Project: Ignite Issue Type: Bug Security Level: Public (Viewable by anyone) Components: examples Affects Versions: 2.3 Reporter: Sergey Kozlov Priority: Critical Fix For: 2.3 1. Open in IDEA {{ignite-examples}} project 2. Start {{ExampleNodeStartup}} 3. Run {{ScalarCreditRiskExample}}. It fails: {noformat} java.lang.StackOverflowError at java.util.IdentityHashMap.maskNull(IdentityHashMap.java:192) at java.util.IdentityHashMap.put(IdentityHashMap.java:426) at org.apache.ignite.internal.binary.BinaryWriterHandles.put(BinaryWriterHandles.java:88) at org.apache.ignite.internal.binary.BinaryWriterExImpl.tryWriteAsHandle(BinaryWriterExImpl.java:1879) at org.apache.ignite.internal.binary.BinaryClassDescriptor.preWrite(BinaryClassDescriptor.java:888) at org.apache.ignite.internal.binary.BinaryClassDescriptor.write(BinaryClassDescriptor.java:790) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal0(BinaryWriterExImpl.java:206) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal(BinaryWriterExImpl.java:147) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal(BinaryWriterExImpl.java:134) at org.apache.ignite.internal.binary.BinaryWriterExImpl.doWriteObject(BinaryWriterExImpl.java:496) at org.apache.ignite.internal.binary.BinaryWriterExImpl.writeObjectField(BinaryWriterExImpl.java:1160) at org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.write(BinaryFieldAccessor.java:663) at org.apache.ignite.internal.binary.BinaryClassDescriptor.write(BinaryClassDescriptor.java:793) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal0(BinaryWriterExImpl.java:206) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal(BinaryWriterExImpl.java:147) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal(BinaryWriterExImpl.java:134) at org.apache.ignite.internal.binary.BinaryWriterExImpl.doWriteObject(BinaryWriterExImpl.java:496) at org.apache.ignite.internal.binary.BinaryWriterExImpl.writeObjectField(BinaryWriterExImpl.java:1160) at org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.write(BinaryFieldAccessor.java:663) at org.apache.ignite.internal.binary.BinaryClassDescriptor.write(BinaryClassDescriptor.java:793) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal0(BinaryWriterExImpl.java:206) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal(BinaryWriterExImpl.java:147) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal(BinaryWriterExImpl.java:134) at org.apache.ignite.internal.binary.BinaryWriterExImpl.doWriteObject(BinaryWriterExImpl.java:496) at org.apache.ignite.internal.binary.BinaryWriterExImpl.writeObjectField(BinaryWriterExImpl.java:1160) at org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.write(BinaryFieldAccessor.java:663) at org.apache.ignite.internal.binary.BinaryClassDescriptor.write(BinaryClassDescriptor.java:793) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal0(BinaryWriterExImpl.java:206) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal(BinaryWriterExImpl.java:147) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal(BinaryWriterExImpl.java:134) at org.apache.ignite.internal.binary.BinaryWriterExImpl.doWriteObject(BinaryWriterExImpl.java:496) at org.apache.ignite.internal.binary.BinaryWriterExImpl.writeObjectField(BinaryWriterExImpl.java:1160) at org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.write(BinaryFieldAccessor.java:663) at org.apache.ignite.internal.binary.BinaryClassDescriptor.write(BinaryClassDescriptor.java:793) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal0(BinaryWriterExImpl.java:206) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal(BinaryWriterExImpl.java:147) at org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal(BinaryWriterExImpl.java:134) at org.apache.ignite.internal.binary.BinaryWriterExImpl.doWriteObject(BinaryWriterExImpl.java:496) at org.apache.ignite.internal.binary.BinaryWriterExImpl.writeObjectField(BinaryWriterExImpl.java:1160) at org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.write(BinaryFieldAccessor.java:663) at
[jira] [Created] (IGNITE-6708) Remove ignite-compatibility from optional directory
Sergey Kozlov created IGNITE-6708: - Summary: Remove ignite-compatibility from optional directory Key: IGNITE-6708 URL: https://issues.apache.org/jira/browse/IGNITE-6708 Project: Ignite Issue Type: Bug Security Level: Public (Viewable by anyone) Components: build Affects Versions: 2.3 Reporter: Sergey Kozlov Fix For: 2.3 {{ignite-compatibility}} presented in optional directory of Apache Ignite Fabric but it's not an actual module -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-6706) Remove ignite-sqlline module from optioanl directory
Sergey Kozlov created IGNITE-6706: - Summary: Remove ignite-sqlline module from optioanl directory Key: IGNITE-6706 URL: https://issues.apache.org/jira/browse/IGNITE-6706 Project: Ignite Issue Type: Bug Security Level: Public (Viewable by anyone) Components: build Affects Versions: 2.3 Reporter: Sergey Kozlov Priority: Critical Fix For: 2.3 {{ignite-sqlline}} presented in optional directory of Apache Ignite Fabric but it's not an actual module -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-6664) Memcached example refactoring
Sergey Kozlov created IGNITE-6664: - Summary: Memcached example refactoring Key: IGNITE-6664 URL: https://issues.apache.org/jira/browse/IGNITE-6664 Project: Ignite Issue Type: Task Security Level: Public (Viewable by anyone) Components: examples Affects Versions: 2.2 Reporter: Sergey Kozlov Fix For: 2.4 The memcached example {{examples/memcached/memcached-example.php}} looks like outpdated and doesn't work for php 7.0/7.1. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-6660) Python Redis example fails for python 3 run
Sergey Kozlov created IGNITE-6660: - Summary: Python Redis example fails for python 3 run Key: IGNITE-6660 URL: https://issues.apache.org/jira/browse/IGNITE-6660 Project: Ignite Issue Type: Bug Security Level: Public (Viewable by anyone) Components: examples Affects Versions: 2.2, 2.1, 2.0, 1.9, 1.8 Reporter: Sergey Kozlov Fix For: 2.3 Looks like python redis example fails due to design python 2. But for python 3 run raised the following error: {noformat} File "/var/lib/teamcity/data/work/17028f058b6ef75f/i2test/var/suite-examples/gg-pro-fab/examples/redis/redis-example.py", line 32 print 'Value for "k1": %s' % r.get('k1') ^ SyntaxError: invalid syntax {noformat} The suggested fix is to put brackets for print calls: -{{print 'Value for "k1": %s' % r.get('k1')}}- {{print('Value for "k1": %s' % r.get('k1'))}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-6205) Stability testing on CI server
Sergey Kozlov created IGNITE-6205: - Summary: Stability testing on CI server Key: IGNITE-6205 URL: https://issues.apache.org/jira/browse/IGNITE-6205 Project: Ignite Issue Type: Task Affects Versions: 2.1 Reporter: Sergey Kozlov Fix For: 2.3 CI server shows many sporadic failures and the communty spend significant efforts to fix them. We should to avoid such cases by adding the task on teamcity where new or modified tests wil run 100 times. Once it will be done the "100 times run" can become the part/requirement of review procedure. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-6191) Integration for Unix sustem
Sergey Kozlov created IGNITE-6191: - Summary: Integration for Unix sustem Key: IGNITE-6191 URL: https://issues.apache.org/jira/browse/IGNITE-6191 Project: Ignite Issue Type: Task Components: build Affects Versions: 2.1 Reporter: Sergey Kozlov Current installation procedure of Apache Ignite is poor: unzip and run. We need to deep integration for Unix System, namely: # Provide a script to *nix for start/stop/restart/reload Apache Ignite as system service (a deamon). At the beginning focus on Ubuntu and RedHat (CentOS) # Provide the start confugration for Apache Ignite where provide non-spring options like number of Apache Ignite instances, JVM options, work/log directories etc (at might be an ini file) # Provide platform-adopted packages (*.pkg, *deb) in the own repository that will install (upgrade) Apache Ignite in proper directories, for instance: configuration in /etc/ignite/config, visorcmd in /usr/sbin, start scripts in /etc/init.d, work directory in /var/lib/ignite, logs in /var/log/ignite/. It will significally reduce the efforts to install Apache Ignite for newbies ("just add the reporsitory and run package manager") -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-5630) Exception for node disconnect
Sergey Kozlov created IGNITE-5630: - Summary: Exception for node disconnect Key: IGNITE-5630 URL: https://issues.apache.org/jira/browse/IGNITE-5630 Project: Ignite Issue Type: Bug Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 2.1 {noformat} [09:27:05,772][SEVERE][tcp-comm-worker-#1%null%][TcpCommunicationSpi] Failed to establish connection to a remote node [node=TcpDiscoveryNode [id=f0d08a47-cccf-48b2-aeb2-9591baae6726, addrs=[127.0.0.1, 172.17.42.1, 172.25.2.24], sockAddrs=[/127.0.0.1:47503, agent-24/172.25.2.24:47503, /172.17.42.1:47503], discPort=47503, order=88, intOrder=46, lastExchangeTime=1498804024671, loc=false, ver=1.8.8#20170629-sha1:82e7d269, isClient=false], addr=/127.0.0.1:47103, connectAttempts=2, failureDetThrReachedfalse] class org.apache.ignite.internal.cluster.ClusterTopologyCheckedException: Failed to send message (node left topology): TcpDiscoveryNode [id=f0d08a47-cccf-48b2-aeb2-9591baae6726, addrs=[127.0.0.1, 172.17.42.1, 172.25.2.24], sockAddrs=[/127.0.0.1:47503, agent-24/172.25.2.24:47503, /172.17.42.1:47503], discPort=47503, order=88, intOrder=46, lastExchangeTime=1498804024671, loc=false, ver=1.8.8#20170629-sha1:82e7d269, isClient=false] at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.createTcpClient(TcpCommunicationSpi.java:2841) at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.createNioClient(TcpCommunicationSpi.java:2597) at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.reserveClient(TcpCommunicationSpi.java:2484) at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.access$5800(TcpCommunicationSpi.java:245) at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$CommunicationWorker.processDisconnect(TcpCommunicationSpi.java:3859) at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$CommunicationWorker.body(TcpCommunicationSpi.java:3685) at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62) {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-5533) CREATE INDEX failed if table has been re-creted
Sergey Kozlov created IGNITE-5533: - Summary: CREATE INDEX failed if table has been re-creted Key: IGNITE-5533 URL: https://issues.apache.org/jira/browse/IGNITE-5533 Project: Ignite Issue Type: Bug Components: sql Affects Versions: 2.1 Reporter: Sergey Kozlov Fix For: 2.1 The brief scenario: create table t1 - ok insert t1 - ok create index t1 - ok drop table t1 - ok create table t1 - ok insert t1 - ok create index t1 - fail {noformat} [21:13:46,190][SEVERE][sql-connector-#239%null%][JdbcRequestHandler] Failed to execute SQL query [reqId=25, req=JdbcQueryExecuteRequest [schemaName=nu ll, pageSize=1024, maxRows=0, sqlQry=create index on "PUBLIC".t1 (b desc), args=[]]] class org.apache.ignite.internal.processors.query.IgniteSQLException: Schema change operation failed: Failed to execute SQL statement on internal H2 d atabase: CREATE INDEX "t1_b_desc_idx" ON "PUBLIC"."T1" ("B" DESC, "_KEY" ASC) at org.apache.ignite.internal.processors.query.h2.ddl.DdlStatementsProcessor.convert(DdlStatementsProcessor.java:277) at org.apache.ignite.internal.processors.query.h2.ddl.DdlStatementsProcessor.runDdlStatement(DdlStatementsProcessor.java:221) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryDistributedSqlFields(IgniteH2Indexing.java:1331) at org.apache.ignite.internal.processors.query.GridQueryProcessor$6.applyx(GridQueryProcessor.java:1856) at org.apache.ignite.internal.processors.query.GridQueryProcessor$6.applyx(GridQueryProcessor.java:1852) at org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:36) at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:2293) at org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFieldsNoCache(GridQueryProcessor.java:1860) at org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequestHandler.executeQuery(JdbcRequestHandler.java:188) at org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequestHandler.handle(JdbcRequestHandler.java:122) at org.apache.ignite.internal.processors.odbc.SqlListenerNioListener.onMessage(SqlListenerNioListener.java:152) at org.apache.ignite.internal.processors.odbc.SqlListenerNioListener.onMessage(SqlListenerNioListener.java:44) at org.apache.ignite.internal.util.nio.GridNioFilterChain$TailFilter.onMessageReceived(GridNioFilterChain.java:279) at org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:109) at org.apache.ignite.internal.util.nio.GridNioAsyncNotifyFilter$3.body(GridNioAsyncNotifyFilter.java:97) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at org.apache.ignite.internal.util.worker.GridWorkerPool$1.run(GridWorkerPool.java:70) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} {code:title=repoducer.java|borderStyle=solid} Connection conn = DriverManager.getConnection("jdbc:ignite:thin://127.0.0.1"); Statement stmt = conn.createStatement(); for (int i=0; i < 2; i++) { String t = Integer.toString(1); print(t); stmt.execute("drop table if exists \"PUBLIC\".t" + t); stmt.execute("create table \"PUBLIC\".t" + t + " (a int primary key, b varchar(30))"); for (int j=1; j < 10; j++) { String s = Integer.toString(j); stmt.execute("insert into \"PUBLIC\".t" + t + " (a,b) values (" + s + ", '" + s + "')"); } stmt.execute("create index on \"PUBLIC\".t" + t + " (b desc)"); stmt.execute("drop table \"PUBLIC\".t" + t); } {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-5531) HibernateL2CacheExample hangs
Sergey Kozlov created IGNITE-5531: - Summary: HibernateL2CacheExample hangs Key: IGNITE-5531 URL: https://issues.apache.org/jira/browse/IGNITE-5531 Project: Ignite Issue Type: Bug Components: examples Affects Versions: 2.1 Reporter: Sergey Kozlov Fix For: 2.1 HibernateL2CacheExample starts and works fine but after {{[01:18:10] Ignite node stopped OK [uptime=00:00:03:023]}} the node is not stopped -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-5486) ExampleNodeStartup fails with NPe
Sergey Kozlov created IGNITE-5486: - Summary: ExampleNodeStartup fails with NPe Key: IGNITE-5486 URL: https://issues.apache.org/jira/browse/IGNITE-5486 Project: Ignite Issue Type: Bug Components: examples Affects Versions: 2.1 Reporter: Sergey Kozlov Fix For: 2.1 1. Start 3 or more nodes in IDEA and sporadically one prints out NPE: {noformat} [2017-06-14 15:34:52,510][ERROR][sys-#35%null%][GridCacheIoManager] Failed processing message [senderId=d6187078-9af2-464f-a86b-9a8f3f4e53ee, msg=GridDhtPartitionsFullMessage [parts={-2100569601=GridDhtPartitionFullMap [nodeId=d6187078-9af2-464f-a86b-9a8f3f4e53ee, nodeOrder=1, updateSeq=12, size=2], 689859866=GridDhtPartitionFullMap [nodeId=d6187078-9af2-464f-a86b-9a8f3f4e53ee, nodeOrder=1, updateSeq=12, size=2]}, partCntrs=o.a.i.i.processors.cache.distributed.dht.preloader.IgniteDhtPartitionCountersMap@4494aed2, partHistSuppliers=null, partsToReload=null, topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], exs={}, compress=false, partCnt=2, super=GridDhtPartitionsAbstractMessage [exchId=null, lastVer=null, flags=1, super=GridCacheMessage [msgId=8, depInfo=null, err=null, skipPrepare=false java.lang.NullPointerException at org.apache.ignite.internal.processors.affinity.GridAffinityAssignment.getIds(GridAffinityAssignment.java:170) at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.update(GridDhtPartitionTopologyImpl.java:1147) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.processFullPartitionUpdate(GridCachePartitionExchangeManager.java:1272) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.access$1400(GridCachePartitionExchangeManager.java:124) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$3.onMessage(GridCachePartitionExchangeManager.java:329) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$3.onMessage(GridCachePartitionExchangeManager.java:327) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$MessageHandler.apply(GridCachePartitionExchangeManager.java:2195) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$MessageHandler.apply(GridCachePartitionExchangeManager.java:2177) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:926) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:445) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:364) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:300) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$100(GridCacheIoManager.java:103) at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:290) at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1554) at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1182) at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:124) at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1095) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-5485) CacheHibernateStoreExample failsd with NPE
Sergey Kozlov created IGNITE-5485: - Summary: CacheHibernateStoreExample failsd with NPE Key: IGNITE-5485 URL: https://issues.apache.org/jira/browse/IGNITE-5485 Project: Ignite Issue Type: Bug Affects Versions: 2.1 Reporter: Sergey Kozlov Priority: Critical Fix For: 2.1 1. Start {{DbH2ServerStartup}} 2. Start {{ExampleNodeStartup}} 3. Start {{CacheHibernateStoreExample}}. It fails with NPE: {noformat} java.lang.NullPointerException at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.hasMovingPartitions(GridDhtPartitionTopologyImpl.java:2040) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.processFullPartitionUpdate(GridCachePartitionExchangeManager.java:1281) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.access$1400(GridCachePartitionExchangeManager.java:124) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$3.onMessage(GridCachePartitionExchangeManager.java:329) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$3.onMessage(GridCachePartitionExchangeManager.java:327) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$MessageHandler.apply(GridCachePartitionExchangeManager.java:2195) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$MessageHandler.apply(GridCachePartitionExchangeManager.java:2177) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:926) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:445) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:364) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:300) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$100(GridCacheIoManager.java:103) at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:290) at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1554) at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1182) at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:124) at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1095) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (IGNITE-5443) The bunch of javadoc warnings
Sergey Kozlov created IGNITE-5443: - Summary: The bunch of javadoc warnings Key: IGNITE-5443 URL: https://issues.apache.org/jira/browse/IGNITE-5443 Project: Ignite Issue Type: Bug Components: general Affects Versions: 2.1 Reporter: Sergey Kozlov {noformat} [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2226: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2226: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2253: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2253: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2658: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2658: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2685: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2685: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2172: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2172: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2199: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2199: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING] /home/teamcity/buildAgent/work/a239320d84866d7f/incubator-ignite/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:2604: warning - @inheritDoc used but getCacheId(long, int) does not override or implement any method. [11:38:06]W: [org.apache.ignite:ignite-core] [WARNING]
[jira] [Created] (IGNITE-5249) The release build procedure
Sergey Kozlov created IGNITE-5249: - Summary: The release build procedure Key: IGNITE-5249 URL: https://issues.apache.org/jira/browse/IGNITE-5249 Project: Ignite Issue Type: Task Components: build Reporter: Sergey Kozlov Fix For: 2.1 The release build procedure should be placed on the CI/CD server and available to run for the release engineer. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (IGNITE-5245) MIN returns NULL if a numeric column of class has NULL values
Sergey Kozlov created IGNITE-5245: - Summary: MIN returns NULL if a numeric column of class has NULL values Key: IGNITE-5245 URL: https://issues.apache.org/jira/browse/IGNITE-5245 Project: Ignite Issue Type: Bug Components: sql Affects Versions: 2.0 Reporter: Sergey Kozlov Fix For: 2.1 1. Use class with the numeric field (e.g. {{Short col_Short_1}}) 2. Put a few entries where where that fields is null 3. Run query {{SELECT MIN(col_Short_1) FROM DefaultTable}} 4. It returns NULL but for same case h2 returns non-null minimal value -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (IGNITE-5122) REST example is broken
Sergey Kozlov created IGNITE-5122: - Summary: REST example is broken Key: IGNITE-5122 URL: https://issues.apache.org/jira/browse/IGNITE-5122 Project: Ignite Issue Type: Bug Affects Versions: 2.0 Reporter: Sergey Kozlov Fix For: 2.0 REST example {{examples/rest/http-rest-example.php}} is broken due to missing a cache name for requests. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (IGNITE-5121) REST API call with empty cache name causes NPE
Sergey Kozlov created IGNITE-5121: - Summary: REST API call with empty cache name causes NPE Key: IGNITE-5121 URL: https://issues.apache.org/jira/browse/IGNITE-5121 Project: Ignite Issue Type: Bug Affects Versions: 2.0 Reporter: Sergey Kozlov Fix For: 2.0 Request cache entry without cacheName causes NPE on the node: {noformat} [19:58:33,960][SEVERE][qtp153051342-48][GridJettyRestProtocol] Failed to process HTTP request [action=/ignite, req=(POST /ignite?cmd=get=mykey-529=2128506-ad94-4a21-a711-529=)@2130154253 org.eclipse.jetty.server.Request@7ef7930d] class org.apache.ignite.IgniteCheckedException: null at org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:7242) at org.apache.ignite.internal.processors.rest.GridRestProcessor$2.body(GridRestProcessor.java:172) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333) at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:988) at org.apache.ignite.internal.processors.cache.GridCacheProcessor.cache(GridCacheProcessor.java:3439) at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.localCache(GridCacheCommandHandler.java:752) at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.executeCommand(GridCacheCommandHandler.java:678) at org.apache.ignite.internal.processors.rest.handlers.cache.GridCacheCommandHandler.handleAsync(GridCacheCommandHandler.java:427) at org.apache.ignite.internal.processors.rest.GridRestProcessor.handleRequest(GridRestProcessor.java:266) at org.apache.ignite.internal.processors.rest.GridRestProcessor.access$100(GridRestProcessor.java:89) at org.apache.ignite.internal.processors.rest.GridRestProcessor$2.body(GridRestProcessor.java:155) ... 4 more {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (IGNITE-5120) Broken compilation for LGPL fabric edition
Sergey Kozlov created IGNITE-5120: - Summary: Broken compilation for LGPL fabric edition Key: IGNITE-5120 URL: https://issues.apache.org/jira/browse/IGNITE-5120 Project: Ignite Issue Type: Bug Components: build Affects Versions: 2.0 Reporter: Sergey Kozlov Priority: Blocker Fix For: 2.0 The fabric edition can't be complied with lgpl profile: {noformat} mvn clean package -Prelease,lgpl -Dignite.edition=fabric-lgpl -DskipTests ... Downloaded: https://repo.maven.apache.org/maven2/org/hibernate/hibernate-core/4.2.21.Final/hibernate-core-4.2.21.Final.jar (4592 KB at 3578.8 KB/sec) [INFO] [INFO] Reactor Summary: [INFO] [INFO] ignite-apache-license-gen .. SUCCESS [ 35.812 s] [INFO] ignite-tools ... SUCCESS [ 51.923 s] [INFO] ignite-core SUCCESS [02:30 min] [INFO] ignite-log4j ... SUCCESS [ 3.119 s] [INFO] ignite-indexing SUCCESS [ 12.571 s] [INFO] ignite-urideploy ... SUCCESS [ 4.896 s] [INFO] ignite-spring .. SUCCESS [ 4.876 s] [INFO] ignite-hadoop .. SUCCESS [ 43.381 s] [INFO] ignite-extdata-p2p . SUCCESS [ 4.034 s] [INFO] ignite-extdata-uri-dep . SUCCESS [ 1.825 s] [INFO] ignite-extdata-uri . SUCCESS [ 1.353 s] [INFO] ignite-rest-http ... SUCCESS [ 5.660 s] [INFO] ignite-clients . SUCCESS [ 3.208 s] [INFO] ignite-spring-data . SUCCESS [ 4.394 s] [INFO] ignite-web . SUCCESS [ 3.048 s] [INFO] ignite-aop . SUCCESS [ 4.712 s] [INFO] ignite-ssh . SUCCESS [ 2.761 s] [INFO] ignite-jta . SUCCESS [ 13.427 s] [INFO] ignite-aws . SUCCESS [ 8.144 s] [INFO] ignite-log4j2 .. SUCCESS [ 4.777 s] [INFO] ignite-slf4j ... SUCCESS [ 2.809 s] [INFO] ignite-jcl . SUCCESS [ 2.857 s] [INFO] ignite-codegen . SUCCESS [ 2.166 s] [INFO] ignite-gce . SUCCESS [ 7.182 s] [INFO] ignite-cloud ... SUCCESS [ 33.800 s] [INFO] ignite-mesos ... SUCCESS [ 6.682 s] [INFO] ignite-kafka ... SUCCESS [ 22.972 s] [INFO] ignite-flume ... SUCCESS [ 7.512 s] [INFO] ignite-yarn SUCCESS [ 16.315 s] [INFO] ignite-jms11 ... SUCCESS [ 5.567 s] [INFO] ignite-twitter . SUCCESS [ 7.928 s] [INFO] ignite-mqtt SUCCESS [01:05 min] [INFO] ignite-zookeeper ... SUCCESS [ 4.415 s] [INFO] ignite-camel ... SUCCESS [ 7.775 s] [INFO] ignite-storm ... SUCCESS [ 11.099 s] [INFO] ignite-osgi-paxlogging . SUCCESS [ 0.284 s] [INFO] ignite-osgi-karaf .. SUCCESS [ 0.677 s] [INFO] ignite-osgi SUCCESS [ 25.125 s] [INFO] ignite-appserver-test .. SUCCESS [ 0.199 s] [INFO] ignite-websphere-test .. SUCCESS [ 5.006 s] [INFO] ignite-cassandra ... SUCCESS [ 0.088 s] [INFO] ignite-cassandra-store . SUCCESS [ 36.538 s] [INFO] ignite-cassandra-serializers ... SUCCESS [ 3.664 s] [INFO] ignite-flink ... SUCCESS [ 22.355 s] [INFO] ignite-kubernetes .. SUCCESS [ 2.073 s] [INFO] ignite-zeromq .. SUCCESS [ 2.446 s] [INFO] ignite-rocketmq SUCCESS [ 6.950 s] [INFO] ignite-hibernate_4.2 ... FAILURE [ 2.575 s] [INFO] ignite-hibernate_5.1 ... SKIPPED [INFO] ignite-hibernate-core .. SKIPPED [INFO] ignite-geospatial .. SKIPPED [INFO] ignite-schedule SKIPPED [INFO] ignite-scalar
[jira] [Created] (IGNITE-5045) SpringDataExample returns various rows
Sergey Kozlov created IGNITE-5045: - Summary: SpringDataExample returns various rows Key: IGNITE-5045 URL: https://issues.apache.org/jira/browse/IGNITE-5045 Project: Ignite Issue Type: Bug Affects Versions: 2.0 Reporter: Sergey Kozlov Fix For: 2.1 The code below returns various rows depending how to nodes interact with example node. It makes the test for this example non-deterministic. {code:title=SpringDataExample.java|borderStyle=solid} private static void queryRepository() { System.out.println("\n>>> Persons with name 'John':"); List persons = repo.findByFirstName("John"); for (Person person: persons) System.out.println(" >>> " + person); Cache.EntrytopPerson = repo.findTopByLastNameLike("Smith"); System.out.println("\n>>> Top Person with surname 'Smith': " + topPerson.getValue()); List ids = repo.selectId(1000L, new PageRequest(0, 4)); System.out.println("\n>>> Persons working for organization with ID > 1000: "); for (Long id: ids) System.out.println(" >>> [id=" + id + "]"); } {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (IGNITE-5044) JVM crash
Sergey Kozlov created IGNITE-5044: - Summary: JVM crash Key: IGNITE-5044 URL: https://issues.apache.org/jira/browse/IGNITE-5044 Project: Ignite Issue Type: Bug Components: general, hadoop Affects Versions: 2.0 Reporter: Sergey Kozlov Fix For: 2.0 Sometimes testing Apache Hadoop + Apache Hive kills JVM Take a look on the attached file -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (IGNITE-5040) ML examples
Sergey Kozlov created IGNITE-5040: - Summary: ML examples Key: IGNITE-5040 URL: https://issues.apache.org/jira/browse/IGNITE-5040 Project: Ignite Issue Type: Bug Components: general Reporter: Sergey Kozlov I've reviewed examples for ML module and found some issues: 1. There's no description for examples at beginning of code (as we've for other java examples) 2. TracerExample opens the empty HTML page (seems JS error) 3. Example isn't a test and shouldn't have asserts. Correctness of example results is responsibility of tests. 4. Some local API calls used without running Ignite nodes would be better to provide as part of remote jobs sent to the cluster -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (IGNITE-5017) HTML formatted releases notes
Sergey Kozlov created IGNITE-5017: - Summary: HTML formatted releases notes Key: IGNITE-5017 URL: https://issues.apache.org/jira/browse/IGNITE-5017 Project: Ignite Issue Type: Bug Components: documentation Affects Versions: 1.9 Reporter: Sergey Kozlov Fix For: 2.0 -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (IGNITE-4754) SharedRDDExample missed in example JAR file
Sergey Kozlov created IGNITE-4754: - Summary: SharedRDDExample missed in example JAR file Key: IGNITE-4754 URL: https://issues.apache.org/jira/browse/IGNITE-4754 Project: Ignite Issue Type: Bug Affects Versions: 1.9 Reporter: Sergey Kozlov Fix For: 1.9 1. Compile Ignite examples via command line {{mvn package}} 2. Take look on target JAR file: SharedRDDExample does not exist -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (IGNITE-4752) Hadoop examples fail for hadoop accelerator
Sergey Kozlov created IGNITE-4752: - Summary: Hadoop examples fail for hadoop accelerator Key: IGNITE-4752 URL: https://issues.apache.org/jira/browse/IGNITE-4752 Project: Ignite Issue Type: Bug Affects Versions: 1.9 Reporter: Sergey Kozlov Priority: Blocker Fix For: 1.9 0. Setup Apache Ignite Hadoop accelerator 1. Start 4 nodes {{bin/ignite.sh}} 2. Start a hadoop example, for instance {{pi}} 3. The server nodes print out following: {noformat} [23:51:47,364][ERROR][pub-#62%null%][HadoopJobTracker] Failed to submit job: f05d867c-a96b-4ea4-be57-0a6002f14870_1 class org.apache.ignite.IgniteCheckedException: null at org.apache.ignite.internal.processors.hadoop.HadoopDefaultJobInfo.createJob(HadoopDefaultJobInfo.java:99) at org.apache.ignite.internal.processors.hadoop.jobtracker.HadoopJobTracker.job(HadoopJobTracker.java:1120) at org.apache.ignite.internal.processors.hadoop.jobtracker.HadoopJobTracker.submit(HadoopJobTracker.java:313) at org.apache.ignite.internal.processors.hadoop.HadoopProcessor.submit(HadoopProcessor.java:173) at org.apache.ignite.internal.processors.hadoop.HadoopImpl.submit(HadoopImpl.java:69) at org.apache.ignite.internal.processors.hadoop.proto.HadoopProtocolSubmitJobTask.run(HadoopProtocolSubmitJobTask.java:50) at org.apache.ignite.internal.processors.hadoop.proto.HadoopProtocolSubmitJobTask.run(HadoopProtocolSubmitJobTask.java:33) at org.apache.ignite.internal.processors.hadoop.proto.HadoopProtocolTaskAdapter$Job.execute(HadoopProtocolTaskAdapter.java:101) at org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:560) at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6618) at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:554) at org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:483) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1180) at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1894) at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1216) at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:844) at org.apache.ignite.internal.managers.communication.GridIoManager.access$2100(GridIoManager.java:108) at org.apache.ignite.internal.managers.communication.GridIoManager$6.run(GridIoManager.java:783) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.apache.ignite.internal.processors.hadoop.HadoopDefaultJobInfo.createJob(HadoopDefaultJobInfo.java:93) ... 21 more Caused by: java.lang.NoClassDefFoundError: com/google/common/base/Preconditions at org.apache.hadoop.conf.Configuration$DeprecationDelta.(Configuration.java:314) at org.apache.hadoop.conf.Configuration$DeprecationDelta.(Configuration.java:327) at org.apache.hadoop.conf.Configuration.(Configuration.java:409) at org.apache.ignite.internal.processors.hadoop.impl.v2.HadoopV2Job.(HadoopV2Job.java:158) ... 26 more Caused by: java.lang.ClassNotFoundException: com.google.common.base.Preconditions at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 30 more [23:51:49,788][ERROR][pub-#11%null%][HadoopJobTracker] Failed to submit job: 6e1713a8-8bbf-480c-8e0b-9045bc55c77d_1 class org.apache.ignite.IgniteCheckedException: null at
[jira] [Created] (IGNITE-4724) AVG function always returns double type instead of the argument type
Sergey Kozlov created IGNITE-4724: - Summary: AVG function always returns double type instead of the argument type Key: IGNITE-4724 URL: https://issues.apache.org/jira/browse/IGNITE-4724 Project: Ignite Issue Type: Bug Components: SQL Affects Versions: 1.9 Reporter: Sergey Kozlov Fix For: 1.9 For H2: SELECT AVG(intCol) FROM cache_part_2 AS part_2 WHERE (10*shortCol/100) > longCol -[472] For Ignite: SELECT AVG(intCol) FROM AllTypes AS part_2 WHERE (10*shortCol/100) > longCol +[472.2307692307692] -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (IGNITE-4414) Add JUnit test for local queries against a partitoned cache with 2 backups
Sergey Kozlov created IGNITE-4414: - Summary: Add JUnit test for local queries against a partitoned cache with 2 backups Key: IGNITE-4414 URL: https://issues.apache.org/jira/browse/IGNITE-4414 Project: Ignite Issue Type: Bug Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 2.0 Add the JUnit test covers the following case: - partitioned cache with 2 backups (may be include backups=0,1 as well) - put 100 entries When I execute a local sql field query it returns more entries than the local size depending on the number of backup. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-4364) DML: AssertionError: Row@ ... null 5 -> mapcol_asc_idx
Sergey Kozlov created IGNITE-4364: - Summary: DML: AssertionError: Row@ ... null 5 -> mapcol_asc_idx Key: IGNITE-4364 URL: https://issues.apache.org/jira/browse/IGNITE-4364 Project: Ignite Issue Type: Bug Components: general Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 1.8 DELETE statement may throw AssertionError: {noformat} java.lang.AssertionError: Row@664d8a5-302529232[ key: 9232, val: org.apache.ignite.testtools.model.AllTypes [idHash=1187724266, hash=1759814384, doubleCol=3.141592653589793, intCol=3230, stringCol=insert-9232insert-9232insert-9232insert-9232insert-9232insert-9232insert-9232insert-9232insert-9232insert-9232, hashSetCol=HashSet {hashset_9232}, bytesCol=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, shortCol=10, innerTypesCol=org.apache.ignite.testtools.model.AllTypes$InnerTypes [idHash=1481311346, hash=1767161406, this$0=org.apache.ignite.testtools.model.AllTypes [hash=1187724266, ...], stringCol=9232, longCol=9232, arrayListCol=ArrayList {}], booleanCol=false, bitSetCol={0}, timestampCol=2016-12-03 23:38:45.087, longCol=4315, enumCol=ENUMTRUE, mapCol=ConcurrentHashMap {map_key_9236=map_value_9236, map_key_9232=map_value_9232, map_key_9233=map_value_9233, map_key_9234=map_value_9234, map_key_9235=map_value_9235}, bigDecimalCol=17334] ][ 4315, 3.141592653589793, insert-9232insert-9232insert-9232insert-9232insert-9232insert-9232insert-9232insert-9232insert-9232insert-9232, 10, 3230, FALSE, 17334, {map_key_9236=map_value_9236, map_key_9232=map_value_9232, map_key_9233=map_value_9233, map_key_9234=map_value_9234, map_key_9235=map_value_9235}, [hashset_9232], ENUMTRUE, {0}, 2016-12-03 23:38:45.087 ] null 5 -> mapcol_asc_idx at org.apache.ignite.internal.processors.query.h2.opt.GridH2Table.doUpdate(GridH2Table.java:596) at org.apache.ignite.internal.processors.query.h2.opt.GridH2Table.update(GridH2Table.java:495) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.remove(IgniteH2Indexing.java:666) at org.apache.ignite.internal.processors.query.GridQueryProcessor.remove(GridQueryProcessor.java:1056) at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.remove(GridCacheQueryManager.java:456) at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.clearIndex(GridCacheMapEntry.java:4039) at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.innerUpdate(GridCacheMapEntry.java:2522) at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateSingle(GridDhtAtomicCache.java:2385) at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal0(GridDhtAtomicCache.java:1787) at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal(GridDhtAtomicCache.java:1627) at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.processNearAtomicUpdateRequest(GridDhtAtomicCache.java:3086) at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$1600(GridDhtAtomicCache.java:125) at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$6.apply(GridDhtAtomicCache.java:332) at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$6.apply(GridDhtAtomicCache.java:327) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:827) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:369) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:293) at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$000(GridCacheIoManager.java:95) at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:238) at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1082) at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:710) at org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:102) at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:673) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
[jira] [Created] (IGNITE-4362) DML: the multiplication for SET uses the data type for the result from the right side
Sergey Kozlov created IGNITE-4362: - Summary: DML: the multiplication for SET uses the data type for the result from the right side Key: IGNITE-4362 URL: https://issues.apache.org/jira/browse/IGNITE-4362 Project: Ignite Issue Type: Bug Reporter: Sergey Kozlov Lets run following statement: {{update AllTypes set longCol = shortCol*10 where _key = ?}} The exception below has been thrown if {{shortCol*10}} violates the short integer borders: {noformat} Caused by: org.h2.jdbc.JdbcSQLException: ... "-46000" Numeric value out of range: "-46000"; SQL statement: {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-4353) Parent Cassandra module deployed on maven repository
Sergey Kozlov created IGNITE-4353: - Summary: Parent Cassandra module deployed on maven repository Key: IGNITE-4353 URL: https://issues.apache.org/jira/browse/IGNITE-4353 Project: Ignite Issue Type: Bug Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 1.8 {{ignite-cassandra}} module deployed on maven repository though has no binary artifacts. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-4342) DML: clear() on atomic cache causes the exception from previous failed DML statement
Sergey Kozlov created IGNITE-4342: - Summary: DML: clear() on atomic cache causes the exception from previous failed DML statement Key: IGNITE-4342 URL: https://issues.apache.org/jira/browse/IGNITE-4342 Project: Ignite Issue Type: Bug Components: general Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 1.8 0. Extact the attachment into {{examples}} directory 1. Start {{ExtSqlExampleNodeStartup}} 2. Start {{ExtSqlAtomicExample}}. It fails: {noformat} [17:22:23,763][INFO ][main][GridDiscoveryManager] Topology snapshot [ver=6, servers=1, clients=1, CPUs=8, heap=2.0GB] The cache size atomic-part-full-sync: 0 Preloading ... The cache size atomic-part-full-sync: 1000 Update failed Clear cache atomic-part-full-sync [17:22:25,207][ERROR][mgmt-#60%null%][GridTaskWorker] Failed to obtain remote job result policy for result from ComputeTask.result(..) method (will fail the whole task): GridJobResultImpl [job=o.a.i.i.processors.cache.GridCacheAdapter$GlobalClearAllJob@5dca5ddf, sib=GridJobSiblingImpl [sesId=3fe2d95b851-3bc6c31d-7339-434a-b0cd-2edda611fc19, jobId=4fe2d95b851-3bc6c31d-7339-434a-b0cd-2edda611fc19, nodeId=87311db5-3911-41f6-ac47-e739031a91dd, isJobDone=false], jobCtx=GridJobContextImpl [jobId=4fe2d95b851-3bc6c31d-7339-434a-b0cd-2edda611fc19, timeoutObj=null, attrs={}], node=TcpDiscoveryNode [id=87311db5-3911-41f6-ac47-e739031a91dd, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 172.22.222.137, 172.25.4.107], sockAddrs=[/172.22.222.137:47500, /172.25.4.107:47500, /127.0.0.1:47500, /0:0:0:0:0:0:0:1:47500], discPort=47500, order=1, intOrder=1, lastExchangeTime=1480515743167, loc=false, ver=1.8.0#20161128-sha1:a53fd38c, isClient=false], ex=class o.a.i.compute.ComputeUserUndeclaredException: Failed to execute job due to unexpected runtime exception [jobId=4fe2d95b851-3bc6c31d-7339-434a-b0cd-2edda611fc19, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=o.a.i.i.processors.cache.GridCacheAdapter$ClearTask, dep=LocalDeployment [super=GridDeployment [ts=1480515673415, depMode=SHARED, clsLdr=sun.misc.Launcher$AppClassLoader@2e5f8245, clsLdrId=ef34c95b851-87311db5-3911-41f6-ac47-e739031a91dd, userVer=0, loc=true, sampleClsName=java.lang.String, pendingUndeploy=false, undeployed=false, usage=0]], taskClsName=o.a.i.i.processors.cache.GridCacheAdapter$ClearTask, sesId=3fe2d95b851-3bc6c31d-7339-434a-b0cd-2edda611fc19, startTime=1480515745181, endTime=9223372036854775807, taskNodeId=3bc6c31d-7339-434a-b0cd-2edda611fc19, clsLdr=sun.misc.Launcher$AppClassLoader@2e5f8245, closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, internal=true, subjId=3bc6c31d-7339-434a-b0cd-2edda611fc19, mapFut=IgniteFuture [orig=GridFutureAdapter [resFlag=0, res=null, startTime=1480515745181, endTime=0, ignoreInterrupts=false, state=INIT]]], jobId=4fe2d95b851-3bc6c31d-7339-434a-b0cd-2edda611fc19]], hasRes=true, isCancelled=false, isOccupied=true] class org.apache.ignite.IgniteException: Remote job threw exception. at org.apache.ignite.internal.processors.cache.GridCacheAdapter$ClearTask.result(GridCacheAdapter.java:6800) at org.apache.ignite.internal.processors.task.GridTaskWorker$5.apply(GridTaskWorker.java:1030) at org.apache.ignite.internal.processors.task.GridTaskWorker$5.apply(GridTaskWorker.java:1023) at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6596) at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:1023) at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:841) at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:996) at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1221) at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1082) at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:710) at org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:102) at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:673) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: class org.apache.ignite.compute.ComputeUserUndeclaredException: Failed to execute job due to unexpected runtime exception [jobId=4fe2d95b851-3bc6c31d-7339-434a-b0cd-2edda611fc19, ses=GridJobSessionImpl [ses=GridTaskSessionImpl
[jira] [Created] (IGNITE-4334) DML: INSERT INTO SELECT FROM statement fails if copy from partitioned to replicated cache
Sergey Kozlov created IGNITE-4334: - Summary: DML: INSERT INTO SELECT FROM statement fails if copy from partitioned to replicated cache Key: IGNITE-4334 URL: https://issues.apache.org/jira/browse/IGNITE-4334 Project: Ignite Issue Type: Bug Components: general Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 1.8 INSERT INTO SELECT FROM statement fails if executed on a replicated cache and used partitioned cache as data source: {code:title=test.java|borderStyle=solid} public static void main(String[] args) throws Exception { Ignition.setClientMode(true); final Long PRELOAD_NUM = 1_000L; final Long RANGE_NUM = 2*PRELOAD_NUM; final int OPERATION_LIMIT = 500; ArrayList fields = new ArrayList<>( Arrays.asList("intCol", "longCol", "shortCol", "stringCol", "doubleCol", "bigDecimalCol", "booleanCol", "mapCol") ); List cacheNames = Arrays.asList( "tx-part-full-sync", "tx-repl-full-sync", ); List cacheTxNames = new ArrayList(); for (int i=0; i < cacheNames.size(); i++) { if (cacheNames.get(i).startsWith("tx")) cacheTxNames.add(cacheNames.get(i)); } String srcCache = null; try (Ignite ig = Ignition.start("examples/config/ext-sql.xml")) { for (String cacheName : cacheNames) { ig.cache(cacheName).query(new SqlFieldsQuery("delete from AllTypes")); if (srcCache == null) { System.out.println("The cache size " + cacheName + ": " + ig.cache(cacheName).sizeLong()); for (long i = 0L; i < PRELOAD_NUM; i=i+50) { ArrayList sqlArgs = new ArrayList(); for (int j = 0; j < 50; j++) { sqlArgs.add(i + j); } ig.cache(cacheName).query( makeInsertSqlAndArgsByKey(sqlArgs, false) ); if (i > 0 && i % (PRELOAD_NUM / 10) == 0) { Date d = new Date(); System.out.println(d.toString() + " Done: " + i); Object val = ig.cache(cacheName).get(i); } } srcCache = cacheName; } else { ig.cache(cacheName).query(new SqlFieldsQuery("insert into AllTypes (_key, _val) select _key, _val from \"" + srcCache + "\".AllTypes")); } System.out.println("The cache size " + cacheName + ": " + ig.cache(cacheName).sizeLong()); } } {code} {noformat} Exception in thread "main" javax.cache.CacheException: Queries running on replicated cache should not contain JOINs with partitioned tables [rCache=tx-repl-full-sync, pCache=tx-part-full-sync] at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.stableDataNodes(GridReduceQueryExecutor.java:432) at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:529) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$5.iterator(IgniteH2Indexing.java:1119) at org.apache.ignite.internal.processors.cache.QueryCursorImpl.iterator(QueryCursorImpl.java:98) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.doInsert(DmlStatementsProcessor.java:700) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.executeUpdateStatement(DmlStatementsProcessor.java:282) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.updateSqlFields(DmlStatementsProcessor.java:155) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.updateSqlFieldsTwoStep(DmlStatementsProcessor.java:185) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryTwoStep(IgniteH2Indexing.java:1266) at org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:812) at org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:810) at org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:36) at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:1777) at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryTwoStep(GridQueryProcessor.java:810) at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:749) at
[jira] [Created] (IGNITE-4323) DML: INSERT INTO SELECT .. FROM statement causes IgniteException: Wrong value has been set
Sergey Kozlov created IGNITE-4323: - Summary: DML: INSERT INTO SELECT .. FROM statement causes IgniteException: Wrong value has been set Key: IGNITE-4323 URL: https://issues.apache.org/jira/browse/IGNITE-4323 Project: Ignite Issue Type: Bug Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 1.8 The idea of scenario to copy data from cache to cache. 0. Extract the attachment into {{examples}} directory 1. Start {{org.apache.ignite.examples.datagrid.ExtSqlExampleNodeStartup}} 2. Start one ore more {{org.apache.ignite.examples.datagrid.ExtSqlExample}} {noformat} Exception in thread "main" javax.cache.CacheException: class org.apache.ignite.IgniteException: Wrong value has been set [typeName=org.apache.ignite.testtools.model.AllTypes, fieldName=enumCol, fieldType=Enum, assignedValueType=Object] at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:761) at org.apache.ignite.examples.datagrid.ExtSqlExample.main(ExtSqlExample.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) Caused by: class org.apache.ignite.IgniteException: Wrong value has been set [typeName=org.apache.ignite.testtools.model.AllTypes, fieldName=enumCol, fieldType=Enum, assignedValueType=Object] at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryTwoStep(GridQueryProcessor.java:817) at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:749) ... 6 more Caused by: class org.apache.ignite.IgniteCheckedException: Wrong value has been set [typeName=org.apache.ignite.testtools.model.AllTypes, fieldName=enumCol, fieldType=Enum, assignedValueType=Object] at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:1800) at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryTwoStep(GridQueryProcessor.java:810) ... 7 more Caused by: class org.apache.ignite.binary.BinaryObjectException: Wrong value has been set [typeName=org.apache.ignite.testtools.model.AllTypes, fieldName=enumCol, fieldType=Enum, assignedValueType=Object] at org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl.checkMetadata(BinaryObjectBuilderImpl.java:418) at org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl.serializeTo(BinaryObjectBuilderImpl.java:227) at org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl.build(BinaryObjectBuilderImpl.java:187) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.rowToKeyValue(DmlStatementsProcessor.java:809) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.doInsert(DmlStatementsProcessor.java:705) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.executeUpdateStatement(DmlStatementsProcessor.java:282) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.updateSqlFields(DmlStatementsProcessor.java:155) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.updateSqlFieldsTwoStep(DmlStatementsProcessor.java:185) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryTwoStep(IgniteH2Indexing.java:1266) at org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:812) at org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:810) at org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:36) at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:1777) ... 8 more {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-4321) Cassandra modules
Sergey Kozlov created IGNITE-4321: - Summary: Cassandra modules Key: IGNITE-4321 URL: https://issues.apache.org/jira/browse/IGNITE-4321 Project: Ignite Issue Type: Bug Components: build Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 1.8 Binary fabric edition now has following modules: {noformat} Содержимое папки C:\Work\apache-ignite-fabric-1.8.0-QASK2502-bin\libs\optional\ignite-cassandra 25.11.2016 22:13 . 25.11.2016 22:13 .. 25.11.2016 22:13 964 README.txt 1 файлов964 байт Содержимое папки C:\Work\apache-ignite-fabric-1.8.0-QASK2502-bin\libs\optional\ignite-cassandra-serializers 25.11.2016 22:13 . 25.11.2016 22:13 .. 25.11.2016 22:1353 231 asm-5.0.3.jar 25.11.2016 22:1312 181 ignite-cassandra-serializers-1.8.0-QASK2502.jar 25.11.2016 22:13 285 211 kryo-3.0.3.jar 25.11.2016 22:13 licenses 25.11.2016 22:13 5 711 minlog-1.3.0.jar 25.11.2016 22:1341 755 objenesis-2.1.jar 25.11.2016 22:13 1 345 README.txt 25.11.2016 22:1320 738 reflectasm-1.10.1.jar 7 файлов420 172 байт Содержимое папки C:\Work\apache-ignite-fabric-1.8.0-QASK2502-bin\libs\optional\ignite-cassandra-serializers\licenses 25.11.2016 22:13 . 25.11.2016 22:13 .. 25.11.2016 22:1311 358 apache-2.0.txt 25.11.2016 22:13 1 857 ignite-cassandra-serializers-licenses.txt 2 файлов 13 215 байт Содержимое папки C:\Work\apache-ignite-fabric-1.8.0-QASK2502-bin\libs\optional\ignite-cassandra-store 25.11.2016 22:13 . 25.11.2016 22:13 .. 25.11.2016 22:13 990 392 cassandra-driver-core-3.0.0.jar 25.11.2016 22:13 232 019 commons-beanutils-1.8.3.jar 25.11.2016 22:13 2 308 517 guava-19.0.jar 25.11.2016 22:1391 897 ignite-cassandra-store-1.8.0-QASK2502.jar 25.11.2016 22:13 licenses 25.11.2016 22:1385 448 metrics-core-3.0.2.jar 25.11.2016 22:13 196 881 netty-buffer-4.0.33.Final.jar 25.11.2016 22:13 145 779 netty-codec-4.0.33.Final.jar 25.11.2016 22:13 441 447 netty-common-4.0.33.Final.jar 25.11.2016 22:13 272 139 netty-handler-4.0.33.Final.jar 25.11.2016 22:13 349 164 netty-transport-4.0.33.Final.jar 25.11.2016 22:13 1 228 README.txt 11 файлов 5 114 911 байт Содержимое папки C:\Work\apache-ignite-fabric-1.8.0-QASK2502-bin\libs\optional\ignite-cassandra-store\licenses 25.11.2016 22:13 . 25.11.2016 22:13 .. 25.11.2016 22:1311 358 apache-2.0.txt 25.11.2016 22:13 294 ignite-cassandra-store-licenses.txt 2 файлов 11 652 байт {noformat} I suppose that {{ignite-cassandra}} directory must be removed and rest of Cassandra modules should be joined into one. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-4313) DML: update causes IgniteCheckedException: Not enough data to read the value
Sergey Kozlov created IGNITE-4313: - Summary: DML: update causes IgniteCheckedException: Not enough data to read the value Key: IGNITE-4313 URL: https://issues.apache.org/jira/browse/IGNITE-4313 Project: Ignite Issue Type: Bug Components: general Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 1.8 0. Extract teh attachment in {{examples}} directory. 1. Start node {{ExtSqlExampleNodeStartup}} 2. Run {{ExtSqlExample}}. It failed: {noformat} Processing the caches... Exception in thread "main" javax.cache.CacheException: Failed to run map query remotely. at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:652) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$5.iterator(IgniteH2Indexing.java:1119) at org.apache.ignite.internal.processors.cache.QueryCursorImpl.iterator(QueryCursorImpl.java:98) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.doUpdate(DmlStatementsProcessor.java:483) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.executeUpdateStatement(DmlStatementsProcessor.java:256) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.updateSqlFields(DmlStatementsProcessor.java:134) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.updateSqlFieldsTwoStep(DmlStatementsProcessor.java:160) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryTwoStep(IgniteH2Indexing.java:1266) at org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:812) at org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:810) at org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:36) at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:1765) at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryTwoStep(GridQueryProcessor.java:810) at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:749) at org.apache.ignite.examples.datagrid.ExtSqlExample.main(ExtSqlExample.java:201) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) Caused by: javax.cache.CacheException: Failed to execute map query on the node: 104496cc-dd94-4150-90de-8628c2ddf6ff, class org.apache.ignite.IgniteCheckedException:Failed to execute SQL query. at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.fail(GridReduceQueryExecutor.java:278) at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.onFail(GridReduceQueryExecutor.java:268) at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.onMessage(GridReduceQueryExecutor.java:249) at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor$2.onMessage(GridReduceQueryExecutor.java:197) at org.apache.ignite.internal.managers.communication.GridIoManager$ArrayListener.onMessage(GridIoManager.java:1915) at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1082) at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:710) at org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:102) at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:673) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) [16:10:49] Ignite node stopped OK [uptime=00:00:00:372] Process finished with exit code 1 {noformat} Exception on the node: {noformat} [16:10:49,679][ERROR][sys-#75%null%][GridMapQueryExecutor] Failed to execute local query. class org.apache.ignite.IgniteCheckedException: Failed to execute SQL query. at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.executeSqlQuery(IgniteH2Indexing.java:958) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.executeSqlQueryWithTimer(IgniteH2Indexing.java:1010) at
[jira] [Created] (IGNITE-4312) DML: update causes IgniteCheckedException: Invalid flag value: -2
Sergey Kozlov created IGNITE-4312: - Summary: DML: update causes IgniteCheckedException: Invalid flag value: -2 Key: IGNITE-4312 URL: https://issues.apache.org/jira/browse/IGNITE-4312 Project: Ignite Issue Type: Bug Components: general Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 1.8 {noformat} [15:58:04] Ignite node stopped OK [uptime=00:00:00:111] Exception in thread "main" javax.cache.CacheException: class org.apache.ignite.IgniteException: Invalid flag value: -2 at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:761) at org.apache.ignite.examples.datagrid.ExtSqlExample.main(ExtSqlExample.java:201) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) Caused by: class org.apache.ignite.IgniteException: Invalid flag value: -2 at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryTwoStep(GridQueryProcessor.java:817) at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:749) ... 6 more Caused by: class org.apache.ignite.IgniteCheckedException: Invalid flag value: -2 at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:1788) at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryTwoStep(GridQueryProcessor.java:810) ... 7 more Caused by: class org.apache.ignite.binary.BinaryObjectException: Invalid flag value: -2 at org.apache.ignite.internal.binary.builder.BinaryBuilderReader.parseValue(BinaryBuilderReader.java:761) at org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl.serializeTo(BinaryObjectBuilderImpl.java:285) at org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl.build(BinaryObjectBuilderImpl.java:186) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.doUpdate(DmlStatementsProcessor.java:524) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.executeUpdateStatement(DmlStatementsProcessor.java:256) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.updateSqlFields(DmlStatementsProcessor.java:134) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.updateSqlFieldsTwoStep(DmlStatementsProcessor.java:160) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryTwoStep(IgniteH2Indexing.java:1266) at org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:812) at org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:810) at org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:36) at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:1765) ... 8 more Process finished with exit code 1 {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-4304) CLONE - CacheClientBinaryQueryExample returns wrong result
Sergey Kozlov created IGNITE-4304: - Summary: CLONE - CacheClientBinaryQueryExample returns wrong result Key: IGNITE-4304 URL: https://issues.apache.org/jira/browse/IGNITE-4304 Project: Ignite Issue Type: Bug Components: general Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 1.8 CacheClientBinaryQueryExample returns wrong result: the list of GridGain employees must be not empty. {noformat} >>> Employees working for GridGain: >>> Employee names and their salaries: >>> [Name=Allison Mathis, salary=25300] >>> [Name=Breana Robbin, salary=6500] >>> [Name=Philip Horsley, salary=19800] >>> [Name=Brian Peters, salary=10600] >>> [Name=James Wilson, salary=12500] >>> [Name=Daniel Adams, salary=11000] >>> [Name=Cristian Moss, salary=12500] {noformat} Also the server node print out following: {noformat} [22:46:53,052][ERROR][sys-#65%null%][IgniteTxManager] Failed to send one phase commit ack to backup node [backup=c8d7e7b7-d984-4498-ab4c-8e7cb8928e19] class org.apache.ignite.internal.cluster.ClusterTopologyCheckedException: Failed to send message because node left grid [nodeId=c8d7e7b7-d984-4498-ab4c-8e7cb8928e19, msg=GridDhtTxOnePhaseCommitAckRequest [vers=[GridCacheVersion [topVer=91496812, time=1480016812498, order=1480016808989, nodeOrder=1]], super=GridCacheMessage [msgId=-1, depInfo=null, err=null, skipPrepare=false, cacheId=0, cacheId=0]]] at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:1056) at org.apache.ignite.internal.processors.cache.transactions.IgniteTxManager$2.finish(IgniteTxManager.java:283) at org.apache.ignite.internal.processors.cache.GridDeferredAckMessageSender$DeferredAckMessageBuffer.finish0(GridDeferredAckMessageSender.java:214) at org.apache.ignite.internal.processors.cache.GridDeferredAckMessageSender$DeferredAckMessageBuffer.access$000(GridDeferredAckMessageSender.java:111) at org.apache.ignite.internal.processors.cache.GridDeferredAckMessageSender$DeferredAckMessageBuffer$1.run(GridDeferredAckMessageSender.java:159) at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6620) at org.apache.ignite.internal.processors.closure.GridClosureProcessor$1.body(GridClosureProcessor.java:764) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-4303) CacheClientBinaryQueryExample returns wrong result
Sergey Kozlov created IGNITE-4303: - Summary: CacheClientBinaryQueryExample returns wrong result Key: IGNITE-4303 URL: https://issues.apache.org/jira/browse/IGNITE-4303 Project: Ignite Issue Type: Bug Components: general Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 1.8 CacheClientBinaryQueryExample returns wrong result: the list of GridGain employees must be not empty. {noformat} >>> Employees working for GridGain: >>> Employee names and their salaries: >>> [Name=Allison Mathis, salary=25300] >>> [Name=Breana Robbin, salary=6500] >>> [Name=Philip Horsley, salary=19800] >>> [Name=Brian Peters, salary=10600] >>> [Name=James Wilson, salary=12500] >>> [Name=Daniel Adams, salary=11000] >>> [Name=Cristian Moss, salary=12500] {noformat} Also the server node print out following: {noformat} [22:46:53,052][ERROR][sys-#65%null%][IgniteTxManager] Failed to send one phase commit ack to backup node [backup=c8d7e7b7-d984-4498-ab4c-8e7cb8928e19] class org.apache.ignite.internal.cluster.ClusterTopologyCheckedException: Failed to send message because node left grid [nodeId=c8d7e7b7-d984-4498-ab4c-8e7cb8928e19, msg=GridDhtTxOnePhaseCommitAckRequest [vers=[GridCacheVersion [topVer=91496812, time=1480016812498, order=1480016808989, nodeOrder=1]], super=GridCacheMessage [msgId=-1, depInfo=null, err=null, skipPrepare=false, cacheId=0, cacheId=0]]] at org.apache.ignite.internal.processors.cache.GridCacheIoManager.send(GridCacheIoManager.java:1056) at org.apache.ignite.internal.processors.cache.transactions.IgniteTxManager$2.finish(IgniteTxManager.java:283) at org.apache.ignite.internal.processors.cache.GridDeferredAckMessageSender$DeferredAckMessageBuffer.finish0(GridDeferredAckMessageSender.java:214) at org.apache.ignite.internal.processors.cache.GridDeferredAckMessageSender$DeferredAckMessageBuffer.access$000(GridDeferredAckMessageSender.java:111) at org.apache.ignite.internal.processors.cache.GridDeferredAckMessageSender$DeferredAckMessageBuffer$1.run(GridDeferredAckMessageSender.java:159) at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6620) at org.apache.ignite.internal.processors.closure.GridClosureProcessor$1.body(GridClosureProcessor.java:764) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-4287) DML: DELETE statement failed: Invalid number of query parameters. Cannot find 2 parameter.
Sergey Kozlov created IGNITE-4287: - Summary: DML: DELETE statement failed: Invalid number of query parameters. Cannot find 2 parameter. Key: IGNITE-4287 URL: https://issues.apache.org/jira/browse/IGNITE-4287 Project: Ignite Issue Type: Bug Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 1.8 {code:title=test.java|borderStyle=solid} IgniteCacheorgCache = Ignition.ignite().cache(ORG_CACHE); orgCache.clear(); for (int z=100; z < 10; z++) { orgCache.query(new SqlFieldsQuery("insert into Organization (_key, name) values (?, ?)").setArgs(z, "GridGain RUS " + Integer.toString(z))); } for (int z=100; z < 10; z++) { if (z > 0 && z % 10 == 0) System.out.println("Delete " + z); orgCache.query(new SqlFieldsQuery("delete from Organization where _key >= ?").setArgs(z)); } {code} The code above failed with IgniteException {noformat} Exception in thread "main" javax.cache.CacheException: class org.apache.ignite.IgniteException: Invalid number of query parameters. Cannot find 2 parameter. at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:761) at org.apache.ignite.examples.datagrid.CacheQueryExample.initialize(CacheQueryExample.java:336) at org.apache.ignite.examples.datagrid.CacheQueryExample.main(CacheQueryExample.java:110) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) Caused by: class org.apache.ignite.IgniteException: Invalid number of query parameters. Cannot find 2 parameter. at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryTwoStep(GridQueryProcessor.java:818) at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:749) ... 7 more Caused by: class org.apache.ignite.IgniteCheckedException: Invalid number of query parameters. Cannot find 2 parameter. at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:1789) at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryTwoStep(GridQueryProcessor.java:811) ... 8 more Caused by: class org.apache.ignite.IgniteException: Invalid number of query parameters. Cannot find 2 parameter. at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.findParams(GridSqlQuerySplitter.java:634) at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.findParams(GridSqlQuerySplitter.java:650) at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.findParams(GridSqlQuerySplitter.java:650) at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.findParams(GridSqlQuerySplitter.java:604) at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.split(GridSqlQuerySplitter.java:403) at org.apache.ignite.internal.processors.query.h2.sql.GridSqlQuerySplitter.split(GridSqlQuerySplitter.java:184) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryTwoStep(IgniteH2Indexing.java:1277) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.executeUpdateStatement(DmlStatementsProcessor.java:226) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.updateSqlFields(DmlStatementsProcessor.java:134) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.updateSqlFieldsTwoStep(DmlStatementsProcessor.java:160) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryTwoStep(IgniteH2Indexing.java:1266) at org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:813) at org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:811) at org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:36) at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:1766) ... 9 more {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-4211) Update Sprint dependecy to latest stable version
Sergey Kozlov created IGNITE-4211: - Summary: Update Sprint dependecy to latest stable version Key: IGNITE-4211 URL: https://issues.apache.org/jira/browse/IGNITE-4211 Project: Ignite Issue Type: Improvement Components: build Affects Versions: 1.7 Reporter: Sergey Kozlov Fix For: 2.0 It seems the Spring dependency looks outdated for now. Apache Ignite still uses 4.1.0 released two years ago. Could we to update to latest stable version (4.3.4 at the moment)? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (IGNITE-4181) The several runs of ServiceExample may cause NPE
Sergey Kozlov created IGNITE-4181: - Summary: The several runs of ServiceExample may cause NPE Key: IGNITE-4181 URL: https://issues.apache.org/jira/browse/IGNITE-4181 Project: Ignite Issue Type: Bug Components: general Affects Versions: 1.7, 1.6 Environment: Windows 10, Oracle JDK 7 Reporter: Sergey Kozlov Fix For: 1.8 0. Open example project in IDEA 1. Start 2-3 {{ExampleNodeStartup}} 2. Run {{ServiceExample}} several times. Sometimes it may cause NullPointerException: {{noformat}} Executing closure [mapSize=10] Service was cancelled: myNodeSingletonService [15:37:20,020][INFO ][srvc-deploy-#24%null%][GridServiceProcessor] Cancelled service instance [name=myNodeSingletonService, execId=88a92a4d-c1cb-4a9b-8930-c67ac7f42bf3] [15:37:20,032][INFO ][sys-#33%null%][GridCacheProcessor] Stopped cache: myNodeSingletonService [15:37:20,033][INFO ][exchange-worker-#23%null%][GridCachePartitionExchangeManager] Skipping rebalancing (nothing scheduled) [top=AffinityTopologyVersion [topVer=10, minorTopVer=4], evt=DISCOVERY_CUSTOM_EVT, node=5faac72a-72ab-4277-9643-0e962973b3f4] [15:37:20,045][INFO ][sys-#39%null%][GridCacheProcessor] Stopped cache: myClusterSingletonService [15:37:20,046][INFO ][exchange-worker-#23%null%][GridCachePartitionExchangeManager] Skipping rebalancing (nothing scheduled) [top=AffinityTopologyVersion [topVer=10, minorTopVer=5], evt=DISCOVERY_CUSTOM_EVT, node=478f1752-fdce-42c6-aef6-55a5f4c08d90] [15:37:20,062][INFO ][disco-event-worker-#20%null%][GridDiscoveryManager] Node left topology: TcpDiscoveryNode [id=4f9cbc67-d756-4c25-9ee4-aee6528da024, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 172.25.4.107, 2001:0:9d38:6ab8:34b2:9f3e:3c6f:269], sockAddrs=[/2001:0:9d38:6ab8:34b2:9f3e:3c6f:269:0, /127.0.0.1:0, /0:0:0:0:0:0:0:1:0, work-pc/172.25.4.107:0], discPort=0, order=10, intOrder=7, lastExchangeTime=1478522239236, loc=false, ver=1.7.3#20161107-sha1:5132ac87, isClient=true] [15:37:20,063][INFO ][disco-event-worker-#20%null%][GridDiscoveryManager] Topology snapshot [ver=11, servers=3, clients=0, CPUs=8, heap=11.0GB] [15:37:20,064][INFO ][sys-#44%null%][GridCacheProcessor] Stopped cache: myMultiService [15:37:20,066][INFO ][exchange-worker-#23%null%][GridCachePartitionExchangeManager] Skipping rebalancing (nothing scheduled) [top=AffinityTopologyVersion [topVer=10, minorTopVer=6], evt=DISCOVERY_CUSTOM_EVT, node=5faac72a-72ab-4277-9643-0e962973b3f4] [15:37:20,076][INFO ][exchange-worker-#23%null%][GridCacheProcessor] Started cache [name=myClusterSingletonService, mode=PARTITIONED] [15:37:20,115][INFO ][exchange-worker-#23%null%][GridCachePartitionExchangeManager] Skipping rebalancing (nothing scheduled) [top=AffinityTopologyVersion [topVer=10, minorTopVer=7], evt=DISCOVERY_CUSTOM_EVT, node=478f1752-fdce-42c6-aef6-55a5f4c08d90] [15:37:20,121][INFO ][exchange-worker-#23%null%][GridCachePartitionExchangeManager] Skipping rebalancing (nothing scheduled) [top=AffinityTopologyVersion [topVer=11, minorTopVer=0], evt=NODE_LEFT, node=4f9cbc67-d756-4c25-9ee4-aee6528da024] [15:37:20,133][INFO ][exchange-worker-#23%null%][GridCacheProcessor] Started cache [name=myMultiService, mode=PARTITIONED] [15:37:20,135][ERROR][exchange-worker-#23%null%][GridDhtPartitionsExchangeFuture] Failed to reinitialize local partitions (preloading will be stopped): GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=11, minorTopVer=1], nodeId=5faac72a, evt=DISCOVERY_CUSTOM_EVT] java.lang.NullPointerException at org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.initStartedCacheOnCoordinator(CacheAffinitySharedManager.java:743) at org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:413) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:565) at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:448) at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1447) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at java.lang.Thread.run(Thread.java:745) [15:37:20,142][ERROR][exchange-worker-#23%null%][GridCachePartitionExchangeManager] Failed to wait for completion of partition map exchange (preloading will not start): GridDhtPartitionsExchangeFuture [dummy=false, forcePreload=false, reassign=false, discoEvt=DiscoveryCustomEvent [customMsg=null, affTopVer=AffinityTopologyVersion [topVer=11, minorTopVer=1], super=DiscoveryEvent [evtNode=TcpDiscoveryNode