Re: HELLO WORLD GA EXAMPLE

2018-12-22 Thread zaleslaw
Sorry for the long delay, I missed your answer
Please, play with examples located here
https://github.com/apache/ignite/tree/master/examples/src/main/java/org/apache/ignite/examples/ml

For example, you could get
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/ml/knn/KNNClassificationExample.java
or
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/ml/regression/logistic/binary/LogisticRegressionSGDTrainerExample.java

Please run and write about results here or in separate thread



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


Re: HELLO WORLD GA EXAMPLE

2018-12-07 Thread matt egler
I guess but why isnt it showing up in zeppelin?

On Dec 7, 2018 2:52 AM, "Ilya Kasnacheev"  wrote:

Hello!

I don't see any errors here, looks like this example has finished
successfully.

Regards,

-- 
Ilya Kasnacheev


пт, 7 дек. 2018 г. в 07:07, AlphaMufasaOmega :

> Dear @Zaleslaw could you please provide working links to those examples?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Re: HELLO WORLD GA EXAMPLE

2018-12-06 Thread AlphaMufasaOmega
Dear @Zaleslaw could you please provide working links to those examples?



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


Re: HELLO WORLD GA EXAMPLE

2018-12-06 Thread AlphaMufasaOmega
After installing the files ignite-ml and ignite-rest-http from the optional
folder in /libs inside IGNITE_HOME folder please tell me if i missed any
files to put in /lib... I will try some of the other examples lol ;) I ran
the Hello-World example again and got the following error:

 4]]
[2018-12-06 22:35:54,022][INFO
][org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample.main()][root]
HELLO WORLD
[2018-12-06 22:35:54,023][INFO
][org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample.main()][root]
Avg Chromosome Fitness: 5.696
[2018-12-06 22:35:54,023][INFO
][org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample.main()][root]
##
[2018-12-06 22:35:54,027][INFO
][org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample.main()][GridTcpRestProtocol]
Command protocol successfully stopped: TCP binary
[2018-12-06 22:35:54,039][INFO
][org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample.main()][GridCacheProcessor]
Stopped cache [cacheName=ignite-sys-cache]
[2018-12-06 22:35:54,040][INFO
][org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample.main()][GridCacheProcessor]
Stopped cache [cacheName=geneCache]
[2018-12-06 22:35:54,040][INFO
][org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample.main()][GridCacheProcessor]
Stopped cache [cacheName=populationCache]
[2018-12-06 22:35:54,060][INFO
][org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample.main()][GridDeploymentLocalStore]
Removed undeployed class: GridDeployment [ts=1544153705052, depMode=SHARED,
clsLdr=java.net.URLClassLoader@1e6fe4a4,
clsLdrId=0bc9bb68761-8cfdde39-13ed-48f8-9f8a-7c26e65ff8c5, userVer=0,
loc=true,
sampleClsName=org.apache.ignite.internal.processors.service.GridServiceProcessor$ServiceDeploymentPredicate,
pendingUndeploy=false, undeployed=true, usage=0]
[2018-12-06 22:35:54,067][INFO
][org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample.main()][IgniteKernal]
 

>>> +-+
>>> Ignite ver. 2.6.0#20180710-sha1:669feacc5d3a4e60efcdd300dc8de99780f38eed
>>> stopped OK
>>> +-+
>>> Grid uptime: 00:00:49.068


Dec 06, 2018 10:35:54 PM java.util.logging.LogManager$RootLogger log
SEVERE: jvm-pause-detector-worker has been interrupted
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at
org.apache.ignite.internal.LongJVMPauseDetector$1.run(LongJVMPauseDetector.java:90)

[WARNING] thread
Thread[FileWatchdog,5,org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample]
was interrupted but is still alive after waiting at least 15000msecs
[WARNING] thread
Thread[FileWatchdog,5,org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample]
will linger despite being asked to die via interruption
[WARNING] NOTE: 1 thread(s) did not finish despite being asked to  via
interruption. This is not a problem with exec:java, it is a problem with the
running code. Although not serious, it should be remedied.
[WARNING] Couldn't destroy threadgroup
org.codehaus.mojo.exec.ExecJavaMojo$IsolatedThreadGroup[name=org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample,maxpri=10]
java.lang.IllegalThreadStateException
at java.lang.ThreadGroup.destroy(ThreadGroup.java:778)
at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:321)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at

Re: HELLO WORLD GA EXAMPLE

2018-12-04 Thread zaleslaw
Dear @AlphaMufasaOmega could you please run another ML examples like
KNNRegression example or LogisticRegression in ml-examples.

Could you post the result here or in separate thread? Will it be the same
problem or not?



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


Re: HELLO WORLD GA EXAMPLE

2018-11-30 Thread Ilya Kasnacheev
Hello!

GA examples are standalone as far as my understanding goes. You don't need
to launch Ignite node explicitly. Can you try killing it and restarting the
example?

Otherwise, as it tells you, enable peer-class-loading or add ML jars to
libs/

Regards,
-- 
Ilya Kasnacheev


пт, 30 нояб. 2018 г. в 10:24, AlphaMufasaOmega :

> In the terminal where I executed:
>
> user@PTFAssaultMachine:~/apache-ignite-fabric-2.6.0-bin/examples$ sudo mvn
> exec:java
>
> -Dexec.mainClass="org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample"
>
> The loop displays this strange recurring output:
>
> ]
> [2018-11-30 02:00:23,494][INFO ][grid-timeout-worker-#23][IgniteKernal]
> Metrics for local node (to disable set 'metricsLogFrequency' to 0)
> ^-- Node [id=99fe1608, uptime=00:11:00.704]
> ^-- H/N/C [hosts=1, nodes=2, CPUs=2]
> ^-- CPU [cur=0.83%, avg=1.3%, GC=0%]
> ^-- PageMemory [pages=3286]
> ^-- Heap [used=107MB, free=83.81%, comm=218MB]
> ^-- Non heap [used=70MB, free=-1%, comm=71MB]
> ^-- Outbound messages queue [size=0]
> ^-- Public thread pool [active=0, idle=0, qSize=0]
> ^-- System thread pool [active=0, idle=8, qSize=0]
> [2018-11-30 02:01:23,493][INFO ][grid-timeout-worker-#23][IgniteKernal]
> Metrics for local node (to disable set 'metricsLogFrequency' to 0)
> ^-- Node [id=99fe1608, uptime=00:12:00.710]
> ^-- H/N/C [hosts=1, nodes=2, CPUs=2]
> ^-- CPU [cur=0.67%, avg=1.27%, GC=0%]
> ^-- PageMemory [pages=3286]
> ^-- Heap [used=114MB, free=82.84%, comm=218MB]
> ^-- Non heap [used=70MB, free=-1%, comm=71MB]
> ^-- Outbound messages queue [size=0]
> ^-- Public thread pool [active=0, idle=0, qSize=0]
> ^-- System thread pool [active=0, idle=6, qSize=0]
> [2018-11-30 02:02:24,490][INFO ][tcp-disco-srvr-#3][TcpDiscoverySpi] TCP
> discovery accepted incoming connection [rmtAddr=/127.0.0.1, rmtPort=51869]
> [2018-11-30 02:02:24,824][INFO ][tcp-disco-srvr-#3][TcpDiscoverySpi] TCP
> discovery spawning a new thread for connection [rmtAddr=/127.0.0.1,
> rmtPort=51869]
> [2018-11-30 02:02:24,664][INFO ][tcp-disco-sock-reader-#5][TcpDiscoverySpi]
> Finished serving remote node connection [rmtAddr=/0:0:0:0:0:0:0:1:36991,
> rmtPort=36991
> [2018-11-30 02:02:24,829][INFO ][tcp-disco-sock-reader-#7][TcpDiscoverySpi]
> Started serving remote node connection [rmtAddr=/127.0.0.1:51869,
> rmtPort=51869]
> [2018-11-30 02:02:25,154][INFO ][grid-timeout-worker-#23][IgniteKernal]
> Metrics for local node (to disable set 'metricsLogFrequency' to 0)
> ^-- Node [id=99fe1608, uptime=00:13:02.368]
> ^-- H/N/C [hosts=1, nodes=2, CPUs=2]
> ^-- CPU [cur=1.17%, avg=1.25%, GC=0%]
> ^-- PageMemory [pages=3286]
> ^-- Heap [used=122MB, free=81.69%, comm=218MB]
> ^-- Non heap [used=70MB, free=-1%, comm=71MB]
> ^-- Outbound messages queue [size=0]
> ^-- Public thread pool [active=0, idle=0, qSize=0]
> ^-- System thread pool [active=0, idle=4, qSize=0]
> Nov 30, 2018 2:02:25 AM java.util.logging.LogManager$RootLogger log
> WARNING: Possible too long JVM pause: 3807 milliseconds.
> Nov 30, 2018 2:02:25 AM java.util.logging.LogManager$RootLogger log
> WARNING: Possible too long JVM pause: 723 milliseconds.
> Nov 30, 2018 2:02:29 AM java.util.logging.LogManager$RootLogger log
> WARNING: Possible too long JVM pause: 1166 milliseconds.
> [2018-11-30 02:03:25,151][INFO ][grid-timeout-worker-#23][IgniteKernal]
> Metrics for local node (to disable set 'metricsLogFrequency' to 0)
> ^-- Node [id=99fe1608, uptime=00:14:02.368]
> ^-- H/N/C [hosts=1, nodes=2, CPUs=2]
> ^-- CPU [cur=1.17%, avg=1.22%, GC=0%]
> ^-- PageMemory [pages=3286]
> ^-- Heap [used=128MB, free=80.72%, comm=218MB]
> ^-- Non heap [used=70MB, free=-1%, comm=71MB]
> ^-- Outbound messages queue [size=0]
> ^-- Public thread pool [active=0, idle=0, qSize=0]
> ^-- System thread pool [active=0, idle=6, qSize=0]
> [2018-11-30 02:04:25,212][INFO ][grid-timeout-worker-#23][IgniteKernal]
> Metrics for local node (to disable set 'metricsLogFrequency' to 0)
> ^-- Node [id=99fe1608, uptime=00:15:02.429]
> ^-- H/N/C [hosts=1, nodes=2, CPUs=2]
> ^-- CPU [cur=0.67%, avg=1.19%, GC=0%]
> ^-- PageMemory [pages=3286]
> ^-- Heap [used=134MB, free=79.79%, comm=218MB]
> ^-- Non heap [used=70MB, free=-1%, comm=71MB]
> ^-- Outbound messages queue [size=0]
> ^-- Public thread pool [active=0, idle=0, qSize=0]
> ^-- System thread pool [active=0, idle=6, qSize=0]
> [2018-11-30 02:05:25,355][INFO ][grid-timeout-worker-#23][IgniteKernal]
> Metrics for local node (to disable set 'metricsLogFrequency' to 0)
> ^-- Node [id=99fe1608, uptime=00:16:02.571]
> ^-- H/N/C [hosts=1, nodes=2, CPUs=2]
> ^-- CPU [cur=0.67%, avg=1.16%, GC=0%]
> ^-- PageMemory [pages=3286]
> ^-- Heap [used=140MB, free=78.91%, comm=218MB]
> ^-- Non heap [used=70MB, free=-1%, comm=71MB]
> ^-- Outbound messages queue [size=0]
> ^-- Public 

Re: HELLO WORLD GA EXAMPLE

2018-11-29 Thread AlphaMufasaOmega
In the terminal where I executed:

user@PTFAssaultMachine:~/apache-ignite-fabric-2.6.0-bin/examples$ sudo mvn
exec:java
-Dexec.mainClass="org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample"

The loop displays this strange recurring output:

]
[2018-11-30 02:00:23,494][INFO ][grid-timeout-worker-#23][IgniteKernal] 
Metrics for local node (to disable set 'metricsLogFrequency' to 0)
^-- Node [id=99fe1608, uptime=00:11:00.704]
^-- H/N/C [hosts=1, nodes=2, CPUs=2]
^-- CPU [cur=0.83%, avg=1.3%, GC=0%]
^-- PageMemory [pages=3286]
^-- Heap [used=107MB, free=83.81%, comm=218MB]
^-- Non heap [used=70MB, free=-1%, comm=71MB]
^-- Outbound messages queue [size=0]
^-- Public thread pool [active=0, idle=0, qSize=0]
^-- System thread pool [active=0, idle=8, qSize=0]
[2018-11-30 02:01:23,493][INFO ][grid-timeout-worker-#23][IgniteKernal] 
Metrics for local node (to disable set 'metricsLogFrequency' to 0)
^-- Node [id=99fe1608, uptime=00:12:00.710]
^-- H/N/C [hosts=1, nodes=2, CPUs=2]
^-- CPU [cur=0.67%, avg=1.27%, GC=0%]
^-- PageMemory [pages=3286]
^-- Heap [used=114MB, free=82.84%, comm=218MB]
^-- Non heap [used=70MB, free=-1%, comm=71MB]
^-- Outbound messages queue [size=0]
^-- Public thread pool [active=0, idle=0, qSize=0]
^-- System thread pool [active=0, idle=6, qSize=0]
[2018-11-30 02:02:24,490][INFO ][tcp-disco-srvr-#3][TcpDiscoverySpi] TCP
discovery accepted incoming connection [rmtAddr=/127.0.0.1, rmtPort=51869]
[2018-11-30 02:02:24,824][INFO ][tcp-disco-srvr-#3][TcpDiscoverySpi] TCP
discovery spawning a new thread for connection [rmtAddr=/127.0.0.1,
rmtPort=51869]
[2018-11-30 02:02:24,664][INFO ][tcp-disco-sock-reader-#5][TcpDiscoverySpi]
Finished serving remote node connection [rmtAddr=/0:0:0:0:0:0:0:1:36991,
rmtPort=36991
[2018-11-30 02:02:24,829][INFO ][tcp-disco-sock-reader-#7][TcpDiscoverySpi]
Started serving remote node connection [rmtAddr=/127.0.0.1:51869,
rmtPort=51869]
[2018-11-30 02:02:25,154][INFO ][grid-timeout-worker-#23][IgniteKernal] 
Metrics for local node (to disable set 'metricsLogFrequency' to 0)
^-- Node [id=99fe1608, uptime=00:13:02.368]
^-- H/N/C [hosts=1, nodes=2, CPUs=2]
^-- CPU [cur=1.17%, avg=1.25%, GC=0%]
^-- PageMemory [pages=3286]
^-- Heap [used=122MB, free=81.69%, comm=218MB]
^-- Non heap [used=70MB, free=-1%, comm=71MB]
^-- Outbound messages queue [size=0]
^-- Public thread pool [active=0, idle=0, qSize=0]
^-- System thread pool [active=0, idle=4, qSize=0]
Nov 30, 2018 2:02:25 AM java.util.logging.LogManager$RootLogger log
WARNING: Possible too long JVM pause: 3807 milliseconds.
Nov 30, 2018 2:02:25 AM java.util.logging.LogManager$RootLogger log
WARNING: Possible too long JVM pause: 723 milliseconds.
Nov 30, 2018 2:02:29 AM java.util.logging.LogManager$RootLogger log
WARNING: Possible too long JVM pause: 1166 milliseconds.
[2018-11-30 02:03:25,151][INFO ][grid-timeout-worker-#23][IgniteKernal] 
Metrics for local node (to disable set 'metricsLogFrequency' to 0)
^-- Node [id=99fe1608, uptime=00:14:02.368]
^-- H/N/C [hosts=1, nodes=2, CPUs=2]
^-- CPU [cur=1.17%, avg=1.22%, GC=0%]
^-- PageMemory [pages=3286]
^-- Heap [used=128MB, free=80.72%, comm=218MB]
^-- Non heap [used=70MB, free=-1%, comm=71MB]
^-- Outbound messages queue [size=0]
^-- Public thread pool [active=0, idle=0, qSize=0]
^-- System thread pool [active=0, idle=6, qSize=0]
[2018-11-30 02:04:25,212][INFO ][grid-timeout-worker-#23][IgniteKernal] 
Metrics for local node (to disable set 'metricsLogFrequency' to 0)
^-- Node [id=99fe1608, uptime=00:15:02.429]
^-- H/N/C [hosts=1, nodes=2, CPUs=2]
^-- CPU [cur=0.67%, avg=1.19%, GC=0%]
^-- PageMemory [pages=3286]
^-- Heap [used=134MB, free=79.79%, comm=218MB]
^-- Non heap [used=70MB, free=-1%, comm=71MB]
^-- Outbound messages queue [size=0]
^-- Public thread pool [active=0, idle=0, qSize=0]
^-- System thread pool [active=0, idle=6, qSize=0]
[2018-11-30 02:05:25,355][INFO ][grid-timeout-worker-#23][IgniteKernal] 
Metrics for local node (to disable set 'metricsLogFrequency' to 0)
^-- Node [id=99fe1608, uptime=00:16:02.571]
^-- H/N/C [hosts=1, nodes=2, CPUs=2]
^-- CPU [cur=0.67%, avg=1.16%, GC=0%]
^-- PageMemory [pages=3286]
^-- Heap [used=140MB, free=78.91%, comm=218MB]
^-- Non heap [used=70MB, free=-1%, comm=71MB]
^-- Outbound messages queue [size=0]
^-- Public thread pool [active=0, idle=0, qSize=0]
^-- System thread pool [active=0, idle=6, qSize=0]
[2018-11-30 02:06:34,817][INFO ][grid-timeout-worker-#23][IgniteKernal] 
Metrics for local node (to disable set 'metricsLogFrequency' to 0)
^-- Node [id=99fe1608, uptime=00:17:12.033]
^-- H/N/C [hosts=1, nodes=2, CPUs=2]
^-- CPU [cur=0.67%, avg=1.15%, GC=0%]
^-- PageMemory [pages=3286]
^-- Heap [used=146MB, free=77.98%, comm=218MB]
^-- Non heap [used=70MB, free=-1%, comm=71MB]

Re: HELLO WORLD GA EXAMPLE

2018-11-29 Thread AlphaMufasaOmega
I did end up getting a node started by running the following command:

user@PTFAssaultMachine:~/apache-ignite-fabric-2.6.0-bin$ bin/ignite.sh
/home/user/apache-ignite-fabric-2.6.0-bin/examples/config/example-ignite.xml

This started  a node.. I then followed the instructions as provided in the
Hello World example found here:

https://apacheignite.readme.io/docs/genetic-algorithms <<-by title
Apache Zeppelin Integration

and ran the following command in another terminal with a node,zeppelin
already started in different terminal windows:

user@PTFAssaultMachine:~/apache-ignite-fabric-2.6.0-bin/examples$ sudo mvn
exec:java
-Dexec.mainClass="org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample"
 

This results in a strange situation where zeppelin works but doesn't show
the tables as in the Hello World
example(https://apacheignite.readme.io/docs/genetic-algorithms) we get a
strange stack from the apache ignite node:

user@PTFAssaultMachine:~/apache-ignite-fabric-2.6.0-bin$ bin/ignite.sh
/home/user/apache-ignite-fabric-2.6.0-bin/examples/config/example-ignite.xml
[01:40:26]__   
[01:40:26]   /  _/ ___/ |/ /  _/_  __/ __/ 
[01:40:26]  _/ // (7 7// /  / / / _/   
[01:40:26] /___/\___/_/|_/___/ /_/ /___/  
[01:40:26] 
[01:40:26] ver. 2.6.0#20180710-sha1:669feacc
[01:40:26] 2018 Copyright(C) Apache Software Foundation
[01:40:26] 
[01:40:26] Ignite documentation: http://ignite.apache.org
[01:40:26] 
[01:40:26] Quiet mode.
[01:40:26]   ^-- Logging to file
'/home/user/apache-ignite-fabric-2.6.0-bin/work/log/ignite-b9aef4b4.0.log'
[01:40:26]   ^-- Logging by 'JavaLogger [quiet=true, config=null]'
[01:40:26]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false
or "-v" to ignite.{sh|bat}
[01:40:26] 
[01:40:26] OS: Linux 4.14.18-1.pvops.qubes.x86_64 amd64
[01:40:26] VM information: OpenJDK Runtime Environment
1.8.0_171-8u171-b11-1~deb9u1-b11 Oracle Corporation OpenJDK 64-Bit Server VM
25.171-b11
[01:40:26] Configured plugins:
[01:40:26]   ^-- None
[01:40:26] 
[01:40:26] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler
[tryStop=false, timeout=0]]
[01:40:26] Message queue limit is set to 0 which may lead to potential OOMEs
when running cache operations in FULL_ASYNC or PRIMARY_SYNC modes due to
message queues growth on sender and receiver sides.
[01:40:26] Security status [authentication=off, tls/ssl=off]
[01:40:29] Nodes started on local machine require more than 20% of physical
RAM what can lead to significant slowdown due to swapping (please decrease
JVM heap size, data region size or checkpoint buffer size) [required=1680MB,
available=2992MB]
[01:40:29] Performance suggestions for grid  (fix if possible)
[01:40:29] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[01:40:29]   ^-- Disable grid events (remove 'includeEventTypes' from
configuration)
[01:40:29]   ^-- Enable G1 Garbage Collector (add '-XX:+UseG1GC' to JVM
options)
[01:40:29]   ^-- Set max direct memory size if getting 'OOME: Direct buffer
memory' (add '-XX:MaxDirectMemorySize=[g|G|m|M|k|K]' to JVM options)
[01:40:29]   ^-- Disable processing of calls to System.gc() (add
'-XX:+DisableExplicitGC' to JVM options)
[01:40:29] Refer to this page for more performance suggestions:
https://apacheignite.readme.io/docs/jvm-and-system-tuning
[01:40:29] 
[01:40:29] To start Console Management & Monitoring run
ignitevisorcmd.{sh|bat}
[01:40:29] 
[01:40:29] Ignite node started OK (id=b9aef4b4)
[01:40:29] Topology snapshot [ver=1, servers=1, clients=0, CPUs=2,
offheap=0.58GB, heap=1.0GB]
[01:40:29]   ^-- Node [id=B9AEF4B4-07C4-4BF3-B108-4B6907E4359F,
clusterState=ACTIVE]
[01:40:29] Data Regions Configured:
[01:40:29]   ^-- default [initSize=256.0 MiB, maxSize=598.5 MiB,
persistenceEnabled=false]
[01:49:21] Topology snapshot [ver=2, servers=2, clients=0, CPUs=2,
offheap=1.2GB, heap=1.7GB]
[01:49:21]   ^-- Node [id=B9AEF4B4-07C4-4BF3-B108-4B6907E4359F,
clusterState=ACTIVE]
[01:49:21] Data Regions Configured:
[01:49:21]   ^-- default [initSize=256.0 MiB, maxSize=598.5 MiB,
persistenceEnabled=false]
[01:49:23,837][SEVERE][tcp-disco-msg-worker-#2][TcpDiscoverySpi] Failed to
unmarshal discovery custom message.
class org.apache.ignite.IgniteCheckedException: Failed to find class with
given class loader for unmarshalling (make sure same versions of all classes
are available on all nodes or enable peer-class-loading)
[clsLdr=sun.misc.Launcher$AppClassLoader@764c12b6,
cls=org.apache.ignite.ml.genetic.functions.GAGridFunction]
at
org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal0(JdkMarshaller.java:144)
at
org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:94)
at
org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal0(JdkMarshaller.java:161)
at
org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:82)
at

Re: HELLO WORLD GA EXAMPLE

2018-11-29 Thread AlphaMufasaOmega
Dear techbysample,

   there is no example-config.xml the only files that are in tat folder are
example-ignite.xml, example-default.xml, example data-regions.xml, and
example-chache. Which one of these .xml files should I use? I am running
this in a debian-9 virtual machine inside qubes4.0 Linux, after running the
command that you recommended I get the follow stack:

user@PTFAssaultMachine:~/apache-ignite-fabric-2.6.0-bin$ bin/ignite.sh
IGNITE_HOME/examples/config/example-config.xml 
class org.apache.ignite.IgniteException: Spring XML configuration path is
invalid: IGNITE_HOME/examples/config/example-config.xml. Note that this path
should be either absolute or a relative local file system path, relative to
META-INF in classpath or valid URL to IGNITE_HOME.
at
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:990)
at org.apache.ignite.Ignition.start(Ignition.java:355)
at
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:301)
Caused by: class org.apache.ignite.IgniteCheckedException: Spring XML
configuration path is invalid:
IGNITE_HOME/examples/config/example-config.xml. Note that this path should
be either absolute or a relative local file system path, relative to
META-INF in classpath or valid URL to IGNITE_HOME.
at
org.apache.ignite.internal.util.IgniteUtils.resolveSpringUrl(IgniteUtils.java:3798)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:852)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:724)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:693)
at org.apache.ignite.Ignition.start(Ignition.java:352)
... 1 more
Caused by: java.net.MalformedURLException: no protocol:
IGNITE_HOME/examples/config/example-config.xml
at java.net.URL.(URL.java:593)
at java.net.URL.(URL.java:490)
at java.net.URL.(URL.java:439)
at
org.apache.ignite.internal.util.IgniteUtils.resolveSpringUrl(IgniteUtils.java:3789)
... 5 more
Failed to start grid: Spring XML configuration path is invalid:
IGNITE_HOME/examples/config/example-config.xml. Note that this path should
be either absolute or a relative local file system path, relative to
META-INF in classpath or valid URL to IGNITE_HOME.


This was the error I had before that I ran into... I change IGNITE_HOME to
the absolute path of the Direcotry and still got the following error stack:

user@PTFAssaultMachine:~/apache-ignite-fabric-2.6.0-bin$ bin/ignite.sh
/home/user/apache-ignite-fabric-2.6.0-bin/examples/config/example-config.xml
class org.apache.ignite.IgniteException: Spring XML configuration path is
invalid:
/home/user/apache-ignite-fabric-2.6.0-bin/examples/config/example-config.xml.
Note that this path should be either absolute or a relative local file
system path, relative to META-INF in classpath or valid URL to IGNITE_HOME.
at
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:990)
at org.apache.ignite.Ignition.start(Ignition.java:355)
at
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:301)
Caused by: class org.apache.ignite.IgniteCheckedException: Spring XML
configuration path is invalid:
/home/user/apache-ignite-fabric-2.6.0-bin/examples/config/example-config.xml.
Note that this path should be either absolute or a relative local file
system path, relative to META-INF in classpath or valid URL to IGNITE_HOME.
at
org.apache.ignite.internal.util.IgniteUtils.resolveSpringUrl(IgniteUtils.java:3798)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:852)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:724)
at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:693)
at org.apache.ignite.Ignition.start(Ignition.java:352)
... 1 more
Caused by: java.net.MalformedURLException: no protocol:
/home/user/apache-ignite-fabric-2.6.0-bin/examples/config/example-config.xml
at java.net.URL.(URL.java:593)
at java.net.URL.(URL.java:490)
at java.net.URL.(URL.java:439)
at
org.apache.ignite.internal.util.IgniteUtils.resolveSpringUrl(IgniteUtils.java:3789)
... 5 more
Failed to start grid: Spring XML configuration path is invalid:
/home/user/apache-ignite-fabric-2.6.0-bin/examples/config/example-config.xml.
Note that this path should be either absolute or a relative local file
system path, relative to META-INF in classpath or valid URL to IGNITE_HOME.




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


Re: HELLO WORLD GA EXAMPLE

2018-11-29 Thread techbysample
AlphaMufasaOmega ,

Hello.  How many nodes are running?  Did you remember to start at least one

standalone Ignite node BEFORE running the HelloWorld GA Example?

I suspect from your logs that the node has stopped.  That is why Zeppelin
cannot connect

to Ignite.

Type the following to start a stand alone node PRIOR to running HelloWorld
GA Example :

 bin/ignite.sh IGNITE_HOME/examples/config/example-config.xml

As a result,  the HelloWorld GA node will stop, but you will have one Ignite
node standing.
I verified and was able to see the results in Apache Zeppelin as shown
below.




 


Best,

Turik








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