taking more time while reading records.

2018-08-12 Thread Shuvendu Das
Hi,

We came across a situation where it is taking 10 time more time while
reading records.
  Our initial grid size is 390,746 (count)
  Grid size increased to 7,297,301 (count)
  Now it is taking 10 times more time.

Regards

Shuvendu


Re: WebConsole does not see cluster

2018-08-12 Thread KJQ
All right, im completely confused at this point.

Trying to follow this thread:
http://apache-ignite-users.70518.x6.nabble.com/Agent-not-able-to-connect-tt21714.html#a21745

  

*I see this in the console startup:*
ignite-console_1  | 00:36:34 0|index| Start listening on 127.0.0.1:3000

I have, for now, exposed all of the ports "i think" so I can try the agent
outside of the containers:

  ignite-console:
image: apacheignite/web-console-standalone
expose:
  ...
ports:
  - 3000:3000
  - 3001:80

  server:
ports:
  - 3080:3080

The server has the REST API, exposed on 3080, and I can access it with curl.

*I then run the agent:*
./ignite-web-agent.sh --server-uri http://localhost:3001 --node-uri
http://localhost:3080

*And get this:*
Agent configuration:
User's security tokens: 4BDV
URI to Ignite node REST server: http://localhost:3080
URI to Ignite Console server  : http://localhost:3001
Path to agent property file   : default.properties
Path to JDBC drivers folder   :
/Downloads/ignite-web-agent-2.6.0/jdbc-drivers
Demo mode : enabled

[2018-08-12 20:39:48,639][INFO ][main][AgentLauncher] Connecting to:
http://localhost:3001
[2018-08-12 20:39:48,754][INFO ][EventThread][AgentLauncher] Connection
established.
[2018-08-12 20:39:48,806][INFO ][EventThread][AgentLauncher] Authentication
success.
[2018-08-12 20:39:48,880][INFO ][pool-1-thread-1][RestExecutor] Connected to
cluster [url=http://localhost:3080]

This is all running on one machine but different docker containers (from
compose)



-
KJQ
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


WebConsole does not see cluster

2018-08-12 Thread KJQ
Hello.

I am trying to get the Dockerized WebConsole running but no matter what I do
it does not recognize any clusters.  

I am running the Web Agent from one of my nodes with the REST (maven)
dependencies.

I can see the nodes coming up when I start my services and using the CLI I
can inspect the cluster fine.
Topology snapshot [ver=4, servers=4, clients=0, CPUs=16, offheap=6.2GB,
heap=2.5GB]

*Running the agent I see:*
URI to Ignite node REST server: http://localhost:3080
URI to Ignite Console server  : http://ignite-console
[2018-08-12 22:23:08,341][INFO ][main][AgentLauncher] Connecting to:
http://ignite-console
[2018-08-12 22:23:08,441][INFO ][EventThread][AgentLauncher] Connection
established.
[2018-08-12 22:23:08,524][INFO ][EventThread][AgentLauncher] Authentication
success.
[2018-08-12 22:23:08,751][INFO ][pool-1-thread-1][RestExecutor] Connected to
cluster [url=http://localhost:3080]

I can curl the REST API using 'http://localhost:3080/ignite?cmd=version'
from the console instance to the node running the REST module and get back
the version.
"response": "2.6.0"

But, no matter what I seem to do the WebConsole does not recognize the
cluster - what am I doing wrong here?




-
KJQ
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: The Apache Ignite Book

2018-08-12 Thread luqmanahmad
Dear Shamim,

I have recently developed a network segmentation plugin for Apache Ignite
project. It would be nice if you can add some stuff related to plugins as
well. Please see [1] for more information.

[1]  Post

  



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Free Network Segmentation (akas split brain) plugin available

2018-08-12 Thread luqmanahmad
Hi all,

Recently I was working on a project which required a very large number of
cluster over 700 nodes and we were encountering with split brain problem. To
overcome that problem I have recently developed the plugin for network
segmentation which can be downloaded from [1].

This can be taken as a gift as it was a much needed functionality which was
missing from the open source version. At the moment there are two
segementation resolvers are available. I am still thinking of writing one
for TcpIp depending on the time.

Any problems with the plugin, please let me know. Happy coding

[1]  ignite-plugins   



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Ignite.NET how to cancel tasks

2018-08-12 Thread Maksym Ieremenko
Hello Slava,


please try an modified version of 
https://github.com/apache/ignite/blob/master/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/CancellationTest.cs,

change CancellationTest+Job.Execute method to:

public int Execute()
{
while (CancelCount == 0)
{
Thread.Sleep(50);
}

return 1;
}


Thanks,
Max


Re: ODBC Driver compile error

2018-08-12 Thread Floris Van Nee
Hi Linus,

I had the same error when I was trying to compile with openssl 1.1. Compiling 
with openssl1.0 solved the issue for me..

-Floris

From: Linus Surguy 
Sent: Sunday, August 12, 2018 3:08 PM
To: user@ignite.apache.org
Subject: ODBC Driver compile error [External]

Hi all,

I've been trying to compile the ODBC Driver under a fairly standard
Debian system. Ignite installed from the deb on the Ignite website,
although I've also tried the latest GIT release with the same results.

Google found another user with a similar issue back in March on this
list, but no resolution was reported back.

The make fails with the following errors listed below. Is there
particular gcc/g++/openssl version requirement which isn't obvious?

Any pointers would be appreciated,

Linus


Making all in include
make[3]: Entering directory
'/usr/share/apache-ignite/platforms/cpp/odbc/include'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/usr/share/apache-ignite/platforms/cpp/odbc/include'
make[3]: Entering directory '/usr/share/apache-ignite/platforms/cpp/odbc'
   CXX  src/ssl/secure_socket_client.lo
In file included from ./include/ignite/odbc/ssl/ssl_bindings.h:21:0,
  from src/ssl/secure_socket_client.cpp:25:
./include/ignite/odbc/ssl/ssl_bindings.h:133:24: error:
‘ignite::odbc::ssl::OPENSSL_init_ssl’ declared as an ‘inline’ variable
  inline int SSL_library_init()
 ^
./include/ignite/odbc/ssl/ssl_bindings.h:133:24: error: expression list
treated as compound expression in initializer [-fpermissive]
  inline int SSL_library_init()
 ^
In file included from src/ssl/secure_socket_client.cpp:25:0:
./include/ignite/odbc/ssl/ssl_bindings.h:134:13: error: expected ‘,’ or
‘;’ before ‘{’ token
  {
  ^
In file included from ./include/ignite/odbc/ssl/ssl_bindings.h:21:0,
  from src/ssl/secure_socket_client.cpp:25:
./include/ignite/odbc/ssl/ssl_bindings.h:142:25: error: variable or
field ‘OPENSSL_init_ssl’ declared void
  inline void SSL_load_error_strings()
  ^
src/ssl/secure_socket_client.cpp: In static member function ‘static
void* ignite::odbc::ssl::SecureSocketClient::MakeContext(const string&,
const string&, const string&, ignite::odbc::diagnostic::Diagnosable&)’:
src/ssl/secure_socket_client.cpp:206:31: error:
‘ignite::odbc::ssl::OPENSSL_init_ssl’ cannot be used as a function
  (void)SSL_library_init();
^
src/ssl/secure_socket_client.cpp:208:25: error:
‘ignite::odbc::ssl::OPENSSL_init_ssl’ cannot be used as a function
  SSL_load_error_strings();
  ^
src/ssl/secure_socket_client.cpp:237:40: error: ‘SSL_CTRL_OPTIONS’ was
not declared in this scope
  ssl::SSL_CTX_ctrl(ctx, SSL_CTRL_OPTIONS, flags, NULL);



--
Magrathea Telecommunications Ltd Tel: 0345 004 0040 +44 118 321 0321
5 Commerce Park, Theale, RG7 4AB ENGLAND. Registered Company 4260485


ODBC Driver compile error

2018-08-12 Thread Linus Surguy



Hi all,

I've been trying to compile the ODBC Driver under a fairly standard 
Debian system. Ignite installed from the deb on the Ignite website, 
although I've also tried the latest GIT release with the same results.


Google found another user with a similar issue back in March on this 
list, but no resolution was reported back.


The make fails with the following errors listed below. Is there 
particular gcc/g++/openssl version requirement which isn't obvious?


Any pointers would be appreciated,

Linus


Making all in include
make[3]: Entering directory 
'/usr/share/apache-ignite/platforms/cpp/odbc/include'

make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory 
'/usr/share/apache-ignite/platforms/cpp/odbc/include'

make[3]: Entering directory '/usr/share/apache-ignite/platforms/cpp/odbc'
  CXX  src/ssl/secure_socket_client.lo
In file included from ./include/ignite/odbc/ssl/ssl_bindings.h:21:0,
 from src/ssl/secure_socket_client.cpp:25:
./include/ignite/odbc/ssl/ssl_bindings.h:133:24: error: 
‘ignite::odbc::ssl::OPENSSL_init_ssl’ declared as an ‘inline’ variable

 inline int SSL_library_init()
^
./include/ignite/odbc/ssl/ssl_bindings.h:133:24: error: expression list 
treated as compound expression in initializer [-fpermissive]

 inline int SSL_library_init()
^
In file included from src/ssl/secure_socket_client.cpp:25:0:
./include/ignite/odbc/ssl/ssl_bindings.h:134:13: error: expected ‘,’ or 
‘;’ before ‘{’ token

 {
 ^
In file included from ./include/ignite/odbc/ssl/ssl_bindings.h:21:0,
 from src/ssl/secure_socket_client.cpp:25:
./include/ignite/odbc/ssl/ssl_bindings.h:142:25: error: variable or 
field ‘OPENSSL_init_ssl’ declared void

 inline void SSL_load_error_strings()
 ^
src/ssl/secure_socket_client.cpp: In static member function ‘static 
void* ignite::odbc::ssl::SecureSocketClient::MakeContext(const string&, 
const string&, const string&, ignite::odbc::diagnostic::Diagnosable&)’:
src/ssl/secure_socket_client.cpp:206:31: error: 
‘ignite::odbc::ssl::OPENSSL_init_ssl’ cannot be used as a function

 (void)SSL_library_init();
   ^
src/ssl/secure_socket_client.cpp:208:25: error: 
‘ignite::odbc::ssl::OPENSSL_init_ssl’ cannot be used as a function

 SSL_load_error_strings();
 ^
src/ssl/secure_socket_client.cpp:237:40: error: ‘SSL_CTRL_OPTIONS’ was 
not declared in this scope

 ssl::SSL_CTX_ctrl(ctx, SSL_CTRL_OPTIONS, flags, NULL);



--
Magrathea Telecommunications Ltd Tel: 0345 004 0040 +44 118 321 0321
5 Commerce Park, Theale, RG7 4AB ENGLAND. Registered Company 4260485


Apache Ignite as Hibernate L2 cache

2018-08-12 Thread dpushkar
Hi,Has anyone used Ignite as Hibernate Level 2 cache? If yes then what are
the versions of Hibernate and Ignite that are compatible?If someone has used
it already, I would appreciate if required configurations are posted here.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: The Apache Ignite Book

2018-08-12 Thread Павлухин Иван
Hi Shamim,

In 1st chapter Introduction among Ignite possible usages it is mentioned:
"From version 2.5 Apache Ignite will support transactions at SQL level"
It is not true. Transactional SQL was not released yet. There is plan to
release it in near future, but as for me it is better to not mention
concrete future versions for
features which are not released yet.

2018-08-01 10:26 GMT+03:00 srecon :

> Dear, Users.
>   Yesterday the first portion of our new title The Apache Ignite Book had
> been published and available at https://leanpub.com/ignitebook . The full
> table of contents and the sample chapter is also available through  leanpub
>   .
>  The title is an agile published book, and we continue to update the book
> for covering Apache Ignite version 2.x. Feel free to ask any question and
> do
> not hesitate to make any comments or suggestion.
>
> Best regards
>   Shamim Ahmed.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>



-- 
Best regards,
Ivan Pavlukhin