[jira] [Commented] (IGNITE-13279) Ignition.start failing with error java.lang.IllegalStateException: Failed to parse version: -1595322995-

2020-08-04 Thread Keshava Munegowda (Jira)


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

Keshava Munegowda commented on IGNITE-13279:


I have created another JIIRA : 
https://issues.apache.org/jira/browse/IGNITE-13325

> Ignition.start failing with error java.lang.IllegalStateException: Failed to 
> parse version: -1595322995-
> 
>
> Key: IGNITE-13279
> URL: https://issues.apache.org/jira/browse/IGNITE-13279
> Project: Ignite
>  Issue Type: Bug
>  Components: examples, general
>Affects Versions: 2.8.1
>Reporter: Keshava Munegowda
>Priority: Critical
> Fix For: 2.8.1
>
>
> I am using the Apache ignite : apache-ignite-2.8.1-bin
> I started the apache iginite node using : ./bin/ignite.sh 
> ./examples/config/example-ignite.xml
> The node is successful started with this message:
> ```
> [root@mdw apache-ignite-2.8.1-bin]# ./bin/ignite.sh 
> ./examples/config/example-ignite.xml
> [02:19:43] __ 
> [02:19:43] / _/ ___/ |/ / _/_ __/ __/
> [02:19:43] _/ // (7 7 // / / / / _/
> [02:19:43] /___/\___/_/|_/___/ /_/ /___/
> [02:19:43]
> [02:19:43] ver. 2.8.1#20200521-sha1:86422096
> [02:19:43] 2020 Copyright(C) Apache Software Foundation
> [02:19:43]
> [02:19:43] Ignite documentation: http://ignite.apache.org
> [02:19:43]
> [02:19:43] Quiet mode.
> [02:19:43] ^-- Logging to file 
> '/data/kmg/apache-ignite-2.8.1-bin/work/log/ignite-4135cf96.0.log'
> [02:19:43] ^-- Logging by 'JavaLogger [quiet=true, config=null]'
> [02:19:43] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or 
> "-v" to ignite.\{sh|bat}
> [02:19:43]
> [02:19:43] OS: Linux 3.10.0-1127.el7.x86_64 amd64
> [02:19:43] VM information: OpenJDK Runtime Environment 1.8.0_252-b09 Oracle 
> Corporation OpenJDK 64-Bit Server VM 25.252-b09
> [02:19:43] Please set system property '-Djava.net.preferIPv4Stack=true' to 
> avoid possible problems in mixed environments.
> [02:19:43] Configured plugins:
> [02:19:43] ^-- None
> [02:19:43]
> [02:19:43] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler 
> [tryStop=false, timeout=0, super=AbstractFailureHandler 
> [ignoredFailureTypes=UnmodifiableSet [SYSTEM_WORKER_BLOCKED, 
> SYSTEM_CRITICAL_OPERATION_TIMEOUT
> [02:19:46] 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.
> [02:19:46] Security status [authentication=off, tls/ssl=off]
> [02:19:48] Performance suggestions for grid (fix if possible)
> [02:19:48] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
> [02:19:48] ^-- Disable grid events (remove 'includeEventTypes' from 
> configuration)
> [02:19:48] ^-- Enable G1 Garbage Collector (add '-XX:+UseG1GC' to JVM options)
> [02:19:48] ^-- Specify JVM heap max size (add '-Xmx[g|G|m|M|k|K]' to 
> JVM options)
> [02:19:48] ^-- Set max direct memory size if getting 'OOME: Direct buffer 
> memory' (add '-XX:MaxDirectMemorySize=[g|G|m|M|k|K]' to JVM options)
> [02:19:48] ^-- Disable processing of calls to System.gc() (add 
> '-XX:+DisableExplicitGC' to JVM options)
> [02:19:48] ^-- Speed up flushing of dirty pages by OS (alter 
> vm.dirty_expire_centisecs parameter by setting to 500)
> [02:19:48] Refer to this page for more performance suggestions: 
> https://apacheignite.readme.io/docs/jvm-and-system-tuning
> [02:19:48]
> [02:19:48] To start Console Management & Monitoring run 
> ignitevisorcmd.\{sh|bat}
> [02:19:48] Data Regions Configured:
> [02:19:48] ^-- default [initSize=256.0 MiB, maxSize=75.5 GiB, 
> persistence=false, lazyMemoryAllocation=true]
> [02:19:48]
> [02:19:48] Ignite node started OK (id=4135cf96)
> [02:19:48] Topology snapshot [ver=1, locNode=4135cf96, servers=1, clients=0, 
> state=ACTIVE, CPUs=32, offheap=76.0GB, heap=27.0GB]
> [02:19:48] ^-- Baseline [id=0, size=1, online=1, offline=0]
> ```
> Now, I have benchmarking application, which start the apache iginitition 
> using the java API
> Ignition.start("examples/config/example-ignite.xml");
> This method is failing with below error log:
> ```
> 0 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding 
> PropertySource 'systemProperties' with lowest search precedence
> 2 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding 
> PropertySource 'systemEnvironment' with lowest search precedence
> 3 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initialized 
> StandardEnvironment with PropertySources [MapPropertySource@1928301845 
> {name='systemProperties', properties={java.runtime.name=OpenJDK Runtime 
> Environment, 
> 

[jira] [Commented] (IGNITE-13279) Ignition.start failing with error java.lang.IllegalStateException: Failed to parse version: -1595322995-

2020-08-03 Thread Aung Thaw Aye (Jira)


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

Aung Thaw Aye commented on IGNITE-13279:


Hi,

 

I also had same issue. After tracing its IgniteVersionUtils code. I found out 
that I am using properties file ("ignite.properties") in my application. Apache 
Ignite itself also have same properties file and they were conflict.

 

> Ignition.start failing with error java.lang.IllegalStateException: Failed to 
> parse version: -1595322995-
> 
>
> Key: IGNITE-13279
> URL: https://issues.apache.org/jira/browse/IGNITE-13279
> Project: Ignite
>  Issue Type: Bug
>  Components: examples, general
>Affects Versions: 2.8.1
>Reporter: Keshava Munegowda
>Priority: Critical
>
> I am using the Apache ignite : apache-ignite-2.8.1-bin
> I started the apache iginite node using : ./bin/ignite.sh 
> ./examples/config/example-ignite.xml
> The node is successful started with this message:
> ```
> [root@mdw apache-ignite-2.8.1-bin]# ./bin/ignite.sh 
> ./examples/config/example-ignite.xml
> [02:19:43] __ 
> [02:19:43] / _/ ___/ |/ / _/_ __/ __/
> [02:19:43] _/ // (7 7 // / / / / _/
> [02:19:43] /___/\___/_/|_/___/ /_/ /___/
> [02:19:43]
> [02:19:43] ver. 2.8.1#20200521-sha1:86422096
> [02:19:43] 2020 Copyright(C) Apache Software Foundation
> [02:19:43]
> [02:19:43] Ignite documentation: http://ignite.apache.org
> [02:19:43]
> [02:19:43] Quiet mode.
> [02:19:43] ^-- Logging to file 
> '/data/kmg/apache-ignite-2.8.1-bin/work/log/ignite-4135cf96.0.log'
> [02:19:43] ^-- Logging by 'JavaLogger [quiet=true, config=null]'
> [02:19:43] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or 
> "-v" to ignite.\{sh|bat}
> [02:19:43]
> [02:19:43] OS: Linux 3.10.0-1127.el7.x86_64 amd64
> [02:19:43] VM information: OpenJDK Runtime Environment 1.8.0_252-b09 Oracle 
> Corporation OpenJDK 64-Bit Server VM 25.252-b09
> [02:19:43] Please set system property '-Djava.net.preferIPv4Stack=true' to 
> avoid possible problems in mixed environments.
> [02:19:43] Configured plugins:
> [02:19:43] ^-- None
> [02:19:43]
> [02:19:43] Configured failure handler: [hnd=StopNodeOrHaltFailureHandler 
> [tryStop=false, timeout=0, super=AbstractFailureHandler 
> [ignoredFailureTypes=UnmodifiableSet [SYSTEM_WORKER_BLOCKED, 
> SYSTEM_CRITICAL_OPERATION_TIMEOUT
> [02:19:46] 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.
> [02:19:46] Security status [authentication=off, tls/ssl=off]
> [02:19:48] Performance suggestions for grid (fix if possible)
> [02:19:48] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
> [02:19:48] ^-- Disable grid events (remove 'includeEventTypes' from 
> configuration)
> [02:19:48] ^-- Enable G1 Garbage Collector (add '-XX:+UseG1GC' to JVM options)
> [02:19:48] ^-- Specify JVM heap max size (add '-Xmx[g|G|m|M|k|K]' to 
> JVM options)
> [02:19:48] ^-- Set max direct memory size if getting 'OOME: Direct buffer 
> memory' (add '-XX:MaxDirectMemorySize=[g|G|m|M|k|K]' to JVM options)
> [02:19:48] ^-- Disable processing of calls to System.gc() (add 
> '-XX:+DisableExplicitGC' to JVM options)
> [02:19:48] ^-- Speed up flushing of dirty pages by OS (alter 
> vm.dirty_expire_centisecs parameter by setting to 500)
> [02:19:48] Refer to this page for more performance suggestions: 
> https://apacheignite.readme.io/docs/jvm-and-system-tuning
> [02:19:48]
> [02:19:48] To start Console Management & Monitoring run 
> ignitevisorcmd.\{sh|bat}
> [02:19:48] Data Regions Configured:
> [02:19:48] ^-- default [initSize=256.0 MiB, maxSize=75.5 GiB, 
> persistence=false, lazyMemoryAllocation=true]
> [02:19:48]
> [02:19:48] Ignite node started OK (id=4135cf96)
> [02:19:48] Topology snapshot [ver=1, locNode=4135cf96, servers=1, clients=0, 
> state=ACTIVE, CPUs=32, offheap=76.0GB, heap=27.0GB]
> [02:19:48] ^-- Baseline [id=0, size=1, online=1, offline=0]
> ```
> Now, I have benchmarking application, which start the apache iginitition 
> using the java API
> Ignition.start("examples/config/example-ignite.xml");
> This method is failing with below error log:
> ```
> 0 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding 
> PropertySource 'systemProperties' with lowest search precedence
> 2 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding 
> PropertySource 'systemEnvironment' with lowest search precedence
> 3 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initialized 
> StandardEnvironment with PropertySources [MapPropertySource@1928301845 
> {name='systemProperties',