Re: ignite PureJavaCrc32 vs java.util.zip.CRC32 bench.

2018-08-13 Thread Denis Magda
Hello Evgeniy, What is PureJavaCrc32 used for in Ignite? Is it on a critical path somewhere? -- Denis On Mon, Aug 13, 2018 at 12:08 PM Евгений Станиловский wrote: > Hi, igniters, i wrote a simple bench, looks like PureJavaCrc32 has > performance problems in compatible with zip.CRC32. > >

Re: Update Ignite description in .NET docs and NuGet

2018-08-13 Thread Denis Magda
Pavel, thanks a lot! -- Denis On Mon, Aug 13, 2018 at 1:35 AM Pavel Tupitsyn wrote: > Hi Denis, > > I've updated NuGet package description and docs: > > https://github.com/apache/ignite/commit/af03d8413defc992501ffc7246427df6a46c6840 > > On Mon, Aug 6, 2018 at 11:06 PM Pavel Tupitsyn > wrote:

Re: Infer schema name from CacheConfiguration.sqlSchema

2018-08-13 Thread Pavel Tupitsyn
Thanks Vladimir, looks like l have to implement same rules in the LINQ provider, will do this as part of mentioned ticket. On Mon, Aug 13, 2018 at 2:25 PM Vladimir Ozerov wrote: > Hi Pavel, > > You are right, we have some non-obvious rules here, mainly legacy. Please > see how schema name is

Re: ignite PureJavaCrc32 vs java.util.zip.CRC32 bench.

2018-08-13 Thread Nikolay Izhikov
Hello, Denis. AFAIK CRC calculated: 1. For each page that are readed or written to the persistence store [1]. 2. For each read or write of WAL record [2]. [1]

[GitHub] ignite pull request #4504: IGNITE-9219 Uncomment tests in IgniteCacheTestSui...

2018-08-13 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/ignite/pull/4504 ---

Re: ignite PureJavaCrc32 vs java.util.zip.CRC32 bench.

2018-08-13 Thread Zhenya
I think it would break backward compatibility, as Nikolay mentioned above we would take exception here: [1] https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/file/FilePageStore.java#L372 thats why i question for

ignite PureJavaCrc32 vs java.util.zip.CRC32 bench.

2018-08-13 Thread Евгений Станиловский
Hi, igniters, i wrote a simple bench, looks like PureJavaCrc32 has performance problems in compatible with zip.CRC32. Benchmark Mode Cnt Score Error Units BenchmarkCRC.Crc32 avgt 5 1088914.540 ± 368851.822 ns/op BenchmarkCRC.pureJavaCrc32 avgt 5 6619408.049 ± 3746712.210 ns/op thoughts?

Re: ignite PureJavaCrc32 vs java.util.zip.CRC32 bench.

2018-08-13 Thread Eduard Shangareev
Evgeniy, Could you share benchmark code? And please share what version of JVM you have used. On Mon, Aug 13, 2018 at 10:44 PM Zhenya wrote: > I think it would break backward compatibility, as Nikolay mentioned above > we would take exception here: > > [1] > >

Re: [MTCGA]: new failures in builds [1639074, 1638768, 1638766, 1638459, 1638254, 1638246] needs to be handled

2018-08-13 Thread Dmitriy Pavlov
Hi Igniters, For some time MTCGA bot was not up and running due to a bug. Now the bug is fixed and the bot continues to detect failures. Could you please share your vision why tests were failed. I can suppose that https://issues.apache.org/jira/browse/IGNITE-9050 has affected

Re: Does Ignite support java.sql.Array?

2018-08-13 Thread Denis Magda
Vladimir, Could you step in? How should we update our docs and what are the steps to add Arrays support to the project? I thought this worked all the times. -- Denis On Mon, Aug 13, 2018 at 8:55 AM Nikolay Izhikov wrote: > Thanks for a comments. > > Should we update documentation and remove

Re: [MTCGA]: new failures in builds [1639497, 1639185, 1638777, 1638773, 1638769, 1638761] needs to be handled

2018-08-13 Thread Dmitriy Pavlov
Hi, a number of test failures I've commented in the separate thread. Only one concern I have here: it is ZooKeeper (Discovery) 2 timeouts. I don't remember if timeouts occurred so often. Sincerely, Dmitriy Pavlov пн, 13 авг. 2018 г. в 19:53, : > Hi Ignite Developer, > > I am MTCGA.Bot, and

Re: ignite PureJavaCrc32 vs java.util.zip.CRC32 bench.

2018-08-13 Thread Dmitriy Pavlov
Hi Evgeniy, would you like to submit a patch with CRC32 implementation change? Sincerely, Dmitriy Pavlov пн, 13 авг. 2018 г. в 22:08, Евгений Станиловский : > Hi, igniters, i wrote a simple bench, looks like PureJavaCrc32 has > performance problems in compatible with zip.CRC32. > > Benchmark

[jira] [Created] (IGNITE-9260) StandaloneWalRecordsIterator broken on WalSegmentTailReachedException not in work dir

2018-08-13 Thread Dmitriy Govorukhin (JIRA)
Dmitriy Govorukhin created IGNITE-9260: -- Summary: StandaloneWalRecordsIterator broken on WalSegmentTailReachedException not in work dir Key: IGNITE-9260 URL: https://issues.apache.org/jira/browse/IGNITE-9260

[GitHub] ignite pull request #4533: IGNITE-9260 fix broken validation of tail reached...

2018-08-13 Thread DmitriyGovorukhin
GitHub user DmitriyGovorukhin opened a pull request: https://github.com/apache/ignite/pull/4533 IGNITE-9260 fix broken validation of tail reached in standalone WAL iterator …terator Signed-off-by: Dmitriy Govorukhin You can merge this pull request into a Git repository

[MTCGA]: new failures in builds [1607588] needs to be handled

2018-08-13 Thread dpavlov . tasks
Hi Ignite Developer, I am MTCGA.Bot, and I've detected some issue on TeamCity to be addressed. I hope you can help. *New test failure in master CacheLockReleaseNodeLeaveTest.testLockTopologyChange

[jira] [Created] (IGNITE-9261) [ML] Add ANN algorithm based on ACD concept

2018-08-13 Thread Aleksey Zinoviev (JIRA)
Aleksey Zinoviev created IGNITE-9261: Summary: [ML] Add ANN algorithm based on ACD concept Key: IGNITE-9261 URL: https://issues.apache.org/jira/browse/IGNITE-9261 Project: Ignite Issue

[GitHub] ignite pull request #4534: IGNITE-9261: Added ANN algorithm and fixed bug IG...

2018-08-13 Thread zaleslaw
GitHub user zaleslaw opened a pull request: https://github.com/apache/ignite/pull/4534 IGNITE-9261: Added ANN algorithm and fixed bug IGNITE-9239 - Added ANN algorithm - fixed bug in KMeans - renamed LabeledDataset to the LabeledVectorSet - added example - added test

[GitHub] ignite pull request #4523: IGNITE-9252: Update RocketMQ dependencies to 4.3....

2018-08-13 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/ignite/pull/4523 ---

[GitHub] ignite pull request #4523: IGNITE-9252: Update RocketMQ dependencies to 4.3....

2018-08-13 Thread shroman
GitHub user shroman opened a pull request: https://github.com/apache/ignite/pull/4523 IGNITE-9252: Update RocketMQ dependencies to 4.3.0. You can merge this pull request into a Git repository by running: $ git pull https://github.com/shroman/ignite IGNITE-9252 Alternatively

Re: Deprecate force server mode for clients.

2018-08-13 Thread Andrey Mashenkov
Thanks. I've created a ticket [1] for this issue. [1] https://issues.apache.org/jira/browse/IGNITE-9241 On Thu, Aug 9, 2018 at 4:23 PM Nikolay Izhikov wrote: > +1 from me. > > В Чт, 09/08/2018 в 12:51 +0300, Pavel Kovalenko пишет: > > Andrey, > > > > Huge +1 for that. > > "Force server mode"

[GitHub] ignite pull request #4420: IGNITE-9056 Disallow calling clear() on Concurren...

2018-08-13 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/ignite/pull/4420 ---

[jira] [Created] (IGNITE-9255) -DIGNITE_QUIET=false not work in windows, -v work ok

2018-08-13 Thread ARomantsov (JIRA)
ARomantsov created IGNITE-9255: -- Summary: -DIGNITE_QUIET=false not work in windows, -v work ok Key: IGNITE-9255 URL: https://issues.apache.org/jira/browse/IGNITE-9255 Project: Ignite Issue

[jira] [Created] (IGNITE-9256) SQL: make sure that fetched results are cleared from iterator when last element is fetched

2018-08-13 Thread Vladimir Ozerov (JIRA)
Vladimir Ozerov created IGNITE-9256: --- Summary: SQL: make sure that fetched results are cleared from iterator when last element is fetched Key: IGNITE-9256 URL: https://issues.apache.org/jira/browse/IGNITE-9256

[GitHub] ignite pull request #4514: IGNITE-9171 Use lazy mode with results pre-fetch

2018-08-13 Thread tledkov-gridgain
Github user tledkov-gridgain closed the pull request at: https://github.com/apache/ignite/pull/4514 ---

Re: ConcurrentLinkedHashMap works incorrectly after clear()

2018-08-13 Thread Ilya Kasnacheev
Hello Igniters! So we have merged the patch. If there are further steps with CLHM, feel free to contribute. Regards, -- Ilya Kasnacheev 2018-08-10 17:50 GMT+03:00 Andrey Gura : > Stas, > > SkipList implementation offers O(log n) for get/put/contains > operations while CLHM - O(1). So it is

Infer schema name from CacheConfiguration.sqlSchema

2018-08-13 Thread Pavel Tupitsyn
Igniters, For .NET LINQ provider[1] I need to be able to infer SQL schema name from CacheConfiguration. Looks like value from CacheConfiguration gets uppercased when not quoted. So my logic for now is: * if config.SqlSchema == null, use config.name * otherwise, if config.SqlSchema does not

[jira] [Created] (IGNITE-9257) LOCAL cache doesn't evict entries from heap

2018-08-13 Thread Dmitry Karachentsev (JIRA)
Dmitry Karachentsev created IGNITE-9257: --- Summary: LOCAL cache doesn't evict entries from heap Key: IGNITE-9257 URL: https://issues.apache.org/jira/browse/IGNITE-9257 Project: Ignite

Re: Infer schema name from CacheConfiguration.sqlSchema

2018-08-13 Thread Vladimir Ozerov
Hi Pavel, You are right, we have some non-obvious rules here, mainly legacy. Please see how schema name is constructed here: org.apache.ignite.internal.processors.query.QueryUtils#normalizeSchemaName On Mon, Aug 13, 2018 at 1:55 PM Pavel Tupitsyn wrote: > Igniters, > > For .NET LINQ

[GitHub] ignite pull request #4529: IGNITE-9054 Avoid using OptimizedMarshaller with ...

2018-08-13 Thread alamar
GitHub user alamar opened a pull request: https://github.com/apache/ignite/pull/4529 IGNITE-9054 Avoid using OptimizedMarshaller with ScanQuery initial. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite

[GitHub] ignite pull request #4530: IGNITE-5795 Ensure binary metadata registration o...

2018-08-13 Thread dmekhanikov
GitHub user dmekhanikov opened a pull request: https://github.com/apache/ignite/pull/4530 IGNITE-5795 Ensure binary metadata registration on start of cache with QueryEntity. You can merge this pull request into a Git repository by running: $ git pull

[GitHub] ignite pull request #4531: IGNITE-9180 IgniteSparkSession Should Copy State ...

2018-08-13 Thread stuartmacd
GitHub user stuartmacd opened a pull request: https://github.com/apache/ignite/pull/4531 IGNITE-9180 IgniteSparkSession Should Copy State on cloneSession() You can merge this pull request into a Git repository by running: $ git pull https://github.com/stuartmacd/ignite

Re: Update Ignite description in .NET docs and NuGet

2018-08-13 Thread Pavel Tupitsyn
Hi Denis, I've updated NuGet package description and docs: https://github.com/apache/ignite/commit/af03d8413defc992501ffc7246427df6a46c6840 On Mon, Aug 6, 2018 at 11:06 PM Pavel Tupitsyn wrote: > Hi Denis, > > Sorry for the late reply. I'm on vacation with limited internet access. > I think I

[GitHub] ignite pull request #4513: IGNITE-9244 Rework partition eviction.

2018-08-13 Thread DmitriyGovorukhin
Github user DmitriyGovorukhin closed the pull request at: https://github.com/apache/ignite/pull/4513 ---

[jira] [Created] (IGNITE-9253) Rename activation/deactivation commands for REST API

2018-08-13 Thread Roman Shtykh (JIRA)
Roman Shtykh created IGNITE-9253: Summary: Rename activation/deactivation commands for REST API Key: IGNITE-9253 URL: https://issues.apache.org/jira/browse/IGNITE-9253 Project: Ignite Issue

[GitHub] ignite pull request #4524: Ignite 2.4.8 p1

2018-08-13 Thread slukyano
GitHub user slukyano opened a pull request: https://github.com/apache/ignite/pull/4524 Ignite 2.4.8 p1 You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-2.4.8-p1 Alternatively you can review and

[jira] [Created] (IGNITE-9254) In SQL EXPLAIN, display whether query were broadcast or sent to affinity node

2018-08-13 Thread Ilya Kasnacheev (JIRA)
Ilya Kasnacheev created IGNITE-9254: --- Summary: In SQL EXPLAIN, display whether query were broadcast or sent to affinity node Key: IGNITE-9254 URL: https://issues.apache.org/jira/browse/IGNITE-9254

[GitHub] ignite pull request #4525: IGNITE-9253: Rename activation/deactivation comma...

2018-08-13 Thread shroman
GitHub user shroman opened a pull request: https://github.com/apache/ignite/pull/4525 IGNITE-9253: Rename activation/deactivation commands for REST API. You can merge this pull request into a Git repository by running: $ git pull https://github.com/shroman/ignite IGNITE-9253

[GitHub] ignite pull request #4526: Ignite 2.4.6.b3

2018-08-13 Thread slukyano
GitHub user slukyano opened a pull request: https://github.com/apache/ignite/pull/4526 Ignite 2.4.6.b3 You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-2.4.6.b3 Alternatively you can review and

[GitHub] ignite pull request #4527: IGNITE-9248: C++ compilation with Clang is suppor...

2018-08-13 Thread isapego
GitHub user isapego opened a pull request: https://github.com/apache/ignite/pull/4527 IGNITE-9248: C++ compilation with Clang is supported now You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-9248

[GitHub] ignite pull request #4532: BinaryTypeStorage will only be initialized with a...

2018-08-13 Thread eranbetzalel
GitHub user eranbetzalel opened a pull request: https://github.com/apache/ignite/pull/4532 BinaryTypeStorage will only be initialized with a CONNECTED state socket You can merge this pull request into a Git repository by running: $ git pull https://github.com/exposebox/ignite

Re: Does Ignite support java.sql.Array?

2018-08-13 Thread Nikolay Izhikov
Thanks for a comments. Should we update documentation and remove ARRAY support? Vladimir, Denis, can you comment on this? В Пн, 13/08/2018 в 17:29 +0300, Vyacheslav Daradur пишет: > Hi, Nick! > > ASAIK java.sql.Array hasn't been implemented in binary infrastructure yet. > > You should

Does Ignite support java.sql.Array?

2018-08-13 Thread Nikolay Izhikov
Hello, Igniters. Does Ignite support java.sql.Array? Can someone from SQL experts clarify this case? My question relates to the specific ticket that comes from our user [1], [2] Ignite documentaion says that we support sql ARRAY data type [3]. 1. I'm able to create table with ARRAY column.

[GitHub] ignite pull request #4528: IGNITE-9010: Move web-console build to dedicated ...

2018-08-13 Thread imurchenko
GitHub user imurchenko opened a pull request: https://github.com/apache/ignite/pull/4528 IGNITE-9010: Move web-console build to dedicated root directory You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite

[jira] [Created] (IGNITE-9259) Wrong log message in IgniteKernal#ackMemoryConfiguration

2018-08-13 Thread Dmitry Karachentsev (JIRA)
Dmitry Karachentsev created IGNITE-9259: --- Summary: Wrong log message in IgniteKernal#ackMemoryConfiguration Key: IGNITE-9259 URL: https://issues.apache.org/jira/browse/IGNITE-9259 Project:

[jira] [Created] (IGNITE-9258) NodeJS - Fail to handle more than one client in the same app

2018-08-13 Thread Eran Betzalel (JIRA)
Eran Betzalel created IGNITE-9258: - Summary: NodeJS - Fail to handle more than one client in the same app Key: IGNITE-9258 URL: https://issues.apache.org/jira/browse/IGNITE-9258 Project: Ignite

Re: Deprecate force server mode for clients.

2018-08-13 Thread Eduard Shangareev
Andrey, It was discussed already here [1]. And the fix is almost merged. [1] http://apache-ignite-developers.2346864.n4.nabble.com/Issues-with-forceServerMode-on-clients-and-unclear-contract-of-isClient-isClientMode-methods-td31152.html On Mon, Aug 13, 2018 at 9:07 AM Andrey Mashenkov wrote:

Re: Does Ignite support java.sql.Array?

2018-08-13 Thread Sergey Kozlov
Hi Nikolay I was not able to use array type in sqlline [1] in 2.6 1. https://issues.apache.org/jira/browse/IGNITE-9230 On Mon, Aug 13, 2018 at 4:58 PM, Nikolay Izhikov wrote: > Hello, Igniters. > > Does Ignite support java.sql.Array? > Can someone from SQL experts clarify this case? > > My

Re: Does Ignite support java.sql.Array?

2018-08-13 Thread Vyacheslav Daradur
Hi, Nick! ASAIK java.sql.Array hasn't been implemented in binary infrastructure yet. You should implement it first, like in https://issues.apache.org/jira/browse/IGNITE-4158 On Mon, Aug 13, 2018 at 5:22 PM Sergey Kozlov wrote: > > Hi Nikolay > > I was not able to use array type in sqlline [1]

[MTCGA]: new failures in builds [1642986, 1642984, 1642673, 1642050, 1641833, 1607378, 1607362] needs to be handled

2018-08-13 Thread dpavlov . tasks
Hi Ignite Developer, I am MTCGA.Bot, and I've detected some issue on TeamCity to be addressed. I hope you can help. *New test failure in master CachePartitionedTest.TestWithExpiryPolicy

[MTCGA]: new failures in builds [1639497, 1639185, 1638777, 1638773, 1638769, 1638761] needs to be handled

2018-08-13 Thread dpavlov . tasks
Hi Ignite Developer, I am MTCGA.Bot, and I've detected some issue on TeamCity to be addressed. I hope you can help. *New test failure in master CacheAbstractTest.TestWithExpiryPolicy

[MTCGA]: new failures in builds [1639074, 1638768, 1638766, 1638459, 1638254, 1638246] needs to be handled

2018-08-13 Thread dpavlov . tasks
Hi Ignite Developer, I am MTCGA.Bot, and I've detected some issue on TeamCity to be addressed. I hope you can help. *New Critical Failure in master ZooKeeper (Discovery) 2