[jira] [Updated] (IGNITE-7730) Improve WAL history size documentation

2018-02-15 Thread Dmitriy Pavlov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Pavlov updated IGNITE-7730:
---
Description: 
Until IGNITE-6552 is not implemented, we have only ability to configure WAL 
hist. size in checkpoints.

It is needed to improve description for this parameter.

I've added draft notes to wiki 
https://cwiki.apache.org/confluence/display/IGNITE/Ignite+Persistent+Store+-+under+the+hood#IgnitePersistentStore-underthehood-Estimatingdiskspace
about ways how wer can estimate WAL sizes without exact bytes/time 
specification:
{panel}
WAL Work max used size: walSegmentSize * walSegments = 640Mb (default)

in case Default WAL mode - this size is used always,

in case other modes best case is 1 segment * walSegmentSize

WAL Work+WAL Archive max size may be estimated by
1. average load or
2. by maximum size.
1st way is applicable if checkpoints are triggered mostly by timer trigger. 
Wal size = 2*Average load(bytes/sec) * trigger interval (sec) * walHistSize 
(number of checkpoints)
Where 2 multiplier coming from physical & logical WAL Records.

2nd way: Checkpoint is triggered by segments max dirty pages percent. Use 
persisted data regions max sizes:
sum(Max configured DataRegionConfiguration.maxSize) * 75% - est. maximum data 
volume to be writen on 1 checkpoint.
Overall WAL size (before archiving) = 2* est. data volume * walHistSize = 1,5 * 
sum(DataRegionConfiguration.maxSize) * walHistSize 

Note applying WAL compressor may significiantly reduce archive size.
{panel}

One more note from [~ivan.glukos] on dev.list we need to include. It is answer 
to question how user can determine if segment from archive folder can be safely 
removed:
{quote}
By the way: WAL compression is already implemented that way. If there
are any ".zip" segments in archive dir, they are free to delete.
This can be a safe workaround for users who experience lack of free
space - just delete compressed segments. We should mention it in
documentation for 2.4 release.
{quote}



  was:
Until IGNITE-6552 is not implemented, we have only ability to configure WAL 
hist. size in checkpoints.

It is needed to improve description for this parameter.

I've added draft notes to wiki 
https://cwiki.apache.org/confluence/display/IGNITE/Ignite+Persistent+Store+-+under+the+hood#IgnitePersistentStore-underthehood-Estimatingdiskspace
about ways how wer can estimate WAL sizes without exact bytes/time 
specification:
{panel}
WAL Work max used size: walSegmentSize * walSegments = 640Mb (default)

in case Default WAL mode - this size is used always,

in case other modes best case is 1 segment * walSegmentSize

WAL Work+WAL Archive max size may be estimated by

average load or
by maximum size.
1st way is applicable if checkpoints are triggered mostly by timer trigger. 
Wal size = 2*Average load(bytes/sec) * trigger interval (sec) * walHistSize 
(number of checkpoints)
Where 2 multiplier coming from physical & logical WAL Records.

2nd way: Checkpoint is triggered by segments max dirty pages percent. Use 
persisted data regions max sizes:
sum(Max configured DataRegionConfiguration.maxSize) * 75% - est. maximum data 
volume to be writen on 1 checkpoint.
Overall WAL size (before archiving) = 2* est. data volume * walHistSize = 1,5 * 
sum(DataRegionConfiguration.maxSize) * walHistSize 

Note applying WAL compressor may significiantly reduce archive size.
{panel}


> Improve WAL history size documentation
> --
>
> Key: IGNITE-7730
> URL: https://issues.apache.org/jira/browse/IGNITE-7730
> Project: Ignite
>  Issue Type: Task
>  Components: documentation
>Affects Versions: 2.1
>Reporter: Dmitriy Pavlov
>Assignee: Denis Magda
>Priority: Major
> Fix For: 2.5
>
>
> Until IGNITE-6552 is not implemented, we have only ability to configure WAL 
> hist. size in checkpoints.
> It is needed to improve description for this parameter.
> I've added draft notes to wiki 
> https://cwiki.apache.org/confluence/display/IGNITE/Ignite+Persistent+Store+-+under+the+hood#IgnitePersistentStore-underthehood-Estimatingdiskspace
> about ways how wer can estimate WAL sizes without exact bytes/time 
> specification:
> {panel}
> WAL Work max used size: walSegmentSize * walSegments = 640Mb (default)
> in case Default WAL mode - this size is used always,
> in case other modes best case is 1 segment * walSegmentSize
> WAL Work+WAL Archive max size may be estimated by
> 1. average load or
> 2. by maximum size.
> 1st way is applicable if checkpoints are triggered mostly by timer trigger. 
> Wal size = 2*Average load(bytes/sec) * trigger interval (sec) * walHistSize 
> (number of checkpoints)
> Where 2 multiplier coming from physical & logical WAL Records.
> 2nd way: Checkpoint is triggered by segments max dirty pages percent. Use 
> 

[jira] [Created] (IGNITE-7730) Improve WAL history size documentation

2018-02-15 Thread Dmitriy Pavlov (JIRA)
Dmitriy Pavlov created IGNITE-7730:
--

 Summary: Improve WAL history size documentation
 Key: IGNITE-7730
 URL: https://issues.apache.org/jira/browse/IGNITE-7730
 Project: Ignite
  Issue Type: Task
  Components: documentation
Affects Versions: 2.1
Reporter: Dmitriy Pavlov
Assignee: Denis Magda
 Fix For: 2.5


Until IGNITE-6552 is not implemented, we have only ability to configure WAL 
hist. size in checkpoints.

It is needed to improve description for this parameter.

I've added draft notes to wiki 
https://cwiki.apache.org/confluence/display/IGNITE/Ignite+Persistent+Store+-+under+the+hood#IgnitePersistentStore-underthehood-Estimatingdiskspace
about ways how wer can estimate WAL sizes without exact bytes/time 
specification:
{panel}
WAL Work max used size: walSegmentSize * walSegments = 640Mb (default)

in case Default WAL mode - this size is used always,

in case other modes best case is 1 segment * walSegmentSize

WAL Work+WAL Archive max size may be estimated by

average load or
by maximum size.
1st way is applicable if checkpoints are triggered mostly by timer trigger. 
Wal size = 2*Average load(bytes/sec) * trigger interval (sec) * walHistSize 
(number of checkpoints)
Where 2 multiplier coming from physical & logical WAL Records.

2nd way: Checkpoint is triggered by segments max dirty pages percent. Use 
persisted data regions max sizes:
sum(Max configured DataRegionConfiguration.maxSize) * 75% - est. maximum data 
volume to be writen on 1 checkpoint.
Overall WAL size (before archiving) = 2* est. data volume * walHistSize = 1,5 * 
sum(DataRegionConfiguration.maxSize) * walHistSize 

Note applying WAL compressor may significiantly reduce archive size.
{panel}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7729) Add usage of Roles for Web Console E2E tests

2018-02-15 Thread Alexander Kalinin (JIRA)
Alexander Kalinin created IGNITE-7729:
-

 Summary: Add usage of Roles for Web Console E2E tests
 Key: IGNITE-7729
 URL: https://issues.apache.org/jira/browse/IGNITE-7729
 Project: Ignite
  Issue Type: Improvement
  Components: wizards
Reporter: Alexander Kalinin
Assignee: Alexander Kalinin






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7728) Put together a doc that shows how to blend SQL with k/v APIs

2018-02-15 Thread Denis Magda (JIRA)
Denis Magda created IGNITE-7728:
---

 Summary: Put together a doc that shows how to blend SQL with k/v 
APIs
 Key: IGNITE-7728
 URL: https://issues.apache.org/jira/browse/IGNITE-7728
 Project: Ignite
  Issue Type: Task
  Components: documentation
Reporter: Denis Magda
Assignee: Denis Magda
 Fix For: 2.5


More and more people start blending SQL with key-value APIs in Ignite. Usually, 
they create tables/caches with DDL and wish to use key-value later as well:

[https://stackoverflow.com/questions/48795533/how-do-i-read-data-from-cache-using-javaapi-after-i-put-it-through-jdbc]

 

We already have a project that demonstrates this approach:

[https://github.com/dmagda/ignite_world_demo]

 

Put together a doc that points out to it and elaborates on this topic.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (IGNITE-7726) Error in queries screen in Demo mode

2018-02-15 Thread Alexander Kalinin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Kalinin resolved IGNITE-7726.
---
Resolution: Cannot Reproduce

> Error in queries screen in Demo mode
> 
>
> Key: IGNITE-7726
> URL: https://issues.apache.org/jira/browse/IGNITE-7726
> Project: Ignite
>  Issue Type: Bug
>Reporter: Alexander Kalinin
>Assignee: Alexander Kalinin
>Priority: Minor
> Attachments: image-2018-02-16-10-46-13-126.png, xRh8zi (1).jpg
>
>
> Steps:
> 1) Start demo mode
> 2) Go to queries page
> An error message appears.
>  
> !image-2018-02-16-10-46-13-126.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-7033) Web console: Increase width of columns on admin page

2018-02-15 Thread Alexander Kalinin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Kalinin reassigned IGNITE-7033:
-

Assignee: Pavel Konstantinov  (was: Alexander Kalinin)

Email column adjusted to fit 24 characters.

> Web console: Increase width of columns on admin page
> 
>
> Key: IGNITE-7033
> URL: https://issues.apache.org/jira/browse/IGNITE-7033
> Project: Ignite
>  Issue Type: Bug
>Reporter: Vasiliy Sisko
>Assignee: Pavel Konstantinov
>Priority: Major
>
> *"Last activity" and "email" columns are too narrow*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7042) Test written in scala doesn't executed on TC

2018-02-15 Thread Nikolay Izhikov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366603#comment-16366603
 ] 

Nikolay Izhikov commented on IGNITE-7042:
-

TC results - 
https://ci.ignite.apache.org/viewLog.html?buildId=1095218=queuedBuildOverviewTab

For now Team City sees all 91 tests. Both for scala and java

> Test written in scala doesn't executed on TC 
> -
>
> Key: IGNITE-7042
> URL: https://issues.apache.org/jira/browse/IGNITE-7042
> Project: Ignite
>  Issue Type: Bug
>  Components: spark
>Affects Versions: 2.3
>Reporter: Nikolay Izhikov
>Assignee: Nikolay Izhikov
>Priority: Minor
> Fix For: 2.5
>
>
> Tests from module `spark` and `spark_2.10` written in scala don't executes on 
> TC.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7727) IgniteRDDSpec. Failing tests

2018-02-15 Thread Nikolay Izhikov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikolay Izhikov updated IGNITE-7727:

Labels: MakeTeamcityGreenAgain  (was: )

> IgniteRDDSpec. Failing tests
> 
>
> Key: IGNITE-7727
> URL: https://issues.apache.org/jira/browse/IGNITE-7727
> Project: Ignite
>  Issue Type: Bug
>  Components: spark
>Affects Versions: 2.4
>Reporter: Nikolay Izhikov
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> Two spark tests are broken.
> Need to fix it.
> 1. IgniteRDDSpec.IgniteRDD should successfully store data to ignite using 
> saveValues  
> 2. IgniteRDDSpec.IgniteRDD should successfully store data to ignite using 
> saveValues with inline transformation



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7727) IgniteRDDSpec. Failing tests

2018-02-15 Thread Nikolay Izhikov (JIRA)
Nikolay Izhikov created IGNITE-7727:
---

 Summary: IgniteRDDSpec. Failing tests
 Key: IGNITE-7727
 URL: https://issues.apache.org/jira/browse/IGNITE-7727
 Project: Ignite
  Issue Type: Bug
  Components: spark
Affects Versions: 2.4
Reporter: Nikolay Izhikov
 Fix For: 2.5


Two spark tests are broken.
Need to fix it.

1. IgniteRDDSpec.IgniteRDD should successfully store data to ignite using 
saveValues  
2. IgniteRDDSpec.IgniteRDD should successfully store data to ignite using 
saveValues with inline transformation



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7726) Error in queries screen in Demo mode

2018-02-15 Thread Alexander Kalinin (JIRA)
Alexander Kalinin created IGNITE-7726:
-

 Summary: Error in queries screen in Demo mode
 Key: IGNITE-7726
 URL: https://issues.apache.org/jira/browse/IGNITE-7726
 Project: Ignite
  Issue Type: Bug
Reporter: Alexander Kalinin
 Attachments: image-2018-02-16-10-46-13-126.png, xRh8zi (1).jpg

Steps:

1) Start demo mode

2) Go to queries page

An error message appears.

 

!image-2018-02-16-10-46-13-126.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-7726) Error in queries screen in Demo mode

2018-02-15 Thread Alexander Kalinin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Kalinin reassigned IGNITE-7726:
-

Assignee: Alexander Kalinin

> Error in queries screen in Demo mode
> 
>
> Key: IGNITE-7726
> URL: https://issues.apache.org/jira/browse/IGNITE-7726
> Project: Ignite
>  Issue Type: Bug
>Reporter: Alexander Kalinin
>Assignee: Alexander Kalinin
>Priority: Minor
> Attachments: image-2018-02-16-10-46-13-126.png, xRh8zi (1).jpg
>
>
> Steps:
> 1) Start demo mode
> 2) Go to queries page
> An error message appears.
>  
> !image-2018-02-16-10-46-13-126.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7033) Web console: Increase width of columns on admin page

2018-02-15 Thread Alexander Kalinin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Kalinin updated IGNITE-7033:
--
Description: *"Last activity" and "email" columns are too narrow*

> Web console: Increase width of columns on admin page
> 
>
> Key: IGNITE-7033
> URL: https://issues.apache.org/jira/browse/IGNITE-7033
> Project: Ignite
>  Issue Type: Bug
> Environment: "Last activity" and "email" columns are too narrow
>Reporter: Vasiliy Sisko
>Assignee: Alexander Kalinin
>Priority: Major
>
> *"Last activity" and "email" columns are too narrow*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7033) Web console: Increase width of columns on admin page

2018-02-15 Thread Alexander Kalinin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Kalinin updated IGNITE-7033:
--
Environment: (was: "Last activity" and "email" columns are too narrow)

> Web console: Increase width of columns on admin page
> 
>
> Key: IGNITE-7033
> URL: https://issues.apache.org/jira/browse/IGNITE-7033
> Project: Ignite
>  Issue Type: Bug
>Reporter: Vasiliy Sisko
>Assignee: Alexander Kalinin
>Priority: Major
>
> *"Last activity" and "email" columns are too narrow*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-7459) Web console: do not show result title until query end

2018-02-15 Thread Alexander Kalinin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Kalinin reassigned IGNITE-7459:
-

Assignee: Pavel Konstantinov  (was: Alexander Kalinin)

Is not reproduced anymore. Please verify,

> Web console: do not show result title until query end
> -
>
> Key: IGNITE-7459
> URL: https://issues.apache.org/jira/browse/IGNITE-7459
> Project: Ignite
>  Issue Type: Bug
>Reporter: Pavel Konstantinov
>Assignee: Pavel Konstantinov
>Priority: Minor
> Attachments: screenshot-1.png
>
>
> Currently we print result title (below result table) for scan before it was 
> actually ended.
> It looks confusing if scan with filter is executing
> Look at the screenshot - I set filter = '12957' and click Scan and it alredy 
> printed below result table but table shows content from previous scan
>  !screenshot-1.png! 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-7033) Web console: Increase width of columns on admin page

2018-02-15 Thread Alexander Kalinin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Kalinin reassigned IGNITE-7033:
-

Assignee: Alexander Kalinin  (was: Alexey Kuznetsov)

> Web console: Increase width of columns on admin page
> 
>
> Key: IGNITE-7033
> URL: https://issues.apache.org/jira/browse/IGNITE-7033
> Project: Ignite
>  Issue Type: Bug
> Environment: "Last activity" and "email" columns are too narrow
>Reporter: Vasiliy Sisko
>Assignee: Alexander Kalinin
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-7459) Web console: do not show result title until query end

2018-02-15 Thread Alexander Kalinin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Kalinin reassigned IGNITE-7459:
-

Assignee: Alexander Kalinin

> Web console: do not show result title until query end
> -
>
> Key: IGNITE-7459
> URL: https://issues.apache.org/jira/browse/IGNITE-7459
> Project: Ignite
>  Issue Type: Bug
>Reporter: Pavel Konstantinov
>Assignee: Alexander Kalinin
>Priority: Minor
> Attachments: screenshot-1.png
>
>
> Currently we print result title (below result table) for scan before it was 
> actually ended.
> It looks confusing if scan with filter is executing
> Look at the screenshot - I set filter = '12957' and click Scan and it alredy 
> printed below result table but table shows content from previous scan
>  !screenshot-1.png! 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7725) REST: expand parameters list of GetOrCreateCache command

2018-02-15 Thread Denis Magda (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366557#comment-16366557
 ] 

Denis Magda commented on IGNITE-7725:
-

[~kuaw26] , please create a documentation ticket for 2.5 ("documentation" 
component) once the improved is merged to the master.

> REST: expand parameters list of GetOrCreateCache command
> 
>
> Key: IGNITE-7725
> URL: https://issues.apache.org/jira/browse/IGNITE-7725
> Project: Ignite
>  Issue Type: Improvement
>  Components: rest
>Affects Versions: 2.3
>Reporter: Alexey Kuznetsov
>Assignee: Alexey Kuznetsov
>Priority: Major
> Fix For: 2.5
>
>
> Current implementation is very primitive and do not allow to create caches 
> with custom options via REST.
> http://host:port/ignite?cmd=getorcreate=cache_name[=template_name][=1][=FULL_SYNC][;
>  other options]
> Ignite will support two pre-configured templates out of the box: PARTITIONED 
> and REPLICATED (same as SQL engine).
> If template name is not specified, by default it will be PARTITIONED.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7725) REST: expand parameters list of GetOrCreateCache command

2018-02-15 Thread Alexey Kuznetsov (JIRA)
Alexey Kuznetsov created IGNITE-7725:


 Summary: REST: expand parameters list of GetOrCreateCache command
 Key: IGNITE-7725
 URL: https://issues.apache.org/jira/browse/IGNITE-7725
 Project: Ignite
  Issue Type: Improvement
  Components: rest
Affects Versions: 2.3
Reporter: Alexey Kuznetsov
Assignee: Alexey Kuznetsov
 Fix For: 2.5


Current implementation is very primitive and do not allow to create caches with 
custom options via REST.

http://host:port/ignite?cmd=getorcreate=cache_name[=template_name][=1][=FULL_SYNC][;
 other options]

Ignite will support two pre-configured templates out of the box: PARTITIONED 
and REPLICATED (same as SQL engine).

If template name is not specified, by default it will be PARTITIONED.

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7650) Web Console: Rework signin page.

2018-02-15 Thread Dmitriy Shabalin (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366469#comment-16366469
 ] 

Dmitriy Shabalin commented on IGNITE-7650:
--

[~Alexey Kuznetsov] reviewed.
added redesign for next pages
 * page signin
 * page landing
 * page password reset
 * page password changed
 * page profile

> Web Console: Rework signin page.
> 
>
> Key: IGNITE-7650
> URL: https://issues.apache.org/jira/browse/IGNITE-7650
> Project: Ignite
>  Issue Type: Improvement
>  Components: wizards
>Reporter: Alexander Kalinin
>Assignee: Alexey Kuznetsov
>Priority: Major
> Fix For: 2.5
>
>
> * Extract signin/signup form to separated page.
>  * Implement landing page, signin/signup page as components.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-7650) Web Console: Rework signin page.

2018-02-15 Thread Dmitriy Shabalin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Shabalin reassigned IGNITE-7650:


Assignee: Alexey Kuznetsov  (was: Dmitriy Shabalin)

> Web Console: Rework signin page.
> 
>
> Key: IGNITE-7650
> URL: https://issues.apache.org/jira/browse/IGNITE-7650
> Project: Ignite
>  Issue Type: Improvement
>  Components: wizards
>Reporter: Alexander Kalinin
>Assignee: Alexey Kuznetsov
>Priority: Major
> Fix For: 2.5
>
>
> * Extract signin/signup form to separated page.
>  * Implement landing page, signin/signup page as components.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7681) SQL COPY: local performance improvements

2018-02-15 Thread Kirill Shirokov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirill Shirokov updated IGNITE-7681:

Summary: SQL COPY: local performance improvements  (was: SQL COPY: local 
performance fixes)

> SQL COPY: local performance improvements
> 
>
> Key: IGNITE-7681
> URL: https://issues.apache.org/jira/browse/IGNITE-7681
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Affects Versions: 2.4, 2.5
>Reporter: Kirill Shirokov
>Assignee: Kirill Shirokov
>Priority: Major
> Attachments: ignite-7681-cache-putall-processor.diff, 
> ignite-7681-perf-test.diff
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7724) SQL COPY: network performance improvements

2018-02-15 Thread Kirill Shirokov (JIRA)
Kirill Shirokov created IGNITE-7724:
---

 Summary: SQL COPY: network performance improvements
 Key: IGNITE-7724
 URL: https://issues.apache.org/jira/browse/IGNITE-7724
 Project: Ignite
  Issue Type: Bug
  Components: sql
Affects Versions: 2.3, 2.4, 2.5
Reporter: Kirill Shirokov
Assignee: Kirill Shirokov






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7660) Refactor LSQR algorithm

2018-02-15 Thread Boran Sahindal (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366371#comment-16366371
 ] 

Boran Sahindal commented on IGNITE-7660:


[~dmitrievanthony] Thanks for the description. We will comment the developments 
here, but work on other version control hosting. 

 

[~chief] We joined the mail list and will follow the `how to contribute` 
section.  

 

THANKS!

> Refactor LSQR algorithm
> ---
>
> Key: IGNITE-7660
> URL: https://issues.apache.org/jira/browse/IGNITE-7660
> Project: Ignite
>  Issue Type: Improvement
>  Components: ml
>Reporter: Anton Dmitriev
>Priority: Minor
>
> This issues is the nest step of the IGNITE-7438 task.
> In the IGNITE-7438 the AbstractLSQR implementation has been copied from the 
> SciPy implementation which has been copies from another old implementation. 
> As result the code in the 
> [AbstractLSQR|https://github.com/apache/ignite/blob/master/modules/ml/src/main/java/org/apache/ignite/ml/math/isolve/lsqr/AbstractLSQR.java]
>  looks a bit weird. All variables have meaningless names and the whole 
> algorithm written as the one method.
> The goal of this task is to refactor the LSQR code and:
>  * Make variable names more meaningful.
>  * Add comments to the variables and result (see 
> [LSQRResult|https://github.com/apache/ignite/blob/master/modules/ml/src/main/java/org/apache/ignite/ml/math/isolve/lsqr/LSQRResult.java]).
>  * Move parts of the algorithm into separate methods where it's appropriate.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7720) Update ODBC cluster configuration: replace OdbcConfiguration with ClientConnectorConfiguration

2018-02-15 Thread Denis Magda (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366287#comment-16366287
 ] 

Denis Magda commented on IGNITE-7720:
-

[~isapego] , could you handle this?

> Update ODBC cluster configuration: replace OdbcConfiguration with 
> ClientConnectorConfiguration
> --
>
> Key: IGNITE-7720
> URL: https://issues.apache.org/jira/browse/IGNITE-7720
> Project: Ignite
>  Issue Type: Task
>  Components: documentation
>Affects Versions: 2.3
>Reporter: Alexey Popov
>Assignee: Igor Sapego
>Priority: Major
> Fix For: 2.4
>
>
> https://apacheignite-sql.readme.io/docs/odbc-driver#section-cluster-configuration
> Please note that ODBC configuration is depricated. It is better to update 
> this page with 
> ClientConnectorConfiguration
> BTW, https://apacheignite-sql.readme.io/docs/jdbc-driver is already updated )
> {quote}
> /**
>  * ODBC configuration.
>  * 
>  * Deprecated as of Apache Ignite 2.1. Please use {@link 
> ClientConnectorConfiguration} and
>  * {@link 
> IgniteConfiguration#setClientConnectorConfiguration(ClientConnectorConfiguration)}
>  instead.
>  */
> @Deprecated
> public class OdbcConfiguration {
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7720) Update ODBC cluster configuration: replace OdbcConfiguration with ClientConnectorConfiguration

2018-02-15 Thread Denis Magda (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denis Magda updated IGNITE-7720:

Fix Version/s: 2.4

> Update ODBC cluster configuration: replace OdbcConfiguration with 
> ClientConnectorConfiguration
> --
>
> Key: IGNITE-7720
> URL: https://issues.apache.org/jira/browse/IGNITE-7720
> Project: Ignite
>  Issue Type: Task
>  Components: documentation
>Affects Versions: 2.3
>Reporter: Alexey Popov
>Priority: Major
> Fix For: 2.4
>
>
> https://apacheignite-sql.readme.io/docs/odbc-driver#section-cluster-configuration
> Please note that ODBC configuration is depricated. It is better to update 
> this page with 
> ClientConnectorConfiguration
> BTW, https://apacheignite-sql.readme.io/docs/jdbc-driver is already updated )
> {quote}
> /**
>  * ODBC configuration.
>  * 
>  * Deprecated as of Apache Ignite 2.1. Please use {@link 
> ClientConnectorConfiguration} and
>  * {@link 
> IgniteConfiguration#setClientConnectorConfiguration(ClientConnectorConfiguration)}
>  instead.
>  */
> @Deprecated
> public class OdbcConfiguration {
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-7720) Update ODBC cluster configuration: replace OdbcConfiguration with ClientConnectorConfiguration

2018-02-15 Thread Denis Magda (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denis Magda reassigned IGNITE-7720:
---

Assignee: Igor Sapego

> Update ODBC cluster configuration: replace OdbcConfiguration with 
> ClientConnectorConfiguration
> --
>
> Key: IGNITE-7720
> URL: https://issues.apache.org/jira/browse/IGNITE-7720
> Project: Ignite
>  Issue Type: Task
>  Components: documentation
>Affects Versions: 2.3
>Reporter: Alexey Popov
>Assignee: Igor Sapego
>Priority: Major
> Fix For: 2.4
>
>
> https://apacheignite-sql.readme.io/docs/odbc-driver#section-cluster-configuration
> Please note that ODBC configuration is depricated. It is better to update 
> this page with 
> ClientConnectorConfiguration
> BTW, https://apacheignite-sql.readme.io/docs/jdbc-driver is already updated )
> {quote}
> /**
>  * ODBC configuration.
>  * 
>  * Deprecated as of Apache Ignite 2.1. Please use {@link 
> ClientConnectorConfiguration} and
>  * {@link 
> IgniteConfiguration#setClientConnectorConfiguration(ClientConnectorConfiguration)}
>  instead.
>  */
> @Deprecated
> public class OdbcConfiguration {
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-7434) Thin client Java API - cache query API

2018-02-15 Thread Alexey Kukushkin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Kukushkin reassigned IGNITE-7434:


Assignee: Alexey Kukushkin

> Thin client Java API - cache query API
> --
>
> Key: IGNITE-7434
> URL: https://issues.apache.org/jira/browse/IGNITE-7434
> Project: Ignite
>  Issue Type: Sub-task
> Environment: Implement cache query thin client Java API including 
> unit and system tests and samples.
> Cache
>         query(qry: Query): QueryCursor
>Reporter: Alexey Kukushkin
>Assignee: Alexey Kukushkin
>Priority: Major
>  Labels: data, java, thin
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (IGNITE-7425) Thin client Java API - binary objects

2018-02-15 Thread Alexey Kukushkin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Kukushkin resolved IGNITE-7425.
--
Resolution: Fixed

> Thin client Java API - binary objects
> -
>
> Key: IGNITE-7425
> URL: https://issues.apache.org/jira/browse/IGNITE-7425
> Project: Ignite
>  Issue Type: Sub-task
> Environment: Implement binary object thin client Java API including 
> unit and system tests and samples.
> Cache
>     withKeepBinary(): IgniteCache
> Ignite
>      binary(): IgniteBinary
>Reporter: Alexey Kukushkin
>Assignee: Alexey Kukushkin
>Priority: Major
>  Labels: data, java, thin
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7723) Data loss after node restart with PDS

2018-02-15 Thread Alexandr Kuramshin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexandr Kuramshin updated IGNITE-7723:
---
Attachment: IgnitePdsDataLossTest.java

> Data loss after node restart with PDS
> -
>
> Key: IGNITE-7723
> URL: https://issues.apache.org/jira/browse/IGNITE-7723
> Project: Ignite
>  Issue Type: Bug
>  Components: general, persistence
>Affects Versions: 2.3
>Reporter: Alexandr Kuramshin
>Priority: Major
> Attachments: IgnitePdsDataLossTest.java
>
>
> Split-brain scenario with topology validator is used to convince possible 
> data loss. The same results may be achieved on accidental network problems 
> combined with node restart.
> See the reproducer {{IgnitePdsDataLossTest}} for details.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7723) Data loss after node restart with PDS

2018-02-15 Thread Alexandr Kuramshin (JIRA)
Alexandr Kuramshin created IGNITE-7723:
--

 Summary: Data loss after node restart with PDS
 Key: IGNITE-7723
 URL: https://issues.apache.org/jira/browse/IGNITE-7723
 Project: Ignite
  Issue Type: Bug
  Components: general, persistence
Affects Versions: 2.3
Reporter: Alexandr Kuramshin
 Attachments: IgnitePdsDataLossTest.java

Split-brain scenario with topology validator is used to convince possible data 
loss. The same results may be achieved on accidental network problems combined 
with node restart.

See the reproducer {{IgnitePdsDataLossTest}} for details.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (IGNITE-7531) SQL: Create data load benchmarks

2018-02-15 Thread Pavel Kuznetsov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366006#comment-16366006
 ] 

Pavel Kuznetsov edited comment on IGNITE-7531 at 2/15/18 6:37 PM:
--

Updated results on another machines 10M rows

single insert : 2 870 sec 
batched 1000 : 260 sec
copy csv : 278 sec




was (Author: pkouznet):
Updated results on another machines 10M rows

single insert : 2870 sec 
batched 1000 : 260 sec
copy csv : 278 sec



> SQL: Create data load benchmarks
> 
>
> Key: IGNITE-7531
> URL: https://issues.apache.org/jira/browse/IGNITE-7531
> Project: Ignite
>  Issue Type: Task
>  Components: sql, yardstick
>Reporter: Vladimir Ozerov
>Assignee: Pavel Kuznetsov
>Priority: Major
> Fix For: 2.5
>
>
> We need to implement a set of data loading benchmarks to better understand 
> how fast Ignite is able to consume data. This task consists of two steps:
> 1) Extend Yardstick capabilities
> 2) Create set of benchmarks
> 1) Yardstick
> Data load benchmark should be executed in single-shot mode: only one 
> iteration, only total execution time is needed, start callback for setup and 
> warmup, stop callback for cleanup. 
> Currently Yardstick cannot do that, so we need to extend it. Possibly, we can 
> control this through new {{boolean BenchmarkDriver.isSingleShot()}} method.
> 2) Benchmarks 
> At first let's focus on thin JDBC driver. The following cases should be 
> executed:
> 2.1) Normal INSERT
> 2.2) Batched INSERT
> 2.3) Streaming INSERT (when IGNITE-7253 is ready)
> 2.4) P. 1-3 with and without dynamically disabled WAL (ALTER TABLE ... 
> NOLOGGING)
> 2.5) P. 1-3 with additional indexes - either created before data load on 
> empty table, or after load on table with data.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (IGNITE-7531) SQL: Create data load benchmarks

2018-02-15 Thread Pavel Kuznetsov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366006#comment-16366006
 ] 

Pavel Kuznetsov edited comment on IGNITE-7531 at 2/15/18 6:37 PM:
--

Updated results on another machines 10M rows

single insert : 2870 sec 
batched 1000 : 260 sec
copy csv : 278 sec




was (Author: pkouznet):
Updated results on another machines 10M rows

single insert : 2 870 sec 
batched 1000 : 260 sec
copy csv : 278 sec



> SQL: Create data load benchmarks
> 
>
> Key: IGNITE-7531
> URL: https://issues.apache.org/jira/browse/IGNITE-7531
> Project: Ignite
>  Issue Type: Task
>  Components: sql, yardstick
>Reporter: Vladimir Ozerov
>Assignee: Pavel Kuznetsov
>Priority: Major
> Fix For: 2.5
>
>
> We need to implement a set of data loading benchmarks to better understand 
> how fast Ignite is able to consume data. This task consists of two steps:
> 1) Extend Yardstick capabilities
> 2) Create set of benchmarks
> 1) Yardstick
> Data load benchmark should be executed in single-shot mode: only one 
> iteration, only total execution time is needed, start callback for setup and 
> warmup, stop callback for cleanup. 
> Currently Yardstick cannot do that, so we need to extend it. Possibly, we can 
> control this through new {{boolean BenchmarkDriver.isSingleShot()}} method.
> 2) Benchmarks 
> At first let's focus on thin JDBC driver. The following cases should be 
> executed:
> 2.1) Normal INSERT
> 2.2) Batched INSERT
> 2.3) Streaming INSERT (when IGNITE-7253 is ready)
> 2.4) P. 1-3 with and without dynamically disabled WAL (ALTER TABLE ... 
> NOLOGGING)
> 2.5) P. 1-3 with additional indexes - either created before data load on 
> empty table, or after load on table with data.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (IGNITE-7531) SQL: Create data load benchmarks

2018-02-15 Thread Pavel Kuznetsov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366006#comment-16366006
 ] 

Pavel Kuznetsov edited comment on IGNITE-7531 at 2/15/18 6:36 PM:
--

Updated results on another machines 10M rows

single insert : 2870 sec 
batched 1000 : 260 sec
copy csv : 278 sec




was (Author: pkouznet):
Updated results on another machines 10M rows

batched 1000 : 260 sec
copy csv : 278 sec



> SQL: Create data load benchmarks
> 
>
> Key: IGNITE-7531
> URL: https://issues.apache.org/jira/browse/IGNITE-7531
> Project: Ignite
>  Issue Type: Task
>  Components: sql, yardstick
>Reporter: Vladimir Ozerov
>Assignee: Pavel Kuznetsov
>Priority: Major
> Fix For: 2.5
>
>
> We need to implement a set of data loading benchmarks to better understand 
> how fast Ignite is able to consume data. This task consists of two steps:
> 1) Extend Yardstick capabilities
> 2) Create set of benchmarks
> 1) Yardstick
> Data load benchmark should be executed in single-shot mode: only one 
> iteration, only total execution time is needed, start callback for setup and 
> warmup, stop callback for cleanup. 
> Currently Yardstick cannot do that, so we need to extend it. Possibly, we can 
> control this through new {{boolean BenchmarkDriver.isSingleShot()}} method.
> 2) Benchmarks 
> At first let's focus on thin JDBC driver. The following cases should be 
> executed:
> 2.1) Normal INSERT
> 2.2) Batched INSERT
> 2.3) Streaming INSERT (when IGNITE-7253 is ready)
> 2.4) P. 1-3 with and without dynamically disabled WAL (ALTER TABLE ... 
> NOLOGGING)
> 2.5) P. 1-3 with additional indexes - either created before data load on 
> empty table, or after load on table with data.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7686) PDS Direct IO failure: IgnitePdsEvictionTest.testPageEviction

2018-02-15 Thread Dmitriy Pavlov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366035#comment-16366035
 ] 

Dmitriy Pavlov commented on IGNITE-7686:


Fix is being prepared under [IGNITE-7698], this change intended to reduce load 
coming from test to TC agents.

[~agoncharuk], could you please review and merge?

> PDS Direct IO failure: IgnitePdsEvictionTest.testPageEviction 
> --
>
> Key: IGNITE-7686
> URL: https://issues.apache.org/jira/browse/IGNITE-7686
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Reporter: Dmitriy Pavlov
>Assignee: Dmitriy Pavlov
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> java.util.concurrent.TimeoutException: Test has been timed out 
> [test=testPageEviction, timeout=30] 
> Reproduced only on TC agent
> https://ci.ignite.apache.org/viewLog.html?buildId=1090347=buildResultsDiv=IgniteTests24Java8_IgnitePds1DirectIo#testNameId3144891032708936796



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Issue Comment Deleted] (IGNITE-7686) PDS Direct IO failure: IgnitePdsEvictionTest.testPageEviction

2018-02-15 Thread Dmitriy Pavlov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Pavlov updated IGNITE-7686:
---
Comment: was deleted

(was: https://github.com/apache/ignite/pull/3511)

> PDS Direct IO failure: IgnitePdsEvictionTest.testPageEviction 
> --
>
> Key: IGNITE-7686
> URL: https://issues.apache.org/jira/browse/IGNITE-7686
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Reporter: Dmitriy Pavlov
>Assignee: Dmitriy Pavlov
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> java.util.concurrent.TimeoutException: Test has been timed out 
> [test=testPageEviction, timeout=30] 
> Reproduced only on TC agent
> https://ci.ignite.apache.org/viewLog.html?buildId=1090347=buildResultsDiv=IgniteTests24Java8_IgnitePds1DirectIo#testNameId3144891032708936796



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7686) PDS Direct IO failure: IgnitePdsEvictionTest.testPageEviction

2018-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366024#comment-16366024
 ] 

ASF GitHub Bot commented on IGNITE-7686:


Github user dspavlov closed the pull request at:

https://github.com/apache/ignite/pull/3511


> PDS Direct IO failure: IgnitePdsEvictionTest.testPageEviction 
> --
>
> Key: IGNITE-7686
> URL: https://issues.apache.org/jira/browse/IGNITE-7686
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Reporter: Dmitriy Pavlov
>Assignee: Dmitriy Pavlov
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> java.util.concurrent.TimeoutException: Test has been timed out 
> [test=testPageEviction, timeout=30] 
> Reproduced only on TC agent
> https://ci.ignite.apache.org/viewLog.html?buildId=1090347=buildResultsDiv=IgniteTests24Java8_IgnitePds1DirectIo#testNameId3144891032708936796



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7686) PDS Direct IO failure: IgnitePdsEvictionTest.testPageEviction

2018-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366021#comment-16366021
 ] 

ASF GitHub Bot commented on IGNITE-7686:


GitHub user dspavlov opened a pull request:

https://github.com/apache/ignite/pull/3532

IGNITE-7686: Fix of PDS Direct IO failure: IgnitePdsEvictionTest.test…

…PageEviction

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-7686

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/3532.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #3532


commit 0b4d44a0a4370ce80be14992906fc15fe7e5c4cb
Author: dpavlov 
Date:   2018-02-15T17:56:21Z

IGNITE-7686: Fix of PDS Direct IO failure: 
IgnitePdsEvictionTest.testPageEviction




> PDS Direct IO failure: IgnitePdsEvictionTest.testPageEviction 
> --
>
> Key: IGNITE-7686
> URL: https://issues.apache.org/jira/browse/IGNITE-7686
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Reporter: Dmitriy Pavlov
>Assignee: Dmitriy Pavlov
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> java.util.concurrent.TimeoutException: Test has been timed out 
> [test=testPageEviction, timeout=30] 
> Reproduced only on TC agent
> https://ci.ignite.apache.org/viewLog.html?buildId=1090347=buildResultsDiv=IgniteTests24Java8_IgnitePds1DirectIo#testNameId3144891032708936796



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7510) IgnitePdsClientNearCachePutGetTest fails flaky on TC

2018-02-15 Thread Dmitriy Pavlov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Pavlov updated IGNITE-7510:
---
Labels: MakeTeamcityGreenAgain  (was: )

> IgnitePdsClientNearCachePutGetTest fails flaky on TC
> 
>
> Key: IGNITE-7510
> URL: https://issues.apache.org/jira/browse/IGNITE-7510
> Project: Ignite
>  Issue Type: Test
>  Components: persistence
>Affects Versions: 2.4
> Environment: Muting this test until this ticket is fixed
>Reporter: Alexey Goncharuk
>Assignee: Alexey Goncharuk
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7531) SQL: Create data load benchmarks

2018-02-15 Thread Pavel Kuznetsov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16366006#comment-16366006
 ] 

Pavel Kuznetsov commented on IGNITE-7531:
-

Updated results on another machines 10M rows

batched 1000 : 260 sec
copy csv : 278 sec



> SQL: Create data load benchmarks
> 
>
> Key: IGNITE-7531
> URL: https://issues.apache.org/jira/browse/IGNITE-7531
> Project: Ignite
>  Issue Type: Task
>  Components: sql, yardstick
>Reporter: Vladimir Ozerov
>Assignee: Pavel Kuznetsov
>Priority: Major
> Fix For: 2.5
>
>
> We need to implement a set of data loading benchmarks to better understand 
> how fast Ignite is able to consume data. This task consists of two steps:
> 1) Extend Yardstick capabilities
> 2) Create set of benchmarks
> 1) Yardstick
> Data load benchmark should be executed in single-shot mode: only one 
> iteration, only total execution time is needed, start callback for setup and 
> warmup, stop callback for cleanup. 
> Currently Yardstick cannot do that, so we need to extend it. Possibly, we can 
> control this through new {{boolean BenchmarkDriver.isSingleShot()}} method.
> 2) Benchmarks 
> At first let's focus on thin JDBC driver. The following cases should be 
> executed:
> 2.1) Normal INSERT
> 2.2) Batched INSERT
> 2.3) Streaming INSERT (when IGNITE-7253 is ready)
> 2.4) P. 1-3 with and without dynamically disabled WAL (ALTER TABLE ... 
> NOLOGGING)
> 2.5) P. 1-3 with additional indexes - either created before data load on 
> empty table, or after load on table with data.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7685) Incorrect AllocationRate counting

2018-02-15 Thread Andrey Kuznetsov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Kuznetsov updated IGNITE-7685:
-
Description: 
Each call of 
{{org.apache.ignite.internal.processors.cache.persistence.DataRegionMetricsImpl#updateTotalAllocatedPages}}
 performs {{allocRate.onHit()}} call which is not correct since delta can be 
negative or bigger that 1.

Need to fix allocationRate counting. The fix should affect only "proper" 
allocations, as opposed to allocations made during recovery, storage 
initialization, etc. 

  was:
Each call of 
{{org.apache.ignite.internal.processors.cache.persistence.DataRegionMetricsImpl#updateTotalAllocatedPages}}
 performs {{allocRate.onHit()}} call which is not correct since delta can be 
negative or bigger that 1.

Need to fix allocationRate counting


> Incorrect AllocationRate counting
> -
>
> Key: IGNITE-7685
> URL: https://issues.apache.org/jira/browse/IGNITE-7685
> Project: Ignite
>  Issue Type: Task
>Affects Versions: 2.4
>Reporter: Anton Vinogradov
>Assignee: Andrey Kuznetsov
>Priority: Major
> Fix For: 2.5
>
>
> Each call of 
> {{org.apache.ignite.internal.processors.cache.persistence.DataRegionMetricsImpl#updateTotalAllocatedPages}}
>  performs {{allocRate.onHit()}} call which is not correct since delta can be 
> negative or bigger that 1.
> Need to fix allocationRate counting. The fix should affect only "proper" 
> allocations, as opposed to allocations made during recovery, storage 
> initialization, etc. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7685) Incorrect AllocationRate counting

2018-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365993#comment-16365993
 ] 

ASF GitHub Bot commented on IGNITE-7685:


GitHub user andrey-kuznetsov opened a pull request:

https://github.com/apache/ignite/pull/3531

IGNITE-7685: Fixed allocation rate.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/andrey-kuznetsov/ignite ignite-7685

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/3531.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #3531


commit 5c575b187ee2ac07dc34017a26ec37425306108c
Author: Andrey Kuznetsov 
Date:   2018-02-15T17:37:31Z

IGNITE-7685: Fixed allocation rate.




> Incorrect AllocationRate counting
> -
>
> Key: IGNITE-7685
> URL: https://issues.apache.org/jira/browse/IGNITE-7685
> Project: Ignite
>  Issue Type: Task
>Affects Versions: 2.4
>Reporter: Anton Vinogradov
>Assignee: Andrey Kuznetsov
>Priority: Major
> Fix For: 2.5
>
>
> Each call of 
> {{org.apache.ignite.internal.processors.cache.persistence.DataRegionMetricsImpl#updateTotalAllocatedPages}}
>  performs {{allocRate.onHit()}} call which is not correct since delta can be 
> negative or bigger that 1.
> Need to fix allocationRate counting



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7694) testActiveClientReconnectToInactiveCluster hangs because of an assertion

2018-02-15 Thread Ilya Lantukh (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365963#comment-16365963
 ] 

Ilya Lantukh commented on IGNITE-7694:
--

Looks good.

> testActiveClientReconnectToInactiveCluster hangs because of an assertion
> 
>
> Key: IGNITE-7694
> URL: https://issues.apache.org/jira/browse/IGNITE-7694
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Affects Versions: 2.5
>Reporter: Alexey Goncharuk
>Assignee: Alexey Goncharuk
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> This is a regression from
> The test hangs because there is an assertion happened after the client 
> reconnects to the cluster:
> {code}
> [2018-02-13 
> 19:36:33,559][ERROR][tcp-client-disco-msg-worker-#18%nodeClient%][TcpDiscoverySpi]
>  Failed to unmarshal discovery custom message.
> java.lang.AssertionError: lastAffVer=AffinityTopologyVersion [topVer=4, 
> minorTopVer=0], topVer=AffinityTopologyVersion [topVer=3, minorTopVer=1]
>   at 
> org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onDiscoveryEvent(CacheAffinitySharedManager.java:185)
>   at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.onDiscoveryEvent(GridCacheProcessor.java:3231)
>   at 
> org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$4.onDiscovery0(GridDiscoveryManager.java:681)
>   at 
> org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$4.onDiscovery(GridDiscoveryManager.java:576)
>   at 
> org.apache.ignite.spi.discovery.tcp.ClientImpl$MessageWorker.notifyDiscovery(ClientImpl.java:2414)
>   at 
> org.apache.ignite.spi.discovery.tcp.ClientImpl$MessageWorker.processCustomMessage(ClientImpl.java:2320)
>   at 
> org.apache.ignite.spi.discovery.tcp.ClientImpl$MessageWorker.processDiscoveryMessage(ClientImpl.java:1897)
>   at 
> org.apache.ignite.spi.discovery.tcp.ClientImpl$MessageWorker.body(ClientImpl.java:1781)
>   at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
> {code}
> The reason for the assertion is that the client does not clear {{lastAffVer}} 
> field when disconnected, and cluster is restarted when the client is in the 
> disconnected state.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (IGNITE-7483) Queries: transformers are not executed when paging the result

2018-02-15 Thread Vyacheslav Koptilin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin resolved IGNITE-7483.
-
   Resolution: Duplicate
Fix Version/s: 2.5

> Queries: transformers are not executed when paging the result
> -
>
> Key: IGNITE-7483
> URL: https://issues.apache.org/jira/browse/IGNITE-7483
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 2.3
>Reporter: Sascha Hofer
>Assignee: Vyacheslav Koptilin
>Priority: Major
> Fix For: 2.5
>
>
> It seems that transformers are not executed during pagination which leads to 
> {{ClassCastExceptions}} because the result list also contains instances of 
> {{GridCacheQueryResponseEntry}}.
> To reproduce open {{GridCacheQueryTransformerSelfTest.testGetKeys()}} and set 
> a page size of 1 so that
> {code:java}
> List keys = cache.query(new ScanQuery(), 
> transformer).getAll();
> {code}
> becomes to
> {code:java}
> List keys = cache.query(new ScanQuery String>().setPageSize(1), transformer).getAll();
> {code}
> this leads to following stack trace:
> {noformat}
> java.lang.ClassCastException: 
> org.apache.ignite.internal.processors.cache.query.GridCacheQueryResponseEntry 
> cannot be cast to java.lang.Comparable
>   at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:249)
>   at java.util.ComparableTimSort.sort(ComparableTimSort.java:207)
>   at java.util.Arrays.sort(Arrays.java:1312)
>   at java.util.Arrays.sort(Arrays.java:1506)
>   at java.util.ArrayList.sort(ArrayList.java:1454)
>   at java.util.Collections.sort(Collections.java:141)
>   at 
> org.apache.ignite.internal.processors.cache.query.GridCacheQueryTransformerSelfTest.testGetKeys(GridCacheQueryTransformerSelfTest.java:102)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2001)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:133)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1916)
>   at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-7483) Queries: transformers are not executed when paging the result

2018-02-15 Thread Vyacheslav Koptilin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin reassigned IGNITE-7483:
---

Assignee: Vyacheslav Koptilin

> Queries: transformers are not executed when paging the result
> -
>
> Key: IGNITE-7483
> URL: https://issues.apache.org/jira/browse/IGNITE-7483
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 2.3
>Reporter: Sascha Hofer
>Assignee: Vyacheslav Koptilin
>Priority: Major
>
> It seems that transformers are not executed during pagination which leads to 
> {{ClassCastExceptions}} because the result list also contains instances of 
> {{GridCacheQueryResponseEntry}}.
> To reproduce open {{GridCacheQueryTransformerSelfTest.testGetKeys()}} and set 
> a page size of 1 so that
> {code:java}
> List keys = cache.query(new ScanQuery(), 
> transformer).getAll();
> {code}
> becomes to
> {code:java}
> List keys = cache.query(new ScanQuery String>().setPageSize(1), transformer).getAll();
> {code}
> this leads to following stack trace:
> {noformat}
> java.lang.ClassCastException: 
> org.apache.ignite.internal.processors.cache.query.GridCacheQueryResponseEntry 
> cannot be cast to java.lang.Comparable
>   at java.util.ComparableTimSort.binarySort(ComparableTimSort.java:249)
>   at java.util.ComparableTimSort.sort(ComparableTimSort.java:207)
>   at java.util.Arrays.sort(Arrays.java:1312)
>   at java.util.Arrays.sort(Arrays.java:1506)
>   at java.util.ArrayList.sort(ArrayList.java:1454)
>   at java.util.Collections.sort(Collections.java:141)
>   at 
> org.apache.ignite.internal.processors.cache.query.GridCacheQueryTransformerSelfTest.testGetKeys(GridCacheQueryTransformerSelfTest.java:102)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2001)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:133)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1916)
>   at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (IGNITE-7649) transformer instance is not properly transfers into ScanQuery request.

2018-02-15 Thread Vyacheslav Koptilin (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365883#comment-16365883
 ] 

Vyacheslav Koptilin edited comment on IGNITE-7649 at 2/15/18 4:44 PM:
--

Hi [~zstan]
The proposed fix assumes the transformer is transferred via network every time 
when a new page is requested. It seems to me, this approach is not efficient.
I think that the transformer should be cached on the remote node, for example, 
within {{ScanIterator}}.
Please see details here: https://issues.apache.org/jira/browse/IGNITE-5804

So I will close this ticket as a duplicate.


was (Author: slava.koptilin):
Hi [~zstan]
The proposed fix assumes the transformer is transferred via network every time 
when a new page requested. It seems to me, this approach is not efficient.
I think that the transformer should be cached on the remote node, for example, 
within {{ScanIterator}}.
Please see details here: https://issues.apache.org/jira/browse/IGNITE-5804

So I will close this ticket as a duplicate.

> transformer instance is not properly transfers into ScanQuery request.
> --
>
> Key: IGNITE-7649
> URL: https://issues.apache.org/jira/browse/IGNITE-7649
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 2.3
>Reporter: Stanilovsky Evgeny
>Assignee: Stanilovsky Evgeny
>Priority: Major
> Fix For: 2.5
>
> Attachments: 222.png
>
>
> to reproduce this case we need some simple changes in existing test: 
> GridCacheQueryTransformerSelfTest#testKeepBinary
> change:
> {code:java}
> List res = binaryCache.query(new ScanQuery(), 
> transformer).getAll();{code}
> into:
> {code:java}
> List res = binaryCache.query(new ScanQuery BinaryObject>().setPageSize(2), transformer).getAll();{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7649) transformer instance is not properly transfers into ScanQuery request.

2018-02-15 Thread Vyacheslav Koptilin (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365883#comment-16365883
 ] 

Vyacheslav Koptilin commented on IGNITE-7649:
-

Hi [~zstan]
The proposed fix assumes the transformer is transferred via network every time 
when a new page requested. It seems to me, this approach is not efficient.
I think that the transformer should be cached on the remote node, for example, 
within {{ScanIterator}}.
Please see details here: https://issues.apache.org/jira/browse/IGNITE-5804

So I will close this ticket as a duplicate.

> transformer instance is not properly transfers into ScanQuery request.
> --
>
> Key: IGNITE-7649
> URL: https://issues.apache.org/jira/browse/IGNITE-7649
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 2.3
>Reporter: Stanilovsky Evgeny
>Assignee: Stanilovsky Evgeny
>Priority: Major
> Fix For: 2.5
>
> Attachments: 222.png
>
>
> to reproduce this case we need some simple changes in existing test: 
> GridCacheQueryTransformerSelfTest#testKeepBinary
> change:
> {code:java}
> List res = binaryCache.query(new ScanQuery(), 
> transformer).getAll();{code}
> into:
> {code:java}
> List res = binaryCache.query(new ScanQuery BinaryObject>().setPageSize(2), transformer).getAll();{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7722) IgnitePdsCheckpointSimulationWithRealCpDisabledTest generates too many strings

2018-02-15 Thread Alexey Goncharuk (JIRA)
Alexey Goncharuk created IGNITE-7722:


 Summary: IgnitePdsCheckpointSimulationWithRealCpDisabledTest 
generates too many strings
 Key: IGNITE-7722
 URL: https://issues.apache.org/jira/browse/IGNITE-7722
 Project: Ignite
  Issue Type: Improvement
Affects Versions: 2.4
Reporter: Alexey Goncharuk
Assignee: Alexey Goncharuk
 Fix For: 2.5






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7253) JDBC thin driver: introduce streaming mode

2018-02-15 Thread Alexander Paschenko (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365795#comment-16365795
 ] 

Alexander Paschenko commented on IGNITE-7253:
-

[~vozerov],

2, 3 - the only need for batch size in these cases is to keep track of number 
of fake counters that we remove. That is, if user has issued "addBatch" trice, 
we return that number of counters, each having value of zero. Just a weak 
attempt to create a visibility of JDBC compliance, nothing else.

> JDBC thin driver: introduce streaming mode
> --
>
> Key: IGNITE-7253
> URL: https://issues.apache.org/jira/browse/IGNITE-7253
> Project: Ignite
>  Issue Type: Task
>  Components: jdbc, sql
>Reporter: Vladimir Ozerov
>Assignee: Alexander Paschenko
>Priority: Major
> Fix For: 2.5
>
>
> Should be done after IGNITE-6022. We should allow optional streaming mode for 
> JDBC driver. In this mode only INSERTs without SELECT should be possible. All 
> other DML operations should throw an exception. 
> Design considerations:
> 1) Add command {{SET STREAMING=1|ON|0|OFF}} which will enable or disable 
> streaming for connection.
> 2) Add command {{STREAMER FLUSH}} which will force data flush.
> 3) Only INSERT without SELECT works, all other DML statements should throw an 
> exception
> 4) It should be possible to stream into several tables simultaneously (i.e. 
> several streamers could be opened)
> 5) Any DDL statement should force flush of all currently opened streamers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7192) JDBC: support FQDN to multiple IPs during connection establishment

2018-02-15 Thread Roman Guseinov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365782#comment-16365782
 ] 

Roman Guseinov commented on IGNITE-7192:


[~vozerov] , could you please review the PR 
([https://github.com/apache/ignite/pull/3439])?

Thanks.

> JDBC: support FQDN to multiple IPs during connection establishment
> --
>
> Key: IGNITE-7192
> URL: https://issues.apache.org/jira/browse/IGNITE-7192
> Project: Ignite
>  Issue Type: Improvement
>  Components: jdbc
>Affects Versions: 2.1
>Reporter: Alexey Popov
>Assignee: Roman Guseinov
>Priority: Major
>  Labels: pull-request-available
>
> Thin JDBC driver may have FQDN (host name) at a connection string.
> Currently, it resolves this FQDN to one IP and tries to connect to this IP 
> only.
> It is better to try to connect to multiple IPs one-by-one if DNS returns 
> multiple A-records (FQDN can be resolved to several IPs) until successful 
> connection. It could give a simple fallback option for the JDBC thin driver 
> users.
> A similar functionality is already implemented in ODBC driver.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-6843) SQL: optionally do not use WAL when executing CREATE INDEX

2018-02-15 Thread Kirill Shirokov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-6843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirill Shirokov reassigned IGNITE-6843:
---

Assignee: (was: Kirill Shirokov)

> SQL: optionally do not use WAL when executing CREATE INDEX
> --
>
> Key: IGNITE-6843
> URL: https://issues.apache.org/jira/browse/IGNITE-6843
> Project: Ignite
>  Issue Type: Task
>  Components: sql
>Affects Versions: 2.3
>Reporter: Vladimir Ozerov
>Priority: Major
>  Labels: iep-1, performance
>
> Inspired by Oracle {{NOLOGGING}} option [1].
> When an index is being created through {{CREATE INDEX}} command, every single 
> index update is written to WAL. Let's introduce special mode where updates 
> are not written to WAL:
> 1) Index updates during an index_create operation are not written to WAL
> 2) When the index is ready, force a checkpoint and wait for it to happen
> 3) Purge index data if node crashed before checkpoint
> Alternatively, we may even not trigger a checkpoint, hoping that that node 
> will not crash before the nearest checkpoint is finished. If node crashed 
> during this time window, the index should be marked as "invalid", and not 
> used for queries. Then the user should either re-create or rebuild it.
> [1] 
> https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5010.htm#i2182589



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-5948) DDL: UNIQUE constraint support for CREATE TABLE.

2018-02-15 Thread Kirill Shirokov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirill Shirokov reassigned IGNITE-5948:
---

Assignee: (was: Kirill Shirokov)

> DDL: UNIQUE constraint support for CREATE TABLE.
> 
>
> Key: IGNITE-5948
> URL: https://issues.apache.org/jira/browse/IGNITE-5948
> Project: Ignite
>  Issue Type: Task
>  Components: sql
>Reporter: Andrew Mashenkov
>Priority: Major
>
> This is an umbrella ticket intended to aggregate all the activities related 
> to {{UNIQUE}} constraint support for {{CREATE TABLE}} commands.
> {{CREATE TABLE Persons (PersonID int, Age int, Salary int, UNIQUE 
> (PersonID));}}
> Ignite must prevent setting PersonID to non-unique value.
> The feature has to be supported for:
> ODBC and JDBC drivers.
> Native APIs (Java, .NET, C++)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-3935) ClassLoaders are not switched during object deserialization

2018-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-3935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365699#comment-16365699
 ] 

ASF GitHub Bot commented on IGNITE-3935:


Github user 1vanan closed the pull request at:

https://github.com/apache/ignite/pull/2220


> ClassLoaders are not switched during object deserialization
> ---
>
> Key: IGNITE-3935
> URL: https://issues.apache.org/jira/browse/IGNITE-3935
> Project: Ignite
>  Issue Type: Bug
>  Components: binary
>Affects Versions: 1.6
>Reporter: Denis Magda
>Assignee: Denis Mekhanikov
>Priority: Major
> Fix For: 2.4
>
>
> If an object is being deserialized with ClassLoader A then this ClassLoader A 
> will be used for the deserialization of the whole object's state, i.e., 
> including all its fields that can be custom objects loaded by ClassLoader B. 
> In a basic scenario we can have an object of some Ignite class that is 
> presented in the classpath. That Ignite class may enclose an object that is 
> loaded by peer-class-loading class loader. The deserialization will fail 
> because Ignite won't switch to the peer-class-loading loader when it's needed.
> To reproduce the issue do the following:
> 1. Start a remote ignite node using {{./ignite.sh 
> ../examples/config/example-ignite.xml}}
> 2. Run the code below
> {code}
> public class StreamingExample {`
> public static class StreamingExampleCacheEntryProcessor implements 
> CacheEntryProcessor {
> @Override
> public Object process(MutableEntry e, Object... arg) throws 
> EntryProcessorException {
> Long val = e.getValue();
> e.setValue(val == null ? 1L : val + 1);
> return null;
> }
> }
> public static void main(String[] args) throws IgniteException, IOException {
> Ignition.setClientMode(true);
> try (Ignite ignite = 
> Ignition.start("examples/config/example-ignite.xml")) {
> IgniteCache stmCache = 
> ignite.getOrCreateCache("mycache");
> try (IgniteDataStreamer stmr = 
> ignite.dataStreamer(stmCache.getName())) {
> stmr.allowOverwrite(true);
> stmr.receiver(StreamTransformer.from(new 
> StreamingExampleCacheEntryProcessor()));
> stmr.addData("word", 1L);
> System.out.println("Finished");
> }
> }
> }
> {code}
> However if to modify this code to the following everything will work fine 
> {code}
> public class StreamingExample {
> public static class StreamingExampleCacheEntryProcessor extends 
> StreamTransformer {
> @Override
> public Object process(MutableEntry e, Object... arg) 
> throws EntryProcessorException {
> System.out.println("Executed!");
> Long val = e.getValue();
> e.setValue(val == null ? 1L : val + 1);
> return null;
> }
> }
> public static void main(String[] args) throws IgniteException, 
> IOException {
> Ignition.setClientMode(true);
> try (Ignite ignite = 
> Ignition.start("examples/config/example-ignite.xml")) {
> IgniteCache stmCache = 
> ignite.getOrCreateCache("mycache");
> try (IgniteDataStreamer stmr = 
> ignite.dataStreamer(stmCache.getName())) {
> stmr.allowOverwrite(true);
> stmr.receiver(new StreamingExampleCacheEntryProcessor());
> stmr.addData("word", 1L);
> System.out.println("Finished");
> }
> }
> }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7253) JDBC thin driver: introduce streaming mode

2018-02-15 Thread Vladimir Ozerov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365686#comment-16365686
 ] 

Vladimir Ozerov commented on IGNITE-7253:
-

[~al.psc], in general patch looks good. But the follow issues should be 
addressed before merge:

1) JdbcConnection, JdbcThinStatement, DmlStatementsProcessor: "Only tuple based 
INSERT statements are supported in streaming mode" - I would rewrite it as 
"Only INSERT statements without SELECT are supported in streaming mode.". Can 
we avoid duplication in these 3 places and simply throw an excpetion from 
"IgniteH2Indexing.isStreamableInsertStatement"?
2) JdbcThinStatement.batchSize - I do not think we need this variable. We 
cannot know precise update count when using streamer. Instead of giving user 
fake sense that he updated N records, why can't we jsut return zero?
3) JdbcRequestHandler.executeBatchedQuery - same thing, no need to maintain 
update counters, just return zero.
4) JdbcRequestHandler.executeQuery - incorrect error message ("only commands 
INSERT, SET, and FLUSH are supported")
5) Styling: please make sure that all exception messages end with dot.
6) {{IgniteH2Indexing#streamUpdateQuery}} - looks like this method is never 
used in current implementation and is safe to remove, since we always use 
batched code path (also consider removing 
{{GridQueryProcessor.streamUpdateQuery}})
6) Please confirm that we have enough tests for different cases:
- Same statements in batch (try both regular, prepared)
- Different statements in batch (regular, prepared, regular+prepared)
- Multi-statements (e.g. {{INSERT INTO ...; INSERT INTO ...}})
- Statements with and without column lists ({{INSERT INTO t (columns) VALUES 
(values)}}, {{INSERT INTO t VALUES (values}})  

> JDBC thin driver: introduce streaming mode
> --
>
> Key: IGNITE-7253
> URL: https://issues.apache.org/jira/browse/IGNITE-7253
> Project: Ignite
>  Issue Type: Task
>  Components: jdbc, sql
>Reporter: Vladimir Ozerov
>Assignee: Alexander Paschenko
>Priority: Major
> Fix For: 2.5
>
>
> Should be done after IGNITE-6022. We should allow optional streaming mode for 
> JDBC driver. In this mode only INSERTs without SELECT should be possible. All 
> other DML operations should throw an exception. 
> Design considerations:
> 1) Add command {{SET STREAMING=1|ON|0|OFF}} which will enable or disable 
> streaming for connection.
> 2) Add command {{STREAMER FLUSH}} which will force data flush.
> 3) Only INSERT without SELECT works, all other DML statements should throw an 
> exception
> 4) It should be possible to stream into several tables simultaneously (i.e. 
> several streamers could be opened)
> 5) Any DDL statement should force flush of all currently opened streamers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-5829) Writing entry contents to WAL only single time

2018-02-15 Thread Pavel Kovalenko (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-5829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365615#comment-16365615
 ] 

Pavel Kovalenko commented on IGNITE-5829:
-

Main part of work is done. Currently we're waiting for benchmark results vs 
master branch.

> Writing entry contents to WAL only single time
> --
>
> Key: IGNITE-5829
> URL: https://issues.apache.org/jira/browse/IGNITE-5829
> Project: Ignite
>  Issue Type: Improvement
>  Components: cache
>Affects Versions: 2.1
>Reporter: Pavel Kovalenko
>Assignee: Pavel Kovalenko
>Priority: Major
> Fix For: 2.5
>
>
> Currently we write entry contents 2 times: once in logical record and once 
> again when we write data page update records. We should do that only once. In 
> data page updates we can write only a reference to the logical update record 
> but not the whole entry contents.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7716) Red selftest in ML examples

2018-02-15 Thread Oleg Ignatenko (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365599#comment-16365599
 ] 

Oleg Ignatenko commented on IGNITE-7716:


Relevant excerpt from stack trace from TC log:
{noformat}
[2018-02-15 11:11:13,858][ERROR][main][root] Test failed.
java.awt.AWTError: Toolkit not found: sun.awt.HToolkit"
at java.awt.Toolkit$2.run(Toolkit.java:867)
at java.awt.Toolkit$2.run(Toolkit.java:855)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
at java.awt.Desktop.isDesktopSupported(Desktop.java:169)
at org.apache.ignite.ml.math.Tracer.isBrowseSupported(Tracer.java:363)
 {noformat}

Above suggests that *reason for failure is incorrect configuration of TC host*.

Specifically, the following is required for this test (and all other tests 
relying on public Java AWT API) run correctly in environment like one indicated 
by above stack trace:
# system properties need to be set as required eg 
[here|https://holistictendencies.wordpress.com/2011/10/13/truly-headless-awt-operation-on-macos-x/|"Truly
 headless AWT operation ..."]: {noformat}-Djava.awt.headless=true
-Dawt.toolkit=sun.awt.HToolkit{noformat}
# class referred in system property {{awt.toolkit}} (in example above it's 
{{sun.awt.HToolkit}}) must be present in JRE (for example on my machine this 
class can be found in {{rt.jar\sun\awt}})

[~vveider] - could you please check if involved TC host 
([publicagent06_9095|https://ci.ignite.apache.org/agentDetails.html?id=170=170=publicagent06_9095])
 is configured as explained above or maybe something is missing?

> Red selftest in ML examples
> ---
>
> Key: IGNITE-7716
> URL: https://issues.apache.org/jira/browse/IGNITE-7716
> Project: Ignite
>  Issue Type: Bug
>  Components: ml
>Reporter: Yury Babak
>Assignee: Yury Babak
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> https://ci.ignite.apache.org/project.html?tab=testDetails=IgniteTests24Java8=1447870893775475761



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-7716) Red selftest in ML examples

2018-02-15 Thread Oleg Ignatenko (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Ignatenko reassigned IGNITE-7716:
--

Assignee: Oleg Ignatenko  (was: Yury Babak)

> Red selftest in ML examples
> ---
>
> Key: IGNITE-7716
> URL: https://issues.apache.org/jira/browse/IGNITE-7716
> Project: Ignite
>  Issue Type: Bug
>  Components: ml
>Reporter: Yury Babak
>Assignee: Oleg Ignatenko
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> https://ci.ignite.apache.org/project.html?tab=testDetails=IgniteTests24Java8=1447870893775475761



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-7716) Red selftest in ML examples

2018-02-15 Thread Oleg Ignatenko (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Ignatenko reassigned IGNITE-7716:
--

Assignee: Peter Ivanov  (was: Oleg Ignatenko)

> Red selftest in ML examples
> ---
>
> Key: IGNITE-7716
> URL: https://issues.apache.org/jira/browse/IGNITE-7716
> Project: Ignite
>  Issue Type: Bug
>  Components: ml
>Reporter: Yury Babak
>Assignee: Peter Ivanov
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> https://ci.ignite.apache.org/project.html?tab=testDetails=IgniteTests24Java8=1447870893775475761



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (IGNITE-7681) SQL COPY: local performance fixes

2018-02-15 Thread Kirill Shirokov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365490#comment-16365490
 ] 

Kirill Shirokov edited comment on IGNITE-7681 at 2/15/18 1:17 PM:
--

NOTE: Attached:
1. A diff with a local performance test
2. A diff with bulk load Cache.putAll() processor (instead of streamer, which 
is currently in place)

The fix has improved local performance from 7.5us to 3us per line on 1M-records 
10-field 10-character-per-field CSV file.


was (Author: kirill.shirokov):
NOTE: Attached:
1. A diff with a local performance test
2. A diff with bulk load Cache.putAll() processor (instead of streamer, which 
is currently in place)

> SQL COPY: local performance fixes
> -
>
> Key: IGNITE-7681
> URL: https://issues.apache.org/jira/browse/IGNITE-7681
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Affects Versions: 2.4, 2.5
>Reporter: Kirill Shirokov
>Assignee: Kirill Shirokov
>Priority: Major
> Attachments: ignite-7681-cache-putall-processor.diff, 
> ignite-7681-perf-test.diff
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7681) SQL COPY: local performance fixes

2018-02-15 Thread Kirill Shirokov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirill Shirokov updated IGNITE-7681:

Summary: SQL COPY: local performance fixes  (was: SQL COPY: measure and fix 
performance if needed)

> SQL COPY: local performance fixes
> -
>
> Key: IGNITE-7681
> URL: https://issues.apache.org/jira/browse/IGNITE-7681
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Affects Versions: 2.4, 2.5
>Reporter: Kirill Shirokov
>Assignee: Kirill Shirokov
>Priority: Major
> Attachments: ignite-7681-cache-putall-processor.diff, 
> ignite-7681-perf-test.diff
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (IGNITE-7681) SQL COPY: measure and fix performance if needed

2018-02-15 Thread Kirill Shirokov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365490#comment-16365490
 ] 

Kirill Shirokov edited comment on IGNITE-7681 at 2/15/18 1:12 PM:
--

NOTE: Attached:
1. A diff with a local performance test
2. A diff with bulk load Cache.putAll() processor (instead of streamer, which 
is currently in place)


was (Author: kirill.shirokov):
NOTE:
Attached a diff with a performance test I created.

> SQL COPY: measure and fix performance if needed
> ---
>
> Key: IGNITE-7681
> URL: https://issues.apache.org/jira/browse/IGNITE-7681
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Affects Versions: 2.4, 2.5
>Reporter: Kirill Shirokov
>Assignee: Kirill Shirokov
>Priority: Major
> Attachments: ignite-7681-cache-putall-processor.diff, 
> ignite-7681-perf-test.diff
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7681) SQL COPY: measure and fix performance if needed

2018-02-15 Thread Kirill Shirokov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirill Shirokov updated IGNITE-7681:

Attachment: ignite-7681-cache-putall-processor.diff

> SQL COPY: measure and fix performance if needed
> ---
>
> Key: IGNITE-7681
> URL: https://issues.apache.org/jira/browse/IGNITE-7681
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Affects Versions: 2.4, 2.5
>Reporter: Kirill Shirokov
>Assignee: Kirill Shirokov
>Priority: Major
> Attachments: ignite-7681-cache-putall-processor.diff, 
> ignite-7681-perf-test.diff
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7721) Apache Ignite web session clustering stack after login success

2018-02-15 Thread Sanjeet Jha (JIRA)
Sanjeet Jha created IGNITE-7721:
---

 Summary: Apache Ignite web session clustering stack after login 
success
 Key: IGNITE-7721
 URL: https://issues.apache.org/jira/browse/IGNITE-7721
 Project: Ignite
  Issue Type: Bug
  Components: cache, websession
Affects Versions: 2.3
Reporter: Sanjeet Jha


I implement Apache ignite in my OfBiz application. after login my application 
show login susses. but the browser does not get any response from the server.

Here is my web.xml

 

{{ IgniteConfigurationFilePath 
specialpurpose/fnp/webapp/fnp/WEB-INF/ignite-config.xml 

IgniteWebSessionsCacheName 
replicated   
org.apache.ignite.startup.servlet.ServletContextListenerStartup 
   
IgniteWebSessionsFilter 
org.apache.ignite.cache.websession.WebSessionFilter 
   
 IgniteWebSessionsFilter 
/* }}

 

 

 

{{and my ignite-config.xml}}

 

 

{{http://www.springframework.org/schema/beans; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xmlns:util="http://www.springframework.org/schema/util; xsi:schemaLocation=" 
http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd 
http://www.springframework.org/schema/util 
http://www.springframework.org/schema/util/spring-util.xsd;>  

 
   
   
 
 
 
 
 
   
 
 
 
127.0.0.1:47500  
  }}{{}}

 

 

 

I also try to collected ignite log. but there is no error log. Any idea what 
happens.

And also some time I OutOfMemoryError error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7632) NPE in IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.updateIgfsMetrics()

2018-02-15 Thread Pavel Vinokurov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Vinokurov updated IGNITE-7632:

Fix Version/s: (was: 2.5)
   2.4

> NPE in IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.updateIgfsMetrics()
> ---
>
> Key: IGNITE-7632
> URL: https://issues.apache.org/jira/browse/IGNITE-7632
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 2.3
>Reporter: Alexandr Kuramshin
>Assignee: Pavel Vinokurov
>Priority: Major
> Fix For: 2.4
>
>
> Occurs on destroying cache while rebuilding indices in progress
> {noformat}
> Partition eviction failed, this can cause grid hang.
> java.lang.NullPointerException: null
>   at 
> org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.updateIgfsMetrics(IgniteCacheOffheapManagerImpl.java:1576)
>   at 
> org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.finishRemove(IgniteCacheOffheapManagerImpl.java:1403)
>   at 
> org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.remove(IgniteCacheOffheapManagerImpl.java:1368)
>   at 
> org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.remove(GridCacheOffheapManager.java:1312)
>   at 
> org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.remove(IgniteCacheOffheapManagerImpl.java:368)
>   at 
> org.apache.ignite.internal.processors.cache.GridCacheMapEntry.removeValue(GridCacheMapEntry.java:3224)
>   at 
> org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheEntry.clearInternal(GridDhtCacheEntry.java:588)
>   at 
> org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.clearAll(GridDhtLocalPartition.java:895)
>   at 
> org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.tryEvict(GridDhtLocalPartition.java:753)
>   at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPreloader$3.call(GridDhtPreloader.java:593)
>   at 
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPreloader$3.call(GridDhtPreloader.java:580)
>   at 
> org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6639)
>   at 
> org.apache.ignite.internal.processors.closure.GridClosureProcessor$2.body(GridClosureProcessor.java:967)
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7398) InstanceNotFoundException appears in the log when a cache is closed and MBeans are disabled

2018-02-15 Thread Pavel Vinokurov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Vinokurov updated IGNITE-7398:

Fix Version/s: (was: 2.5)
   2.4

> InstanceNotFoundException appears in the log when a cache is closed and 
> MBeans are disabled
> ---
>
> Key: IGNITE-7398
> URL: https://issues.apache.org/jira/browse/IGNITE-7398
> Project: Ignite
>  Issue Type: Bug
>Affects Versions: 2.4
>Reporter: Stanislav Lukyanov
>Assignee: Pavel Vinokurov
>Priority: Minor
> Fix For: 2.4
>
>
> If IGNITE_MBEANS_DISABLED is set to true, whenever a cache is started the 
> following error is logged:
> javax.management.InstanceNotFoundException: 
> org.apache:clsLdr=18b4aac2,igniteInstanceName=mbeans.GridMBeanDisableSelfTest0,group=Cache
>  groups,name=MyCache
>   at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)
>   at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:427)
>   at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:415)
>   at 
> com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:546)
>   at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.cleanup(GridCacheProcessor.java:606)
>   at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCacheGroup(GridCacheProcessor.java:2264)
>   at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCacheGroup(GridCacheProcessor.java:2253)
>   at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCaches(GridCacheProcessor.java:907)
>   at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.stop(GridCacheProcessor.java:872)
>   at org.apache.ignite.internal.IgniteKernal.stop0(IgniteKernal.java:2316)
>   at org.apache.ignite.internal.IgniteKernal.stop(IgniteKernal.java:2182)
>   at 
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop0(IgnitionEx.java:2512)
>   at 
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop(IgnitionEx.java:2475)
>   at org.apache.ignite.internal.IgnitionEx.stop(IgnitionEx.java:362)
>   at org.apache.ignite.Ignition.stop(Ignition.java:224)
>   at org.apache.ignite.internal.IgniteKernal.close(IgniteKernal.java:3509)
>   at 
> org.apache.ignite.util.mbeans.GridMBeanDisableSelfTest.testCorrectMBeanInfo(GridMBeanDisableSelfTest.java:101)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2001)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:133)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1916)
>   at java.lang.Thread.run(Thread.java:748)
> That's because GridCacheProcessor::cleanup unconditionally attempts to 
> unregister cache's MBean, not checking whether or not the cache actually has 
> an MBean registered for it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7263) Daemon-mode Ignite node should not open client port (10800)

2018-02-15 Thread Pavel Vinokurov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Vinokurov updated IGNITE-7263:

Fix Version/s: (was: 2.5)
   2.4

> Daemon-mode Ignite node should not open client port (10800)
> --
>
> Key: IGNITE-7263
> URL: https://issues.apache.org/jira/browse/IGNITE-7263
> Project: Ignite
>  Issue Type: Bug
>  Components: visor
>Affects Versions: 2.1
>Reporter: Alexey Popov
>Assignee: Pavel Vinokurov
>Priority: Minor
>  Labels: core
> Fix For: 2.4
>
>
> When I run a Visor console with default configuration file it opens a default 
> port (10800) for ODBC driver connection (and for thin JDBC, and for new 
> "thin" client).
> Then I run several Ignite nodes.
> So after that, the ODBC driver with default settings goes directly to a Visor 
> (daemon-mode Ignite) and does not able to get any data (daemon-mode Ignite 
> does not keep any data)
> It is better to avoid such situation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7681) SQL COPY: measure and fix performance if needed

2018-02-15 Thread Kirill Shirokov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365490#comment-16365490
 ] 

Kirill Shirokov commented on IGNITE-7681:
-

NOTE:
Attached a diff with a performance test I created.

> SQL COPY: measure and fix performance if needed
> ---
>
> Key: IGNITE-7681
> URL: https://issues.apache.org/jira/browse/IGNITE-7681
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Affects Versions: 2.4, 2.5
>Reporter: Kirill Shirokov
>Assignee: Kirill Shirokov
>Priority: Major
> Attachments: ignite-7681-perf-test.diff
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7681) SQL COPY: measure and fix performance if needed

2018-02-15 Thread Kirill Shirokov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirill Shirokov updated IGNITE-7681:

Attachment: ignite-7681-perf-test.diff

> SQL COPY: measure and fix performance if needed
> ---
>
> Key: IGNITE-7681
> URL: https://issues.apache.org/jira/browse/IGNITE-7681
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Affects Versions: 2.4, 2.5
>Reporter: Kirill Shirokov
>Assignee: Kirill Shirokov
>Priority: Major
> Attachments: ignite-7681-perf-test.diff
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7720) Update ODBC cluster configuration: replace OdbcConfiguration with ClientConnectorConfiguration

2018-02-15 Thread Alexey Popov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Popov updated IGNITE-7720:
-
Description: 
https://apacheignite-sql.readme.io/docs/odbc-driver#section-cluster-configuration

Please note that ODBC configuration is depricated. It is better to update this 
page with 
ClientConnectorConfiguration

BTW, https://apacheignite-sql.readme.io/docs/jdbc-driver is already updated )

{quote}
/**
 * ODBC configuration.
 * 
 * Deprecated as of Apache Ignite 2.1. Please use {@link 
ClientConnectorConfiguration} and
 * {@link 
IgniteConfiguration#setClientConnectorConfiguration(ClientConnectorConfiguration)}
 instead.
 */
@Deprecated
public class OdbcConfiguration {
{quote}

  was:
https://apacheignite-sql.readme.io/docs/odbc-driver#section-cluster-configuration

Please note that ODBC configuration is depricated. It is better to update this 
page with 
ClientConnectorConfiguration

BTW, https://apacheignite-sql.readme.io/docs/jdbc-driver is already updated )

/**
 * ODBC configuration.
 * 
 * Deprecated as of Apache Ignite 2.1. Please use {@link 
ClientConnectorConfiguration} and
 * {@link 
IgniteConfiguration#setClientConnectorConfiguration(ClientConnectorConfiguration)}
 instead.
 */
@Deprecated
public class OdbcConfiguration {



> Update ODBC cluster configuration: replace OdbcConfiguration with 
> ClientConnectorConfiguration
> --
>
> Key: IGNITE-7720
> URL: https://issues.apache.org/jira/browse/IGNITE-7720
> Project: Ignite
>  Issue Type: Task
>  Components: documentation
>Affects Versions: 2.3
>Reporter: Alexey Popov
>Priority: Major
>
> https://apacheignite-sql.readme.io/docs/odbc-driver#section-cluster-configuration
> Please note that ODBC configuration is depricated. It is better to update 
> this page with 
> ClientConnectorConfiguration
> BTW, https://apacheignite-sql.readme.io/docs/jdbc-driver is already updated )
> {quote}
> /**
>  * ODBC configuration.
>  * 
>  * Deprecated as of Apache Ignite 2.1. Please use {@link 
> ClientConnectorConfiguration} and
>  * {@link 
> IgniteConfiguration#setClientConnectorConfiguration(ClientConnectorConfiguration)}
>  instead.
>  */
> @Deprecated
> public class OdbcConfiguration {
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7720) Update ODBC cluster configuration: replace OdbcConfiguration with ClientConnectorConfiguration

2018-02-15 Thread Alexey Popov (JIRA)
Alexey Popov created IGNITE-7720:


 Summary: Update ODBC cluster configuration: replace 
OdbcConfiguration with ClientConnectorConfiguration
 Key: IGNITE-7720
 URL: https://issues.apache.org/jira/browse/IGNITE-7720
 Project: Ignite
  Issue Type: Task
  Components: documentation
Affects Versions: 2.3
Reporter: Alexey Popov


https://apacheignite-sql.readme.io/docs/odbc-driver#section-cluster-configuration

Please note that ODBC configuration is depricated. It is better to update this 
page with 
ClientConnectorConfiguration

BTW, https://apacheignite-sql.readme.io/docs/jdbc-driver is already updated )

/**
 * ODBC configuration.
 * 
 * Deprecated as of Apache Ignite 2.1. Please use {@link 
ClientConnectorConfiguration} and
 * {@link 
IgniteConfiguration#setClientConnectorConfiguration(ClientConnectorConfiguration)}
 instead.
 */
@Deprecated
public class OdbcConfiguration {




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7719) Avoid wrapping InterruptedException in CacheException or IgniteException

2018-02-15 Thread Ilya Kasnacheev (JIRA)
Ilya Kasnacheev created IGNITE-7719:
---

 Summary: Avoid wrapping InterruptedException in CacheException or 
IgniteException
 Key: IGNITE-7719
 URL: https://issues.apache.org/jira/browse/IGNITE-7719
 Project: Ignite
  Issue Type: Task
Affects Versions: 2.5
Reporter: Ilya Kasnacheev


It is a pity to see stack traces like this:
{code:java}
javax.cache.CacheException: Failed to run reduce query locally.
    at 
org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:839)
 ~[ignite-indexing-2.1.10.jar:2.1.10]
...
Caused by: org.apache.ignite.internal.IgniteInterruptedCheckedException
    at org.apache.ignite.internal.util.IgniteUtils.await(IgniteUtils.java:7463) 
~[ignite-core-2.1.10.jar:2.1.10]
    ... 7 more
Caused by: java.lang.InterruptedException
    at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1326)
 ~[?:1.8.0_92]
    ... 7 more{code}

Here we leave almost zero chance to end-user of the code to properly handle 
InterruptedException, short of digging into CacheException's causes.

When people use this code in while (true) try{}catch(){log} loop they will get 
horrible problems here when interruption happens, as in clobbering their whole 
log with exceptions. This isn't acceptable.

What should be done:

- Make sure we never wrap random IgniteCheckedException into IgniteException or 
CacheException (because it might be IgniteInterruptedCheckedException). Use 
some method that does proper checking on exception type, throwing something 
appropriate.
IMO it's much better to throw unexpected IgniteInterruptedException than a 
generic one.
- If needed, declare on all affected methods that they may throw 
IgniteInterruptedException.
- Have a check in CacheException's constructor to re-throw 
IgniteInterruptedException if it is passed as an argument. Ditto for 
IgniteException. They should never be wrapped.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7042) Test written in scala doesn't executed on TC

2018-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365465#comment-16365465
 ] 

ASF GitHub Bot commented on IGNITE-7042:


GitHub user nizhikov opened a pull request:

https://github.com/apache/ignite/pull/3530

IGNITE-7042: Trying to configure scala-test plugin for a TeamCity



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/nizhikov/ignite IGNITE-7042

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/3530.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #3530


commit 7d4cdd920f3c67142450850e9570d574d4ff2529
Author: Nikolay Izhikov 
Date:   2018-02-15T12:23:57Z

IGNITE-7042: Trying to configure scala-test plugin for a TeamCity




> Test written in scala doesn't executed on TC 
> -
>
> Key: IGNITE-7042
> URL: https://issues.apache.org/jira/browse/IGNITE-7042
> Project: Ignite
>  Issue Type: Bug
>  Components: spark
>Affects Versions: 2.3
>Reporter: Nikolay Izhikov
>Assignee: Nikolay Izhikov
>Priority: Minor
> Fix For: 2.5
>
>
> Tests from module `spark` and `spark_2.10` written in scala don't executes on 
> TC.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7386) Get rid of LongAdder8, ConcurrentHashMap8, etc

2018-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365451#comment-16365451
 ] 

ASF GitHub Bot commented on IGNITE-7386:


Github user andrey-kuznetsov closed the pull request at:

https://github.com/apache/ignite/pull/3377


> Get rid of LongAdder8, ConcurrentHashMap8, etc
> --
>
> Key: IGNITE-7386
> URL: https://issues.apache.org/jira/browse/IGNITE-7386
> Project: Ignite
>  Issue Type: Task
>Reporter: Anton Vinogradov
>Assignee: Andrey Kuznetsov
>Priority: Major
> Fix For: 2.5
>
>
> |Since we're dropping java7 support there is no need now to use 
> \{{LongAdder8}}, \{{ConcurrentHashMap8}}, ... 
>  
> We should remove all classes from \{{org.jsr166}} namespace and use 
> corresponding classes from jdk8.|



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-5804) ScanQuery transformer applies to first results page only.

2018-02-15 Thread Alexey Goncharuk (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-5804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365442#comment-16365442
 ] 

Alexey Goncharuk commented on IGNITE-5804:
--

Thanks, merged to master.

> ScanQuery transformer applies to first results page only.
> -
>
> Key: IGNITE-5804
> URL: https://issues.apache.org/jira/browse/IGNITE-5804
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 1.9
>Reporter: Andrew Mashenkov
>Assignee: Vyacheslav Koptilin
>Priority: Major
> Fix For: 2.5
>
>
> Issue is successfully reproduces on GridCacheQueryTransformerSelfTest if 
> set ScanQuery.pageSize much lower then cache size.
> We should rework GridCacheQueryTransformerSelfTest to run test on larger 
> dataset 
> to make pagination used as well.
> http://apache-ignite-users.70518.x6.nabble.com/Transformer-not-called-on-every-ScanQuery-td15171.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-6711) DataRegionMetrics#totalAllocatedPages is not valid after node restart

2018-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-6711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365443#comment-16365443
 ] 

ASF GitHub Bot commented on IGNITE-6711:


Github user andrey-kuznetsov closed the pull request at:

https://github.com/apache/ignite/pull/3165


> DataRegionMetrics#totalAllocatedPages is not valid after node restart
> -
>
> Key: IGNITE-6711
> URL: https://issues.apache.org/jira/browse/IGNITE-6711
> Project: Ignite
>  Issue Type: Bug
>  Components: general
>Affects Versions: 2.2
>Reporter: Alexey Goncharuk
>Assignee: Anton Vinogradov
>Priority: Major
>  Labels: iep-6, newbie
> Fix For: 2.4
>
>
> Currently, data region metric tracks total allocated pages by a callback on 
> page allocation. However, when a node with enabled persistence is started, 
> some of the pages are already allocated, which leads to an incorrect metric 
> value.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7718) Collections.singleton() and Collections.singletonMap() are not properly serialized by binary marshaller

2018-02-15 Thread Pavel Vinokurov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Vinokurov updated IGNITE-7718:

Description: After desialization collections obtained by 
Collections.singleton() and  Collections.singletonMap() does not return 
collection of binary objects, but rather collection of deserialized objects.   
(was: After desialization collections obtained by Collections.singleton() and  
Collections.singletonMap() does not return collection of binary objects, but 
rather collection of deserialized objects.)

> Collections.singleton() and Collections.singletonMap() are not properly 
> serialized by binary marshaller
> ---
>
> Key: IGNITE-7718
> URL: https://issues.apache.org/jira/browse/IGNITE-7718
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 2.3
>Reporter: Pavel Vinokurov
>Assignee: Pavel Vinokurov
>Priority: Major
>
> After desialization collections obtained by Collections.singleton() and  
> Collections.singletonMap() does not return collection of binary objects, but 
> rather collection of deserialized objects. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-6736) Java 9: rework GridCacheMapEntry synchronization logic to avoid Unsafe.monitor* methods

2018-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-6736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365441#comment-16365441
 ] 

ASF GitHub Bot commented on IGNITE-6736:


Github user andrey-kuznetsov closed the pull request at:

https://github.com/apache/ignite/pull/3248


> Java 9: rework GridCacheMapEntry synchronization logic to avoid 
> Unsafe.monitor* methods
> ---
>
> Key: IGNITE-6736
> URL: https://issues.apache.org/jira/browse/IGNITE-6736
> Project: Ignite
>  Issue Type: Task
>  Components: cache
>Reporter: Vladimir Ozerov
>Assignee: Andrey Kuznetsov
>Priority: Major
> Fix For: 2.4
>
>
> {{GridCacheMapEntry}} class rely on {{synchronized}} on itself heavily. In 
> {{ATOMIC}} caches we lock multiple entries at once using 
> {{Unsafe.monitorEnter/Exit}} methods. Unfortunately these methods were 
> removed in Java 9. Recursion is not an option, as it would cause stack 
> overflow for {{putAll}} operations with multiple entries.
> Possible fixes:
> 1) Rework {{synchronized}} to {{ReentrantLock}}. Easy, but may cause 
> additional memory pressure.
> 2) Have different implementations for Java 8 ({{synchronzied}}) and Java 9 
> ({{ReentrantLock}}) - much more complex solution, because we will require 
> separate module for Java 8 and Java 9.
> 3) Rework {{ATOMIC}} caches, so that {{putAll}} operation updates entries 
> one-by-one. As a side effect it will eliminate deadlocks.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7718) Collections.singleton() and Collections.singletonMap() are not properly serialized by binary marshaller

2018-02-15 Thread Pavel Vinokurov (JIRA)
Pavel Vinokurov created IGNITE-7718:
---

 Summary: Collections.singleton() and Collections.singletonMap() 
are not properly serialized by binary marshaller
 Key: IGNITE-7718
 URL: https://issues.apache.org/jira/browse/IGNITE-7718
 Project: Ignite
  Issue Type: Bug
  Components: cache
Affects Versions: 2.3
Reporter: Pavel Vinokurov
Assignee: Pavel Vinokurov


 

 

After desialization collections obtained by Collections.singleton() and  
Collections.singletonMap() does not return collection of binary objects, but 
rather collection of deserialized objects.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7718) Collections.singleton() and Collections.singletonMap() are not properly serialized by binary marshaller

2018-02-15 Thread Pavel Vinokurov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Vinokurov updated IGNITE-7718:

Description: After desialization collections obtained by 
Collections.singleton() and  Collections.singletonMap() does not return 
collection of binary objects, but rather collection of deserialized objects.  
(was:  

 

After desialization collections obtained by Collections.singleton() and  
Collections.singletonMap() does not return collection of binary objects, but 
rather collection of deserialized objects.)

> Collections.singleton() and Collections.singletonMap() are not properly 
> serialized by binary marshaller
> ---
>
> Key: IGNITE-7718
> URL: https://issues.apache.org/jira/browse/IGNITE-7718
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 2.3
>Reporter: Pavel Vinokurov
>Assignee: Pavel Vinokurov
>Priority: Major
>
> After desialization collections obtained by Collections.singleton() and  
> Collections.singletonMap() does not return collection of binary objects, but 
> rather collection of deserialized objects.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7312) Make use of plain java.util.Base64 instead of reflective alternatives

2018-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365440#comment-16365440
 ] 

ASF GitHub Bot commented on IGNITE-7312:


Github user andrey-kuznetsov closed the pull request at:

https://github.com/apache/ignite/pull/3302


> Make use of plain java.util.Base64 instead of reflective alternatives
> -
>
> Key: IGNITE-7312
> URL: https://issues.apache.org/jira/browse/IGNITE-7312
> Project: Ignite
>  Issue Type: Task
>  Components: general
>Reporter: Andrey Kuznetsov
>Assignee: Andrey Kuznetsov
>Priority: Major
> Fix For: 2.5
>
>
> Reflective Base64 encoding should be changed to {{java.util.Base64$Encoder}} 
> as soon as language level becomes equal to 8.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (IGNITE-7648) Revert IGNITE_ENABLE_FORCIBLE_NODE_KILL system property.

2018-02-15 Thread Alexei Scherbakov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365433#comment-16365433
 ] 

Alexei Scherbakov edited comment on IGNITE-7648 at 2/15/18 11:52 AM:
-

Property is removed, added addititnal waits and retries if connection to socket 
was unsuccessful by some other reason than timeout. Code in communication is 
slightly cleaned up.

TC result, looks acceptable

https://ci.ignite.apache.org/viewLog.html?buildId=1094577


was (Author: ascherbakov):
Property is removed, added addititnal waits and retrys if connection to socket 
was unsuccessful by some other reason than timeout. Code in communication is 
slightly cleaned up.

TC result, looks acceptable

https://ci.ignite.apache.org/viewLog.html?buildId=1094577

> Revert IGNITE_ENABLE_FORCIBLE_NODE_KILL system property.
> 
>
> Key: IGNITE-7648
> URL: https://issues.apache.org/jira/browse/IGNITE-7648
> Project: Ignite
>  Issue Type: Improvement
>Affects Versions: 2.3
>Reporter: Alexei Scherbakov
>Assignee: Alexei Scherbakov
>Priority: Major
> Fix For: 2.5
>
>
> IGNITE_ENABLE_FORCIBLE_NODE_KILL system property was introduced in 
> IGNITE-5718 as a way to prevent unnecessary node drops in case of short 
> network problems.
> I suppose it's wrong decision to fix it in such way.
> We had faced some issues in our production due to lack of automatic kicking 
> of ill-behaving nodes (on example, hanging due to long GC pauses) until we 
> realised the necessity of changing default behavior via property.
> Right solution is to kick nodes only if failure threshold is reached. Such 
> behavior should be always enabled.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7263) Daemon-mode Ignite node should not open client port (10800)

2018-02-15 Thread Pavel Vinokurov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Vinokurov updated IGNITE-7263:

Fix Version/s: 2.5

> Daemon-mode Ignite node should not open client port (10800)
> --
>
> Key: IGNITE-7263
> URL: https://issues.apache.org/jira/browse/IGNITE-7263
> Project: Ignite
>  Issue Type: Bug
>  Components: visor
>Affects Versions: 2.1
>Reporter: Alexey Popov
>Assignee: Pavel Vinokurov
>Priority: Minor
>  Labels: core
> Fix For: 2.5
>
>
> When I run a Visor console with default configuration file it opens a default 
> port (10800) for ODBC driver connection (and for thin JDBC, and for new 
> "thin" client).
> Then I run several Ignite nodes.
> So after that, the ODBC driver with default settings goes directly to a Visor 
> (daemon-mode Ignite) and does not able to get any data (daemon-mode Ignite 
> does not keep any data)
> It is better to avoid such situation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7398) InstanceNotFoundException appears in the log when a cache is closed and MBeans are disabled

2018-02-15 Thread Pavel Vinokurov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Vinokurov updated IGNITE-7398:

Fix Version/s: 2.5

> InstanceNotFoundException appears in the log when a cache is closed and 
> MBeans are disabled
> ---
>
> Key: IGNITE-7398
> URL: https://issues.apache.org/jira/browse/IGNITE-7398
> Project: Ignite
>  Issue Type: Bug
>Affects Versions: 2.4
>Reporter: Stanislav Lukyanov
>Assignee: Pavel Vinokurov
>Priority: Minor
> Fix For: 2.5
>
>
> If IGNITE_MBEANS_DISABLED is set to true, whenever a cache is started the 
> following error is logged:
> javax.management.InstanceNotFoundException: 
> org.apache:clsLdr=18b4aac2,igniteInstanceName=mbeans.GridMBeanDisableSelfTest0,group=Cache
>  groups,name=MyCache
>   at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)
>   at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:427)
>   at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:415)
>   at 
> com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:546)
>   at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.cleanup(GridCacheProcessor.java:606)
>   at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCacheGroup(GridCacheProcessor.java:2264)
>   at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCacheGroup(GridCacheProcessor.java:2253)
>   at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCaches(GridCacheProcessor.java:907)
>   at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.stop(GridCacheProcessor.java:872)
>   at org.apache.ignite.internal.IgniteKernal.stop0(IgniteKernal.java:2316)
>   at org.apache.ignite.internal.IgniteKernal.stop(IgniteKernal.java:2182)
>   at 
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop0(IgnitionEx.java:2512)
>   at 
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop(IgnitionEx.java:2475)
>   at org.apache.ignite.internal.IgnitionEx.stop(IgnitionEx.java:362)
>   at org.apache.ignite.Ignition.stop(Ignition.java:224)
>   at org.apache.ignite.internal.IgniteKernal.close(IgniteKernal.java:3509)
>   at 
> org.apache.ignite.util.mbeans.GridMBeanDisableSelfTest.testCorrectMBeanInfo(GridMBeanDisableSelfTest.java:101)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2001)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:133)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1916)
>   at java.lang.Thread.run(Thread.java:748)
> That's because GridCacheProcessor::cleanup unconditionally attempts to 
> unregister cache's MBean, not checking whether or not the cache actually has 
> an MBean registered for it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (IGNITE-7648) Revert IGNITE_ENABLE_FORCIBLE_NODE_KILL system property.

2018-02-15 Thread Alexei Scherbakov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365433#comment-16365433
 ] 

Alexei Scherbakov edited comment on IGNITE-7648 at 2/15/18 11:51 AM:
-

Property is removed, added addititnal waits and retrys if connection to socket 
was unsuccessful by some other reason than timeout. Code in communication is 
slightly cleaned up.

TC result, looks acceptable

https://ci.ignite.apache.org/viewLog.html?buildId=1094577


was (Author: ascherbakov):
TC result, looks acceptable

https://ci.ignite.apache.org/viewLog.html?buildId=1094577

> Revert IGNITE_ENABLE_FORCIBLE_NODE_KILL system property.
> 
>
> Key: IGNITE-7648
> URL: https://issues.apache.org/jira/browse/IGNITE-7648
> Project: Ignite
>  Issue Type: Improvement
>Affects Versions: 2.3
>Reporter: Alexei Scherbakov
>Assignee: Alexei Scherbakov
>Priority: Major
> Fix For: 2.5
>
>
> IGNITE_ENABLE_FORCIBLE_NODE_KILL system property was introduced in 
> IGNITE-5718 as a way to prevent unnecessary node drops in case of short 
> network problems.
> I suppose it's wrong decision to fix it in such way.
> We had faced some issues in our production due to lack of automatic kicking 
> of ill-behaving nodes (on example, hanging due to long GC pauses) until we 
> realised the necessity of changing default behavior via property.
> Right solution is to kick nodes only if failure threshold is reached. Such 
> behavior should be always enabled.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (IGNITE-7717) testAssignmentAfterRestarts is flaky on TC

2018-02-15 Thread Pavel Kovalenko (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Kovalenko reassigned IGNITE-7717:
---

Assignee: Pavel Kovalenko

> testAssignmentAfterRestarts is flaky on TC
> --
>
> Key: IGNITE-7717
> URL: https://issues.apache.org/jira/browse/IGNITE-7717
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Affects Versions: 2.5
>Reporter: Pavel Kovalenko
>Assignee: Pavel Kovalenko
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> There is infinite awaiting of partitions map exchange:
> {noformat}
> [2018-02-15 13:41:46,180][WARN 
> ][test-runner-#1%persistence.IgnitePdsCacheAssignmentNodeRestartsTest%][root] 
> Waiting for topology map update 
> [igniteInstanceName=persistence.IgnitePdsCacheAssignmentNodeRestartsTest0, 
> cache=ignite-sys-cache, cacheId=-2100569601, topVer=AffinityTopologyVersion 
> [topVer=11, minorTopVer=0], p=0, affNodesCnt=5, ownersCnt=3, 
> affNodes=[126cbc54-1b9f-46b8-a978-b6c61ee1, 
> 0971749e-e313-4c57-99ab-40400b10, 84f71ca6-6213-43a0-91ea-42eca512, 
> 3d781b31-ed38-49c8-8875-bdfa2fa3, 8f4bdf1c-a2c8-45e8-acd7-64bb4564], 
> owners=[0971749e-e313-4c57-99ab-40400b10, 
> 126cbc54-1b9f-46b8-a978-b6c61ee1, 3d781b31-ed38-49c8-8875-bdfa2fa3], 
> topFut=GridDhtPartitionsExchangeFuture [firstDiscoEvt=DiscoveryEvent 
> [evtNode=TcpDiscoveryNode [id=3d781b31-ed38-49c8-8875-bdfa2fa3, 
> addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47502], discPort=47502, order=9, 
> intOrder=6, lastExchangeTime=1518691298151, loc=false, 
> ver=2.5.0#19700101-sha1:, isClient=false], topVer=9, 
> nodeId8=0971749e, msg=Node joined: TcpDiscoveryNode 
> [id=3d781b31-ed38-49c8-8875-bdfa2fa3, addrs=[127.0.0.1], 
> sockAddrs=[/127.0.0.1:47502], discPort=47502, order=9, intOrder=6, 
> lastExchangeTime=1518691298151, loc=false, ver=2.5.0#19700101-sha1:, 
> isClient=false], type=NODE_JOINED, tstamp=1518691298244], 
> crd=TcpDiscoveryNode [id=0971749e-e313-4c57-99ab-40400b10, 
> addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47500], discPort=47500, order=1, 
> intOrder=1, lastExchangeTime=1518691306165, loc=true, 
> ver=2.5.0#19700101-sha1:, isClient=false], 
> exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=9, 
> minorTopVer=0], discoEvt=DiscoveryEvent [evtNode=TcpDiscoveryNode 
> [id=3d781b31-ed38-49c8-8875-bdfa2fa3, addrs=[127.0.0.1], 
> sockAddrs=[/127.0.0.1:47502], discPort=47502, order=9, intOrder=6, 
> lastExchangeTime=1518691298151, loc=false, ver=2.5.0#19700101-sha1:, 
> isClient=false], topVer=9, nodeId8=0971749e, msg=Node joined: 
> TcpDiscoveryNode [id=3d781b31-ed38-49c8-8875-bdfa2fa3, addrs=[127.0.0.1], 
> sockAddrs=[/127.0.0.1:47502], discPort=47502, order=9, intOrder=6, 
> lastExchangeTime=1518691298151, loc=false, ver=2.5.0#19700101-sha1:, 
> isClient=false], type=NODE_JOINED, tstamp=1518691298244], nodeId=3d781b31, 
> evt=NODE_JOINED], added=true, initFut=GridFutureAdapter 
> [ignoreInterrupts=false, state=DONE, res=true, hash=2121252210], init=true, 
> lastVer=GridCacheVersion [topVer=0, order=1518691297806, nodeOrder=0], 
> partReleaseFut=PartitionReleaseFuture [topVer=AffinityTopologyVersion 
> [topVer=9, minorTopVer=0], futures=[ExplicitLockReleaseFuture 
> [topVer=AffinityTopologyVersion [topVer=9, minorTopVer=0], futures=[]], 
> TxReleaseFuture [topVer=AffinityTopologyVersion [topVer=9, minorTopVer=0], 
> futures=[]], AtomicUpdateReleaseFuture [topVer=AffinityTopologyVersion 
> [topVer=9, minorTopVer=0], futures=[]], DataStreamerReleaseFuture 
> [topVer=AffinityTopologyVersion [topVer=9, minorTopVer=0], futures=[, 
> exchActions=null, affChangeMsg=null, initTs=1518691298244, 
> centralizedAff=false, forceAffReassignment=false, changeGlobalStateE=null, 
> done=true, state=DONE, evtLatch=0, remaining=[], super=GridFutureAdapter 
> [ignoreInterrupts=false, state=DONE, res=AffinityTopologyVersion [topVer=11, 
> minorTopVer=0], hash=1135515588]], locNode=TcpDiscoveryNode 
> [id=0971749e-e313-4c57-99ab-40400b10, addrs=[127.0.0.1], 
> sockAddrs=[/127.0.0.1:47500], discPort=47500, order=1, intOrder=1, 
> lastExchangeTime=1518691306165, loc=true, ver=2.5.0#19700101-sha1:, 
> isClient=false]]
> {noformat}
> This happens because of inconsistency of discoCache (cacheGrpAffNodes map) on 
> different nodes after restart.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7717) testAssignmentAfterRestarts is flaky on TC

2018-02-15 Thread Pavel Kovalenko (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Kovalenko updated IGNITE-7717:

Description: 
There is infinite awaiting of partitions map exchange:

{noformat}
[2018-02-15 13:41:46,180][WARN 
][test-runner-#1%persistence.IgnitePdsCacheAssignmentNodeRestartsTest%][root] 
Waiting for topology map update 
[igniteInstanceName=persistence.IgnitePdsCacheAssignmentNodeRestartsTest0, 
cache=ignite-sys-cache, cacheId=-2100569601, topVer=AffinityTopologyVersion 
[topVer=11, minorTopVer=0], p=0, affNodesCnt=5, ownersCnt=3, 
affNodes=[126cbc54-1b9f-46b8-a978-b6c61ee1, 
0971749e-e313-4c57-99ab-40400b10, 84f71ca6-6213-43a0-91ea-42eca512, 
3d781b31-ed38-49c8-8875-bdfa2fa3, 8f4bdf1c-a2c8-45e8-acd7-64bb4564], 
owners=[0971749e-e313-4c57-99ab-40400b10, 
126cbc54-1b9f-46b8-a978-b6c61ee1, 3d781b31-ed38-49c8-8875-bdfa2fa3], 
topFut=GridDhtPartitionsExchangeFuture [firstDiscoEvt=DiscoveryEvent 
[evtNode=TcpDiscoveryNode [id=3d781b31-ed38-49c8-8875-bdfa2fa3, 
addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47502], discPort=47502, order=9, 
intOrder=6, lastExchangeTime=1518691298151, loc=false, 
ver=2.5.0#19700101-sha1:, isClient=false], topVer=9, nodeId8=0971749e, 
msg=Node joined: TcpDiscoveryNode [id=3d781b31-ed38-49c8-8875-bdfa2fa3, 
addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47502], discPort=47502, order=9, 
intOrder=6, lastExchangeTime=1518691298151, loc=false, 
ver=2.5.0#19700101-sha1:, isClient=false], type=NODE_JOINED, 
tstamp=1518691298244], crd=TcpDiscoveryNode 
[id=0971749e-e313-4c57-99ab-40400b10, addrs=[127.0.0.1], 
sockAddrs=[/127.0.0.1:47500], discPort=47500, order=1, intOrder=1, 
lastExchangeTime=1518691306165, loc=true, ver=2.5.0#19700101-sha1:, 
isClient=false], exchId=GridDhtPartitionExchangeId 
[topVer=AffinityTopologyVersion [topVer=9, minorTopVer=0], 
discoEvt=DiscoveryEvent [evtNode=TcpDiscoveryNode 
[id=3d781b31-ed38-49c8-8875-bdfa2fa3, addrs=[127.0.0.1], 
sockAddrs=[/127.0.0.1:47502], discPort=47502, order=9, intOrder=6, 
lastExchangeTime=1518691298151, loc=false, ver=2.5.0#19700101-sha1:, 
isClient=false], topVer=9, nodeId8=0971749e, msg=Node joined: TcpDiscoveryNode 
[id=3d781b31-ed38-49c8-8875-bdfa2fa3, addrs=[127.0.0.1], 
sockAddrs=[/127.0.0.1:47502], discPort=47502, order=9, intOrder=6, 
lastExchangeTime=1518691298151, loc=false, ver=2.5.0#19700101-sha1:, 
isClient=false], type=NODE_JOINED, tstamp=1518691298244], nodeId=3d781b31, 
evt=NODE_JOINED], added=true, initFut=GridFutureAdapter 
[ignoreInterrupts=false, state=DONE, res=true, hash=2121252210], init=true, 
lastVer=GridCacheVersion [topVer=0, order=1518691297806, nodeOrder=0], 
partReleaseFut=PartitionReleaseFuture [topVer=AffinityTopologyVersion 
[topVer=9, minorTopVer=0], futures=[ExplicitLockReleaseFuture 
[topVer=AffinityTopologyVersion [topVer=9, minorTopVer=0], futures=[]], 
TxReleaseFuture [topVer=AffinityTopologyVersion [topVer=9, minorTopVer=0], 
futures=[]], AtomicUpdateReleaseFuture [topVer=AffinityTopologyVersion 
[topVer=9, minorTopVer=0], futures=[]], DataStreamerReleaseFuture 
[topVer=AffinityTopologyVersion [topVer=9, minorTopVer=0], futures=[, 
exchActions=null, affChangeMsg=null, initTs=1518691298244, 
centralizedAff=false, forceAffReassignment=false, changeGlobalStateE=null, 
done=true, state=DONE, evtLatch=0, remaining=[], super=GridFutureAdapter 
[ignoreInterrupts=false, state=DONE, res=AffinityTopologyVersion [topVer=11, 
minorTopVer=0], hash=1135515588]], locNode=TcpDiscoveryNode 
[id=0971749e-e313-4c57-99ab-40400b10, addrs=[127.0.0.1], 
sockAddrs=[/127.0.0.1:47500], discPort=47500, order=1, intOrder=1, 
lastExchangeTime=1518691306165, loc=true, ver=2.5.0#19700101-sha1:, 
isClient=false]]

{noformat}

This happens because of inconsistency of discoCache (cacheGrpAffNodes map) on 
different nodes after restart.

> testAssignmentAfterRestarts is flaky on TC
> --
>
> Key: IGNITE-7717
> URL: https://issues.apache.org/jira/browse/IGNITE-7717
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Affects Versions: 2.5
>Reporter: Pavel Kovalenko
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> There is infinite awaiting of partitions map exchange:
> {noformat}
> [2018-02-15 13:41:46,180][WARN 
> ][test-runner-#1%persistence.IgnitePdsCacheAssignmentNodeRestartsTest%][root] 
> Waiting for topology map update 
> [igniteInstanceName=persistence.IgnitePdsCacheAssignmentNodeRestartsTest0, 
> cache=ignite-sys-cache, cacheId=-2100569601, topVer=AffinityTopologyVersion 
> [topVer=11, minorTopVer=0], p=0, affNodesCnt=5, ownersCnt=3, 
> affNodes=[126cbc54-1b9f-46b8-a978-b6c61ee1, 
> 0971749e-e313-4c57-99ab-40400b10, 

[jira] [Updated] (IGNITE-7717) testAssignmentAfterRestarts is flaky on TC

2018-02-15 Thread Pavel Kovalenko (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Kovalenko updated IGNITE-7717:

Labels: MakeTeamcityGreenAgain  (was: )

> testAssignmentAfterRestarts is flaky on TC
> --
>
> Key: IGNITE-7717
> URL: https://issues.apache.org/jira/browse/IGNITE-7717
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Affects Versions: 2.5
>Reporter: Pavel Kovalenko
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7717) testAssignmentAfterRestarts is flaky on TC

2018-02-15 Thread Pavel Kovalenko (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Kovalenko updated IGNITE-7717:

Fix Version/s: 2.5

> testAssignmentAfterRestarts is flaky on TC
> --
>
> Key: IGNITE-7717
> URL: https://issues.apache.org/jira/browse/IGNITE-7717
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Affects Versions: 2.5
>Reporter: Pavel Kovalenko
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7717) testAssignmentAfterRestarts is flaky on TC

2018-02-15 Thread Pavel Kovalenko (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Kovalenko updated IGNITE-7717:

Affects Version/s: 2.5

> testAssignmentAfterRestarts is flaky on TC
> --
>
> Key: IGNITE-7717
> URL: https://issues.apache.org/jira/browse/IGNITE-7717
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Affects Versions: 2.5
>Reporter: Pavel Kovalenko
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7717) testAssignmentAfterRestarts is flaky on TC

2018-02-15 Thread Pavel Kovalenko (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Kovalenko updated IGNITE-7717:

Component/s: persistence

> testAssignmentAfterRestarts is flaky on TC
> --
>
> Key: IGNITE-7717
> URL: https://issues.apache.org/jira/browse/IGNITE-7717
> Project: Ignite
>  Issue Type: Bug
>  Components: persistence
>Reporter: Pavel Kovalenko
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7717) testAssignmentAfterRestarts is flaky on TC

2018-02-15 Thread Pavel Kovalenko (JIRA)
Pavel Kovalenko created IGNITE-7717:
---

 Summary: testAssignmentAfterRestarts is flaky on TC
 Key: IGNITE-7717
 URL: https://issues.apache.org/jira/browse/IGNITE-7717
 Project: Ignite
  Issue Type: Bug
Reporter: Pavel Kovalenko






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (IGNITE-7710) copy from csv fails to find existing table (intermittently)

2018-02-15 Thread Pavel Kuznetsov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Kuznetsov closed IGNITE-7710.
---

> copy from csv fails to find existing table (intermittently)
> ---
>
> Key: IGNITE-7710
> URL: https://issues.apache.org/jira/browse/IGNITE-7710
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Reporter: Pavel Kuznetsov
>Assignee: Kirill Shirokov
>Priority: Major
>
> 1) create table via new SqlFieldsQuery()
> 2) run ignite node in FULL_SYNC mode
> 3) perform sql via thin driver
> {code:sql}
> COPY FROM "/tmp/mydata.csv" INTO test_update FORMAT CSV;
> {code}
> driver throws:
> {noformat}
> java.sql.SQLException: Table does not exist: TEST_UPLOAD
>at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:653)
>at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:136)
>at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinPreparedStatement.executeWithArguments(JdbcThinPreparedStatement.java:252)
>at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinPreparedStatement.executeUpdate(JdbcThinPreparedStatement.java:96)
>at 
> org.apache.ignite.yardstick.upload.CopyBenchmark.warmup(CopyBenchmark.java:67)
>at 
> org.apache.ignite.yardstick.upload.AbstractUploadBenchmark.setUp(AbstractUploadBenchmark.java:50)
>at 
> org.yardstickframework.BenchmarkDriverStartUp.main(BenchmarkDriverStartUp.java:130)
> {noformat}
> server gets
> {noformat}
> [2018-02-14 19:57:47,840][ERROR][client-connector-#47][JdbcRequestHandler] 
> Failed to execute SQL query [reqId=0, req=JdbcQueryExecuteRequest 
> [schemaName=PUBLIC, pageSize=1024, maxRows=0, sqlQry=COPY FROM 
> "/tmp/warmup1971356426935
> 538953.csv" INTO TEST_UPLOAD (id, val_1, val_2, val_3, val_4, val_5, val_6, 
> val_7, val_8, val_9, val_10) FORMAT CSV;, args=[], stmtType=UPDATE_STMT_TYPE]]
> class org.apache.ignite.internal.processors.query.IgniteSQLException: Table 
> does not exist: TEST_UPLOAD
>at 
> org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.processBulkLoadCommand(DmlStatementsProcessor.java:1020)
>at 
> org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.runNativeDmlStatement(DmlStatementsProcessor.java:992)
>at 
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.tryQueryDistributedSqlFieldsNative(IgniteH2Indexing.java:1482)
>at 
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.querySqlFields(IgniteH2Indexing.java:1518)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:2037)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:2032)
>at 
> org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:36)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:2553)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2046)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:1977)
>at 
> org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequestHandler.executeQuery(JdbcRequestHandler.java:374)
>at 
> org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequestHandler.handle(JdbcRequestHandler.java:179)
>at 
> org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:156)
>at 
> org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:41)
>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:1149)
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>at java.lang.Thread.run(Thread.java:748)
> {noformat}
> Making "test_upload" -> "TEST_UPLOAD" does not help
> sql insert work fine



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (IGNITE-7710) copy from csv fails to find existing table (intermittently)

2018-02-15 Thread Pavel Kuznetsov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-7710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Kuznetsov resolved IGNITE-7710.
-
Resolution: Duplicate

> copy from csv fails to find existing table (intermittently)
> ---
>
> Key: IGNITE-7710
> URL: https://issues.apache.org/jira/browse/IGNITE-7710
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Reporter: Pavel Kuznetsov
>Assignee: Kirill Shirokov
>Priority: Major
>
> 1) create table via new SqlFieldsQuery()
> 2) run ignite node in FULL_SYNC mode
> 3) perform sql via thin driver
> {code:sql}
> COPY FROM "/tmp/mydata.csv" INTO test_update FORMAT CSV;
> {code}
> driver throws:
> {noformat}
> java.sql.SQLException: Table does not exist: TEST_UPLOAD
>at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:653)
>at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:136)
>at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinPreparedStatement.executeWithArguments(JdbcThinPreparedStatement.java:252)
>at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinPreparedStatement.executeUpdate(JdbcThinPreparedStatement.java:96)
>at 
> org.apache.ignite.yardstick.upload.CopyBenchmark.warmup(CopyBenchmark.java:67)
>at 
> org.apache.ignite.yardstick.upload.AbstractUploadBenchmark.setUp(AbstractUploadBenchmark.java:50)
>at 
> org.yardstickframework.BenchmarkDriverStartUp.main(BenchmarkDriverStartUp.java:130)
> {noformat}
> server gets
> {noformat}
> [2018-02-14 19:57:47,840][ERROR][client-connector-#47][JdbcRequestHandler] 
> Failed to execute SQL query [reqId=0, req=JdbcQueryExecuteRequest 
> [schemaName=PUBLIC, pageSize=1024, maxRows=0, sqlQry=COPY FROM 
> "/tmp/warmup1971356426935
> 538953.csv" INTO TEST_UPLOAD (id, val_1, val_2, val_3, val_4, val_5, val_6, 
> val_7, val_8, val_9, val_10) FORMAT CSV;, args=[], stmtType=UPDATE_STMT_TYPE]]
> class org.apache.ignite.internal.processors.query.IgniteSQLException: Table 
> does not exist: TEST_UPLOAD
>at 
> org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.processBulkLoadCommand(DmlStatementsProcessor.java:1020)
>at 
> org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.runNativeDmlStatement(DmlStatementsProcessor.java:992)
>at 
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.tryQueryDistributedSqlFieldsNative(IgniteH2Indexing.java:1482)
>at 
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.querySqlFields(IgniteH2Indexing.java:1518)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:2037)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:2032)
>at 
> org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:36)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:2553)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2046)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:1977)
>at 
> org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequestHandler.executeQuery(JdbcRequestHandler.java:374)
>at 
> org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequestHandler.handle(JdbcRequestHandler.java:179)
>at 
> org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:156)
>at 
> org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:41)
>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:1149)
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>at java.lang.Thread.run(Thread.java:748)
> {noformat}
> Making "test_upload" -> "TEST_UPLOAD" does not help
> sql insert work fine



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7666) "Failed to parse query exception" has no description to find error in query

2018-02-15 Thread Mikhail Cherkasov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365426#comment-16365426
 ] 

Mikhail Cherkasov commented on IGNITE-7666:
---

Another example of the problem from user list:

http://apache-ignite-users.70518.x6.nabble.com/Failed-to-parse-query-tc20060.html

 

 

> "Failed to parse query exception" has no description to find error in query
> ---
>
> Key: IGNITE-7666
> URL: https://issues.apache.org/jira/browse/IGNITE-7666
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Affects Versions: 2.3
>Reporter: Mikhail Cherkasov
>Priority: Blocker
> Fix For: 2.5
>
>
> In the query below there are wrong quote characters around alias name(it 
> requires no quotes or double quotes), but the exception has no clue to find 
> the error in query. This query is simple and it wouldn't take a lot of time 
> to find the error to users, but it becomes almost impossible to find the 
> error in real life big and complex queries: 
> {noformat}
> 0: jdbc:ignite:thin://127.0.0.1/> SELECT Name as 'super_name' from person p 
> where p.name = 'test';
> Error: Failed to parse query: SELECT Name as 'super_name' from person p where 
> p.name = 'test' (state=42000,code=0)
> java.sql.SQLException: Failed to parse query: SELECT Name as 'super_name' 
> from person p where p.name = 'test'
>  at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:671)
>  at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:130)
>  at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute(JdbcThinStatement.java:299)
>  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-7716) Red selftest in ML examples

2018-02-15 Thread Yury Babak (JIRA)
Yury Babak created IGNITE-7716:
--

 Summary: Red selftest in ML examples
 Key: IGNITE-7716
 URL: https://issues.apache.org/jira/browse/IGNITE-7716
 Project: Ignite
  Issue Type: Bug
  Components: ml
Reporter: Yury Babak
Assignee: Yury Babak
 Fix For: 2.5


https://ci.ignite.apache.org/project.html?tab=testDetails=IgniteTests24Java8=1447870893775475761



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7710) copy from csv fails to find existing table (intermittently)

2018-02-15 Thread Pavel Kuznetsov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365423#comment-16365423
 ] 

Pavel Kuznetsov commented on IGNITE-7710:
-

duplicates ticket 

> copy from csv fails to find existing table (intermittently)
> ---
>
> Key: IGNITE-7710
> URL: https://issues.apache.org/jira/browse/IGNITE-7710
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Reporter: Pavel Kuznetsov
>Assignee: Kirill Shirokov
>Priority: Major
>
> 1) create table via new SqlFieldsQuery()
> 2) run ignite node in FULL_SYNC mode
> 3) perform sql via thin driver
> {code:sql}
> COPY FROM "/tmp/mydata.csv" INTO test_update FORMAT CSV;
> {code}
> driver throws:
> {noformat}
> java.sql.SQLException: Table does not exist: TEST_UPLOAD
>at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:653)
>at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:136)
>at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinPreparedStatement.executeWithArguments(JdbcThinPreparedStatement.java:252)
>at 
> org.apache.ignite.internal.jdbc.thin.JdbcThinPreparedStatement.executeUpdate(JdbcThinPreparedStatement.java:96)
>at 
> org.apache.ignite.yardstick.upload.CopyBenchmark.warmup(CopyBenchmark.java:67)
>at 
> org.apache.ignite.yardstick.upload.AbstractUploadBenchmark.setUp(AbstractUploadBenchmark.java:50)
>at 
> org.yardstickframework.BenchmarkDriverStartUp.main(BenchmarkDriverStartUp.java:130)
> {noformat}
> server gets
> {noformat}
> [2018-02-14 19:57:47,840][ERROR][client-connector-#47][JdbcRequestHandler] 
> Failed to execute SQL query [reqId=0, req=JdbcQueryExecuteRequest 
> [schemaName=PUBLIC, pageSize=1024, maxRows=0, sqlQry=COPY FROM 
> "/tmp/warmup1971356426935
> 538953.csv" INTO TEST_UPLOAD (id, val_1, val_2, val_3, val_4, val_5, val_6, 
> val_7, val_8, val_9, val_10) FORMAT CSV;, args=[], stmtType=UPDATE_STMT_TYPE]]
> class org.apache.ignite.internal.processors.query.IgniteSQLException: Table 
> does not exist: TEST_UPLOAD
>at 
> org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.processBulkLoadCommand(DmlStatementsProcessor.java:1020)
>at 
> org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.runNativeDmlStatement(DmlStatementsProcessor.java:992)
>at 
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.tryQueryDistributedSqlFieldsNative(IgniteH2Indexing.java:1482)
>at 
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.querySqlFields(IgniteH2Indexing.java:1518)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:2037)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:2032)
>at 
> org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:36)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:2553)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:2046)
>at 
> org.apache.ignite.internal.processors.query.GridQueryProcessor.querySqlFields(GridQueryProcessor.java:1977)
>at 
> org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequestHandler.executeQuery(JdbcRequestHandler.java:374)
>at 
> org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequestHandler.handle(JdbcRequestHandler.java:179)
>at 
> org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:156)
>at 
> org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:41)
>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:1149)
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>at java.lang.Thread.run(Thread.java:748)
> {noformat}
> Making "test_upload" -> "TEST_UPLOAD" does not help
> sql insert work fine



--
This message was sent by Atlassian 

[jira] [Commented] (IGNITE-7698) Page read during replacement should be outside of segment write lock

2018-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365422#comment-16365422
 ] 

ASF GitHub Bot commented on IGNITE-7698:


GitHub user dspavlov opened a pull request:

https://github.com/apache/ignite/pull/3529

IGNITE-7698: Page read during replacement should be outside of segmen…

…t write lock

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-7698

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/3529.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #3529


commit 5f98eeeae3b452482239223490772eb429ff27d4
Author: dpavlov 
Date:   2018-02-15T11:19:59Z

IGNITE-7698: Page read during replacement should be outside of segment 
write lock




> Page read during replacement should be outside of segment write lock
> 
>
> Key: IGNITE-7698
> URL: https://issues.apache.org/jira/browse/IGNITE-7698
> Project: Ignite
>  Issue Type: Improvement
>  Components: persistence
>Affects Versions: 2.1
>Reporter: Alexey Goncharuk
>Assignee: Dmitriy Pavlov
>Priority: Major
> Fix For: 2.5
>
>
> When a page is acquired, if it needs to be read from disk, we read it inside 
> the segment write lock which blocks other threads from acquiring pages that 
> are already in memory.
> This can be easily avoided: once we initialized the page's being loaded RW 
> lock, we can immediately acquire the write lock - no deadlocks can happen 
> here. Afterwards, we can release the segment write lock and read the page.
> The change seems to be very local.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7715) If client cannot find dml entity in local storage, it should ask server for updates

2018-02-15 Thread Pavel Kuznetsov (JIRA)
Pavel Kuznetsov created IGNITE-7715:
---

 Summary: If client cannot find dml entity in local storage, it 
should ask server for updates
 Key: IGNITE-7715
 URL: https://issues.apache.org/jira/browse/IGNITE-7715
 Project: Ignite
  Issue Type: Improvement
  Components: sql
Reporter: Pavel Kuznetsov
Assignee: Vladimir Ozerov


Assume we have n servers and at least 2 clients 

client 1 creates table (via thin driver) 
after that (in global time) client 2 tries to insert data in that table 

Currently, if client 2 didn't received from server that table is created, it 
rejects query execution
But in this case client 2 could ask connected server for updates before 
rejection 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7698) Page read during replacement should be outside of segment write lock

2018-02-15 Thread Dmitriy Pavlov (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365409#comment-16365409
 ] 

Dmitriy Pavlov commented on IGNITE-7698:


[~agoncharuk], there is one question here, is it safe to wait delayed page 
write to be finished ourside segment lock also (IGNITE-7606,   
delayedPageReplacementTracker.waitUnlock(fullId))?


> Page read during replacement should be outside of segment write lock
> 
>
> Key: IGNITE-7698
> URL: https://issues.apache.org/jira/browse/IGNITE-7698
> Project: Ignite
>  Issue Type: Improvement
>  Components: persistence
>Affects Versions: 2.1
>Reporter: Alexey Goncharuk
>Assignee: Dmitriy Pavlov
>Priority: Major
> Fix For: 2.5
>
>
> When a page is acquired, if it needs to be read from disk, we read it inside 
> the segment write lock which blocks other threads from acquiring pages that 
> are already in memory.
> This can be easily avoided: once we initialized the page's being loaded RW 
> lock, we can immediately acquire the write lock - no deadlocks can happen 
> here. Afterwards, we can release the segment write lock and read the page.
> The change seems to be very local.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (IGNITE-7714) SQL: COPY command should try to create cache in case table is not found

2018-02-15 Thread Vladimir Ozerov (JIRA)
Vladimir Ozerov created IGNITE-7714:
---

 Summary: SQL: COPY command should try to create cache in case 
table is not found
 Key: IGNITE-7714
 URL: https://issues.apache.org/jira/browse/IGNITE-7714
 Project: Ignite
  Issue Type: Task
  Components: sql
Affects Versions: 2.3
Reporter: Vladimir Ozerov
Assignee: Vladimir Ozerov
 Fix For: 2.4


Client might be aware of cache, but hasn't started it yet. In this case "Table 
not found" exception will be thrown. Need to use 
{{GridCacheProcessor#createMissingQueryCaches}} and re-try in this case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-7709) SQL COPY: fix file name handling

2018-02-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-7709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365351#comment-16365351
 ] 

ASF GitHub Bot commented on IGNITE-7709:


Github user asfgit closed the pull request at:

https://github.com/apache/ignite/pull/3526


> SQL COPY: fix file name handling
> 
>
> Key: IGNITE-7709
> URL: https://issues.apache.org/jira/browse/IGNITE-7709
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Affects Versions: 2.3, 2.4, 2.5
>Reporter: Kirill Shirokov
>Assignee: Kirill Shirokov
>Priority: Major
>
> Currently the file name is parsed as identifier, which is obviously a bug.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


  1   2   >