Re: GUI based SQL Client for Apache Ignite

2016-10-19 Thread srecon
Hi,
 you can use DBeaver open source SQL client to connect to Ignite cache.
After the installation of DBeaver from http://dbeaver.jkiss.org/download go
to
Database -> Driver Manager -> New
In the 'Settings' part fill in the requested information as follow:

 
Add all the above libraries shown in the screen shot. 
Start your Ignite server with default-config as shown below:
"
   

   
   








  

   
   
 
 
 
 
 
 127.0.0.1:47500..47509
 
 
 
 
 
   
   "

also copy the default-config.xml into any file such as
defaul-config-orgin.xml and set the client mode to true as follows:


test the connection. In the SQL editor panel, you can write any SELECT
statement. 

P.S. You can find other interesting informations in the sample chapter from
this  book    https://leanpub.com/ignite

Regards 
  Shamim




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/GUI-based-SQL-Client-for-Apache-Ignite-tp8283p8366.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Isuue with Multi-threaded approach to Ignite data streamer

2016-10-19 Thread vkulichenko
Hi Ganesh,

Couple suggestions:
- Use a single instance of data streamer in all threads. It's thread-safe
and most likely this will be more effective.
- If issue still exists, take a thread dump when the process is stuck and
check what the streamer is waiting for.

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Isuue-with-Multi-threaded-approach-to-Ignite-data-streamer-tp8362p8365.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Which ports does ignite cluster need to run normally?

2016-10-19 Thread vkulichenko
Hi,

Client nodes need to listen only to communication SPI ports (47100~47200).
They will NOT bind to discovery ports.

You don't need to have all addresses listed in IP finder. It's OK to have 2
or 3 addresses there, but you have to make sure that at least one node on
these addresses is started first.

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Which-ports-does-ignite-cluster-need-to-run-normally-tp8031p8364.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


ApacheCon is now less than a month away!

2016-10-19 Thread Rich Bowen
Dear Apache Enthusiast,

ApacheCon Sevilla is now less than a month out, and we need your help
getting the word out. Please tell your colleagues, your friends, and
members of related technical communities, about this event. Rates go up
November 3rd, so register today!

ApacheCon, and Apache Big Data, are the official gatherings of the
Apache Software Foundation, and one of the best places in the world to
meet other members of your project community, gain deeper knowledge
about your favorite Apache projects, learn about the ASF. Your project
doesn't live in a vacuum - it's part of a larger family of projects that
have a shared set of values, as well as a shared governance model. And
many of our project have an overlap in developers, in communities, and
in subject matter, making ApacheCon a great place for cross-pollination
of ideas and of communities.

Some highlights of these events will be:

* Many of our board members and project chairs will be present
* The lightning talks are a great place to hear, and give, short
presentations about what you and other members of the community are
working on
* The key signing gets you linked into the web of trust, and better
able to verify our software releases
* Evening receptions and parties where you can meet community
members in a less formal setting
* The State of the Feather, where you can learn what the ASF has
done in the last year, and what's coming next year
* BarCampApache, an informal unconference-style event, is another
venue for discussing your projects at the ASF

We have a great schedule lined up, covering the wide range of ASF
projects, including:

* CI and CD at Scale: Scaling Jenkins with Docker and Apache Mesos -
Carlos Sanchez
* Inner sourcing 101 - Jim Jagielski
* Java Memory Leaks in Modular Environments - Mark Thomas

ApacheCon/Apache Big Data will be held in Sevilla, Spain, at the Melia
Sevilla, November 14th through 18th. You can find out more at
http://apachecon.com/  Other ways to stay up to date with ApacheCon are:

* Follow us on Twitter at @apachecon
* Join us on IRC, at #apachecon on the Freenode IRC network
* Join the apachecon-discuss mailing list by sending email to
apachecon-discuss-subscr...@apache.org
* Or contact me directly at rbo...@apache.org with questions,
comments, or to volunteer to help

See you in Sevilla!

-- 
Rich Bowen: VP, Conferences
rbo...@apache.org
http://apachecon.com/
@apachecon


Isuue with Multi-threaded approach to Ignite data streamer

2016-10-19 Thread Sri Ganesh V
Hi,

We use Partitioned cache across 3 server nodes.

Cache Memory Mode : off-heap

We are trying to load cache using ignite data streamer.
We have an ignite client pool and use different clients to create streamer
for loading the cache.

We fetch data from DB in multiple threads and push the same to the streamer.

Please find the code below -



public void run() {

String beanClassName = CacheBeanFactory.getBean(this.cacheName);

IgniteDataStreamer stmr = null;
IgniteClientConnectionPool igniteClientPool = null;
Ignite ignite = null;
 try {
ICacheLoadClient clientDao = new CacheLoadClientImpl();

// Ignite client pool
igniteClientPool = 
IgniteClientConnectionPool.getInstance();
ignite = igniteClientPool.getClient();

stmr = ignite.dataStreamer(this.cacheName);



Map addToCacheMap = 
clientDao.loadCache(// Fetch records
from DB//);



if (addToCacheMap.size() != 0)
{


Iterator iter = 
addToCacheMap.keySet().iterator();
String key ="";
while(iter.hasNext())
{
key = iter.next();

stmr.addData(key,addToCacheMap.get(key));
}




}}

catch (Exception e) {
e.printStackTrace();

} finally {
if (stmr != null)
{
System.out.println("");
stmr.close();
}
if(igniteClientPool!=null && ignite!=null )
igniteClientPool.free(ignite);

}

  }

Currently there are 20 concurrent threads trying to load the same cache via
different streamers.

ISSUE : We face the issue of thread getting stuck trying to add data to the
streamer and the entire application becomes standstill.

At times we have seen scenarios were in after 15 -20 min the load process
continues. 

It would be great if we get to know the best way of using streamers in an
multi-threaded set-up to load a cache.

Thanks,
Ganesh







--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Isuue-with-Multi-threaded-approach-to-Ignite-data-streamer-tp8362.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: GUI based SQL Client for Apache Ignite

2016-10-19 Thread Sri Ganesh V
Hi,

Thanks Val.

Will explore the web console application.


 - Ganesh



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/GUI-based-SQL-Client-for-Apache-Ignite-tp8283p8361.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: JVM Crash - SIGSEGV on GridUnsafe.copyMemory

2016-10-19 Thread Ivan V.
Looks similar to this issue: https://github.com/netty/netty/issues/2950 .

On Wed, Oct 19, 2016 at 2:26 PM, Vladislav Pyatkov 
wrote:

> Hi,
>
> This look like in the system does not have enough memory.
>
> It is difficult to say anything else, without additional information.
> Memory consumption, system logs for the moment.
>
> On Wed, Oct 19, 2016 at 2:00 PM, yfernando 
> wrote:
>
>> Hi,
>>
>> We've had the multiple instances where a 16 node grid completely crashes
>> with the following error.
>>
>> we use all our caches OFF HEAP caches in our configuration.
>>
>> We are running Ignite 1.7 and running Java 1.8u60-b27 on Linux
>>
>> Has anyone seen a similar issue?
>>
>> Thanks
>>
>> Yohan
>>
>> I've attached a few of the hs_err log files. Please let us know if you
>> need
>> anymore information.
>>
>> #
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> #  SIGSEGV (0xb) at pc=0x7ff13f1c2524, pid=3402054,
>> tid=140670445545216
>> #
>> # JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build
>> 1.8.0_60-b27)
>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode
>> linux-amd64 compressed oops)
>> # Problematic frame:
>> # v  ~StubRoutines::jint_disjoint_arraycopy
>> #
>> # Core dump written. Default location:
>> /prod/Java/apps/data-grid-server-ignite/2.2.31/bin/core or core.3402054
>> #
>> # If you would like to submit a bug report, please visit:
>> #   http://bugreport.java.com/bugreport/crash.jsp
>> #
>>
>> ---  T H R E A D  ---
>>
>> Current thread (0x7ff1552f9800):  JavaThread
>> "pub-#12%DataGridServer-Production%" [_thread_in_Java, id=3402569,
>> stack(0x7ff063dfe000,0x7ff063eff000)]
>>
>> siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr:
>> 0x00076a80
>>
>>
>> Stack: [0x7ff063dfe000,0x7ff063eff000],  sp=0x7ff063efc490,
>> free space=1017k
>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
>> code)
>> v  ~StubRoutines::jint_disjoint_arraycopy
>> J 6572 C2
>> org.apache.ignite.internal.util.GridUnsafe.copyMemory(Ljava/
>> lang/Object;JLjava/lang/Object;JJ)V
>> (14 bytes) @ 0x7ff13f52f1a8 [0x7ff13f52f180+0x28]
>> j
>> org.apache.ignite.internal.util.io.GridUnsafeDataInput.readS
>> hortArray()[S+88
>> j
>> org.apache.ignite.marshaller.optimized.OptimizedObjectInputS
>> tream.readShortArray()[S+4
>> J 25716 C2
>> org.apache.ignite.marshaller.optimized.OptimizedObjectInputS
>> tream.readObjectOverride()Ljava/lang/Object;
>> (883 bytes) @ 0x7ff1437bbc4c [0x7ff1437ba2a0+0x19ac]
>> J 6523 C2 java.io.ObjectInputStream.readObject()Ljava/lang/Object; (124
>> bytes) @ 0x7ff13f4e0d9c [0x7ff13f4e0760+0x63c]
>> J 12272 C2
>> org.apache.ignite.marshaller.optimized.OptimizedObjectInputS
>> tream.readFields(Ljava/lang/Object;Lorg/apache/ignite/
>> marshaller/optimized/OptimizedClassDescriptor$ClassFields;)V
>> (336 bytes) @ 0x7ff140833d78 [0x7ff140833980+0x3f8]
>> J 12508 C2
>> org.apache.ignite.marshaller.optimized.OptimizedObjectInputS
>> tream.readSerializable(Ljava/lang/Class;Ljava/util/List;
>> Ljava/lang/reflect/Method;Lorg/apache/ignite/marshaller/
>> optimized/OptimizedClassDescriptor$Fields;)Ljava/lang/Object;
>> (176 bytes) @ 0x7ff14178ee74 [0x7ff14178e780+0x6f4]
>> J 16693 C2
>> org.apache.ignite.marshaller.optimized.OptimizedClassDescrip
>> tor.read(Lorg/apache/ignite/marshaller/optimized/Optimized
>> ObjectInputStream;)Ljava/lang/Object;
>> (130 bytes) @ 0x7ff140804868 [0x7ff1408044a0+0x3c8]
>> J 25716 C2
>> org.apache.ignite.marshaller.optimized.OptimizedObjectInputS
>> tream.readObjectOverride()Ljava/lang/Object;
>> (883 bytes) @ 0x7ff1437bbe80 [0x7ff1437ba2a0+0x1be0]
>> J 6523 C2 java.io.ObjectInputStream.readObject()Ljava/lang/Object; (124
>> bytes) @ 0x7ff13f4e0d9c [0x7ff13f4e0760+0x63c]
>> J 12272 C2
>> org.apache.ignite.marshaller.optimized.OptimizedObjectInputS
>> tream.readFields(Ljava/lang/Object;Lorg/apache/ignite/
>> marshaller/optimized/OptimizedClassDescriptor$ClassFields;)V
>> (336 bytes) @ 0x7ff140833d78 [0x7ff140833980+0x3f8]
>> J 12508 C2
>> org.apache.ignite.marshaller.optimized.OptimizedObjectInputS
>> tream.readSerializable(Ljava/lang/Class;Ljava/util/List;
>> Ljava/lang/reflect/Method;Lorg/apache/ignite/marshaller/
>> optimized/OptimizedClassDescriptor$Fields;)Ljava/lang/Object;
>> (176 bytes) @ 0x7ff14178ee74 [0x7ff14178e780+0x6f4]
>> J 16693 C2
>> org.apache.ignite.marshaller.optimized.OptimizedClassDescrip
>> tor.read(Lorg/apache/ignite/marshaller/optimized/Optimized
>> ObjectInputStream;)Ljava/lang/Object;
>> (130 bytes) @ 0x7ff140804868 [0x7ff1408044a0+0x3c8]
>> J 25716 C2
>> org.apache.ignite.marshaller.optimized.OptimizedObjectInputS
>> tream.readObjectOverride()Ljava/lang/Object;
>> (883 bytes) @ 0x7ff1437bbe80 [0x7ff1437ba2a0+0x1be0]
>> J 6560 C2
>> 

Re: Couchbase as persistent store

2016-10-19 Thread Igor Sapego
Could it be that your 8080 TCP port is already in use?

Best Regards,
Igor

On Wed, Oct 19, 2016 at 4:33 PM, Igor Sapego  wrote:

> Hi,
>
> I tried your example and it works for me. Could it be that there is an
> issue with you network configuration?
>
> Best Regards,
> Igor
>
> On Tue, Oct 18, 2016 at 9:48 PM, kvipin  wrote:
>
>> Hi Val,
>>
>> Please find the attached sample code tarball.
>> apache-ignite-tester-cs-5.xz
>> > apache-ignite-tester-cs-5.xz>
>>
>>
>> build:
>> $ tar -xvf apache-ignite-tester-cs-5.xz
>> $ cd apache-ignite-tester-cs-5
>> apache-ignite-tester-cs-5]$ ./configure
>> apache-ignite-tester-cs-5]$ make   // build nodemgr (server node) and
>> tester
>> (client node) program;
>> apache-ignite-tester-cs-5]$ cd src
>> src]$ make pstorecb   // package TestTableStore implementation. uses
>> couchbase java client sdk.
>>
>> run:
>> src]$ ./nodemgr -c config/test-tool-server.xml   // server node
>> src]$ ./tester -c config/test-tool-client.xml -o 11 -l 1 -i 100 -n 10   //
>> Select all(-o 11),  10 entries(-n 10) with tid between 90 (value for
>> option
>> i - value for option n) and 100 (-i 100) one iteration(-l 1)
>>
>> src]$ ./tester -h   // for more options
>>
>> thanks & regards,
>>
>>
>>
>> --
>> View this message in context: http://apache-ignite-users.705
>> 18.x6.nabble.com/Couchbase-as-persistent-store-tp7476p8350.html
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>
>
>


Re: Couchbase as persistent store

2016-10-19 Thread Igor Sapego
Hi,

I tried your example and it works for me. Could it be that there is an
issue with you network configuration?

Best Regards,
Igor

On Tue, Oct 18, 2016 at 9:48 PM, kvipin  wrote:

> Hi Val,
>
> Please find the attached sample code tarball.
> apache-ignite-tester-cs-5.xz
>  n8350/apache-ignite-tester-cs-5.xz>
>
>
> build:
> $ tar -xvf apache-ignite-tester-cs-5.xz
> $ cd apache-ignite-tester-cs-5
> apache-ignite-tester-cs-5]$ ./configure
> apache-ignite-tester-cs-5]$ make   // build nodemgr (server node) and
> tester
> (client node) program;
> apache-ignite-tester-cs-5]$ cd src
> src]$ make pstorecb   // package TestTableStore implementation. uses
> couchbase java client sdk.
>
> run:
> src]$ ./nodemgr -c config/test-tool-server.xml   // server node
> src]$ ./tester -c config/test-tool-client.xml -o 11 -l 1 -i 100 -n 10   //
> Select all(-o 11),  10 entries(-n 10) with tid between 90 (value for option
> i - value for option n) and 100 (-i 100) one iteration(-l 1)
>
> src]$ ./tester -h   // for more options
>
> thanks & regards,
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Couchbase-as-persistent-store-tp7476p8350.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>


Re: JVM Crash - SIGSEGV on GridUnsafe.copyMemory

2016-10-19 Thread Vladislav Pyatkov
Hi,

This look like in the system does not have enough memory.

It is difficult to say anything else, without additional information.
Memory consumption, system logs for the moment.

On Wed, Oct 19, 2016 at 2:00 PM, yfernando  wrote:

> Hi,
>
> We've had the multiple instances where a 16 node grid completely crashes
> with the following error.
>
> we use all our caches OFF HEAP caches in our configuration.
>
> We are running Ignite 1.7 and running Java 1.8u60-b27 on Linux
>
> Has anyone seen a similar issue?
>
> Thanks
>
> Yohan
>
> I've attached a few of the hs_err log files. Please let us know if you need
> anymore information.
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x7ff13f1c2524, pid=3402054, tid=140670445545216
> #
> # JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build
> 1.8.0_60-b27)
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode
> linux-amd64 compressed oops)
> # Problematic frame:
> # v  ~StubRoutines::jint_disjoint_arraycopy
> #
> # Core dump written. Default location:
> /prod/Java/apps/data-grid-server-ignite/2.2.31/bin/core or core.3402054
> #
> # If you would like to submit a bug report, please visit:
> #   http://bugreport.java.com/bugreport/crash.jsp
> #
>
> ---  T H R E A D  ---
>
> Current thread (0x7ff1552f9800):  JavaThread
> "pub-#12%DataGridServer-Production%" [_thread_in_Java, id=3402569,
> stack(0x7ff063dfe000,0x7ff063eff000)]
>
> siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr:
> 0x00076a80
>
>
> Stack: [0x7ff063dfe000,0x7ff063eff000],  sp=0x7ff063efc490,
> free space=1017k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
> v  ~StubRoutines::jint_disjoint_arraycopy
> J 6572 C2
> org.apache.ignite.internal.util.GridUnsafe.copyMemory(
> Ljava/lang/Object;JLjava/lang/Object;JJ)V
> (14 bytes) @ 0x7ff13f52f1a8 [0x7ff13f52f180+0x28]
> j
> org.apache.ignite.internal.util.io.GridUnsafeDataInput.
> readShortArray()[S+88
> j
> org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.
> readShortArray()[S+4
> J 25716 C2
> org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.
> readObjectOverride()Ljava/lang/Object;
> (883 bytes) @ 0x7ff1437bbc4c [0x7ff1437ba2a0+0x19ac]
> J 6523 C2 java.io.ObjectInputStream.readObject()Ljava/lang/Object; (124
> bytes) @ 0x7ff13f4e0d9c [0x7ff13f4e0760+0x63c]
> J 12272 C2
> org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.
> readFields(Ljava/lang/Object;Lorg/apache/ignite/marshaller/optimized/
> OptimizedClassDescriptor$ClassFields;)V
> (336 bytes) @ 0x7ff140833d78 [0x7ff140833980+0x3f8]
> J 12508 C2
> org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.
> readSerializable(Ljava/lang/Class;Ljava/util/List;Ljava/
> lang/reflect/Method;Lorg/apache/ignite/marshaller/optimized/
> OptimizedClassDescriptor$Fields;)Ljava/lang/Object;
> (176 bytes) @ 0x7ff14178ee74 [0x7ff14178e780+0x6f4]
> J 16693 C2
> org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(
> Lorg/apache/ignite/marshaller/optimized/OptimizedObjectInputStream;)
> Ljava/lang/Object;
> (130 bytes) @ 0x7ff140804868 [0x7ff1408044a0+0x3c8]
> J 25716 C2
> org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.
> readObjectOverride()Ljava/lang/Object;
> (883 bytes) @ 0x7ff1437bbe80 [0x7ff1437ba2a0+0x1be0]
> J 6523 C2 java.io.ObjectInputStream.readObject()Ljava/lang/Object; (124
> bytes) @ 0x7ff13f4e0d9c [0x7ff13f4e0760+0x63c]
> J 12272 C2
> org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.
> readFields(Ljava/lang/Object;Lorg/apache/ignite/marshaller/optimized/
> OptimizedClassDescriptor$ClassFields;)V
> (336 bytes) @ 0x7ff140833d78 [0x7ff140833980+0x3f8]
> J 12508 C2
> org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.
> readSerializable(Ljava/lang/Class;Ljava/util/List;Ljava/
> lang/reflect/Method;Lorg/apache/ignite/marshaller/optimized/
> OptimizedClassDescriptor$Fields;)Ljava/lang/Object;
> (176 bytes) @ 0x7ff14178ee74 [0x7ff14178e780+0x6f4]
> J 16693 C2
> org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(
> Lorg/apache/ignite/marshaller/optimized/OptimizedObjectInputStream;)
> Ljava/lang/Object;
> (130 bytes) @ 0x7ff140804868 [0x7ff1408044a0+0x3c8]
> J 25716 C2
> org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.
> readObjectOverride()Ljava/lang/Object;
> (883 bytes) @ 0x7ff1437bbe80 [0x7ff1437ba2a0+0x1be0]
> J 6560 C2
> org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.
> readArrayList()Ljava/util/ArrayList;
> (47 bytes) @ 0x7ff140621050 [0x7ff140620c80+0x3d0]
> J 25716 C2
> org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.
> readObjectOverride()Ljava/lang/Object;
> (883 bytes) @ 

JVM Crash - SIGSEGV on GridUnsafe.copyMemory

2016-10-19 Thread yfernando
Hi,

We've had the multiple instances where a 16 node grid completely crashes
with the following error.

we use all our caches OFF HEAP caches in our configuration.

We are running Ignite 1.7 and running Java 1.8u60-b27 on Linux

Has anyone seen a similar issue?

Thanks

Yohan

I've attached a few of the hs_err log files. Please let us know if you need
anymore information.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x7ff13f1c2524, pid=3402054, tid=140670445545216
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build
1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode
linux-amd64 compressed oops)
# Problematic frame:
# v  ~StubRoutines::jint_disjoint_arraycopy
#
# Core dump written. Default location:
/prod/Java/apps/data-grid-server-ignite/2.2.31/bin/core or core.3402054
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---  T H R E A D  ---

Current thread (0x7ff1552f9800):  JavaThread
"pub-#12%DataGridServer-Production%" [_thread_in_Java, id=3402569,
stack(0x7ff063dfe000,0x7ff063eff000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr:
0x00076a80


Stack: [0x7ff063dfe000,0x7ff063eff000],  sp=0x7ff063efc490, 
free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
v  ~StubRoutines::jint_disjoint_arraycopy
J 6572 C2
org.apache.ignite.internal.util.GridUnsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V
(14 bytes) @ 0x7ff13f52f1a8 [0x7ff13f52f180+0x28]
j 
org.apache.ignite.internal.util.io.GridUnsafeDataInput.readShortArray()[S+88
j 
org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readShortArray()[S+4
J 25716 C2
org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride()Ljava/lang/Object;
(883 bytes) @ 0x7ff1437bbc4c [0x7ff1437ba2a0+0x19ac]
J 6523 C2 java.io.ObjectInputStream.readObject()Ljava/lang/Object; (124
bytes) @ 0x7ff13f4e0d9c [0x7ff13f4e0760+0x63c]
J 12272 C2
org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readFields(Ljava/lang/Object;Lorg/apache/ignite/marshaller/optimized/OptimizedClassDescriptor$ClassFields;)V
(336 bytes) @ 0x7ff140833d78 [0x7ff140833980+0x3f8]
J 12508 C2
org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readSerializable(Ljava/lang/Class;Ljava/util/List;Ljava/lang/reflect/Method;Lorg/apache/ignite/marshaller/optimized/OptimizedClassDescriptor$Fields;)Ljava/lang/Object;
(176 bytes) @ 0x7ff14178ee74 [0x7ff14178e780+0x6f4]
J 16693 C2
org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(Lorg/apache/ignite/marshaller/optimized/OptimizedObjectInputStream;)Ljava/lang/Object;
(130 bytes) @ 0x7ff140804868 [0x7ff1408044a0+0x3c8]
J 25716 C2
org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride()Ljava/lang/Object;
(883 bytes) @ 0x7ff1437bbe80 [0x7ff1437ba2a0+0x1be0]
J 6523 C2 java.io.ObjectInputStream.readObject()Ljava/lang/Object; (124
bytes) @ 0x7ff13f4e0d9c [0x7ff13f4e0760+0x63c]
J 12272 C2
org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readFields(Ljava/lang/Object;Lorg/apache/ignite/marshaller/optimized/OptimizedClassDescriptor$ClassFields;)V
(336 bytes) @ 0x7ff140833d78 [0x7ff140833980+0x3f8]
J 12508 C2
org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readSerializable(Ljava/lang/Class;Ljava/util/List;Ljava/lang/reflect/Method;Lorg/apache/ignite/marshaller/optimized/OptimizedClassDescriptor$Fields;)Ljava/lang/Object;
(176 bytes) @ 0x7ff14178ee74 [0x7ff14178e780+0x6f4]
J 16693 C2
org.apache.ignite.marshaller.optimized.OptimizedClassDescriptor.read(Lorg/apache/ignite/marshaller/optimized/OptimizedObjectInputStream;)Ljava/lang/Object;
(130 bytes) @ 0x7ff140804868 [0x7ff1408044a0+0x3c8]
J 25716 C2
org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride()Ljava/lang/Object;
(883 bytes) @ 0x7ff1437bbe80 [0x7ff1437ba2a0+0x1be0]
J 6560 C2
org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readArrayList()Ljava/util/ArrayList;
(47 bytes) @ 0x7ff140621050 [0x7ff140620c80+0x3d0]
J 25716 C2
org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride()Ljava/lang/Object;
(883 bytes) @ 0x7ff1437bbbac [0x7ff1437ba2a0+0x190c]
J 6523 C2 java.io.ObjectInputStream.readObject()Ljava/lang/Object; (124
bytes) @ 0x7ff13f4e0d9c [0x7ff13f4e0760+0x63c]
J 12272 C2
org.apache.ignite.marshaller.optimized.OptimizedObjectInputStream.readFields(Ljava/lang/Object;Lorg/apache/ignite/marshaller/optimized/OptimizedClassDescriptor$ClassFields;)V
(336 bytes) @ 0x7ff140833d78 [0x7ff140833980+0x3f8]
J 12508 C2

Re: Does Apache Ignite use any proprietary api?

2016-10-19 Thread Vladimir Ozerov
Hi,

Thank you for pointing this out. I asked Spring folks to clarify what do
they mean.

Vladimir.

On Wed, Oct 19, 2016 at 10:11 AM, edwardk  wrote:

> Hi,
>
> Does Apache Ignite use any proprietary api within it.
>
> It seems the folks at Spring believe Apache Ignite uses proprietary api and
> so they do not want to support dependency management for it. Apache Ignite
> does not come in their list of supported caching providers in their popular
> framework Spring Boot.
>
> Check out the issue raised for it in Spring Boot as below.
> https://github.com/spring-projects/spring-boot/issues/6373
>
> I do not believe this to be true. I haven't see anything about that in the
> apache ignite site docs too.
>
> Can someone confirm on this.
>
>
> Thanks,
> edwardk
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Does-Apache-Ignite-use-any-proprietary-api-tp8353.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>


Re: Which ports does ignite cluster need to run normally?

2016-10-19 Thread voli.sri
Hi,

I have a couple of questions on the ports and ip address configuration.

Does the default ports to open apply even to Ignite client nodes too.

I mean do we need to have  the default ports opened even for service nodes 
which use Ignite node in Client mode.

TcpDiscoverySpi:47500~47600
TcpCommunicationSpi:47100~47200

We want to setup a cluster with 3 ignite nodes in server mode. The client
would be services which have embedded ignite node running in client mode.


My another query is on the ipaddresses config ,  In addition to the default
ports do we also need to ensure that every service node has information on
ip address of every other service node.

Do we need to have a ignite-config.xml containing the ip addresses of all
the 3 hosts replicated in all the 
3 service nodes, so that they can discover each other.

My concern here  is when we decide to add a new service node for scalability
, do we also need to have to update the ignite-configuration.xml in all the
service(client nodes) and all server nodes too.

Thanks,
voli.sri






--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Which-ports-does-ignite-cluster-need-to-run-normally-tp8031p8354.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Does Apache Ignite use any proprietary api?

2016-10-19 Thread edwardk
Hi,

Does Apache Ignite use any proprietary api within it.

It seems the folks at Spring believe Apache Ignite uses proprietary api and
so they do not want to support dependency management for it. Apache Ignite
does not come in their list of supported caching providers in their popular
framework Spring Boot.

Check out the issue raised for it in Spring Boot as below.
https://github.com/spring-projects/spring-boot/issues/6373

I do not believe this to be true. I haven't see anything about that in the
apache ignite site docs too.

Can someone confirm on this.


Thanks,
edwardk



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Does-Apache-Ignite-use-any-proprietary-api-tp8353.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.