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

Derek Pierre commented on IGNITE-987:
-------------------------------------

Oracle JDK is being used. 

I am testing with two nodes (one on my windows machine - the machine specified 
in the TcpDiscoverySpi) and the one on the solaris machine. Does it matter that 
even though both nodes are running Java 7, they use different build numbers 
(solaris=build 1.7.0_11-b21 and windows=build 1.7.0_71-b14)?

1. Confirmed, all servers are using 1.1.0-incubating.

2. Yes I am setting the jdk marshaller as follows in my example-ignite.xml file:
{noformat}
 <property name="marshaller">
    <bean class="org.apache.ignite.marshaller.jdk.JdkMarshaller"/>
 </property>
{noformat}

3. The solaris node can start by itself, when the TcpDiscoverySpi bean is not 
specified. (Just to note that both machines can indeed ping each other)

> Unable to start node on Solaris platform
> ----------------------------------------
>
>                 Key: IGNITE-987
>                 URL: https://issues.apache.org/jira/browse/IGNITE-987
>             Project: Ignite
>          Issue Type: Bug
>          Components: compute
>         Environment: Solaris Sparc machine: SunOS tordevs02 5.11 11.1 sun4v 
> sparc SUNW,Sun-Fire-T200
>            Reporter: Derek Pierre
>
> We are looking at Apache Ignite for a proof-of-concept for some cluster work 
> we are doing and it seems to work great on Linux and Windows.
> However, the following is obtained when an attempt is made to start an ignite 
> node for the compute grid on a solaris machine.
> {noformat}
> bash-4.1$ ./startNode
> Jun 02, 2015 2:23:59 PM java.util.logging.LogManager$RootLogger log
> SEVERE: Failed to resolve default logging config file: 
> config/java.util.logging.properties
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger info
> INFO:
> >>>    __________  ________________
> >>>   /  _/ ___/ |/ /  _/_  __/ __/
> >>>  _/ // (7 7    // /  / / / _/
> >>> /___/\___/_/|_/___/ /_/ /___/
> >>>
> >>> ver. 1.0.0#20150328-sha1:5fc2cd05
> >>> 2015 Copyright(C) Apache Software Foundation
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Config URL: 
> file:/homes/dpierre/scratch/ignite-trunk/./example-ignite.xml
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Daemon mode: off
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: OS: SunOS 5.11 sparc
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: OS user: dpierre
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Language runtime: Java Platform API Specification ver. 1.7
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: VM information: Java(TM) SE Runtime Environment 1.7.0_11-b21 Oracle 
> Corporation Java HotSpot(TM) Server VM 23.6-b04
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: VM total memory: 0.89GB
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Remote Management [restart: off, REST: on, JMX (remote: off)]
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: IGNITE_HOME=null
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: VM arguments: [-DIGNITE_QUIET=false, -Xms512m]
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Configured caches ['ignite-marshaller-sys-cache', 'ignite-sys-cache', 
> 'ignite-atomics-sys-cache']
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: Peer class loading is enabled (disable it in production for 
> performance and deployment consistency reasons)
> Jun 02, 2015 2:24:00 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: This operating system has been tested less rigorously: SunOS 5.11 
> sparc. Our team will appreciate the feedback if you experience any problems 
> running ignite in this environment.
> Jun 02, 2015 2:24:01 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Non-loopback local IPs: 10.4.117.225, fe80:0:0:0:214:4fff:fea7:c9d4%2
> Jun 02, 2015 2:24:01 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Enabled local MACs: 00144FA7C9D4
> Jun 02, 2015 2:24:01 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Configured plugins:
> Jun 02, 2015 2:24:01 PM org.apache.ignite.logger.java.JavaLogger info
> INFO:   ^-- None
> Jun 02, 2015 2:24:01 PM org.apache.ignite.logger.java.JavaLogger info
> INFO:
> Jun 02, 2015 2:24:01 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Successfully bound to TCP port [port=47100, locHost=0.0.0.0/0.0.0.0]
> Jun 02, 2015 2:24:02 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: Checkpoints are disabled (to enable configure any GridCheckpointSpi 
> implementation)
> Jun 02, 2015 2:24:02 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: Collision resolution is disabled (all jobs will be activated upon 
> arrival).
> Jun 02, 2015 2:24:02 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: Swap space is disabled. To enable use FileSwapSpaceSpi.
> Jun 02, 2015 2:24:02 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: Indexing is disabled (to enable please configure GridIndexingSpi).
> Jun 02, 2015 2:24:02 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Security status [authentication=off]
> Jun 02, 2015 2:24:04 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Command protocol successfully started [name=TCP binary, 
> host=0.0.0.0/0.0.0.0, port=11211]
> Jun 02, 2015 2:24:05 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Successfully bound to TCP port [port=47500, localHost=0.0.0.0/0.0.0.0]
> Jun 02, 2015 2:24:05 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: Added listener for disabled event type: TASK_FINISHED
> Jun 02, 2015 2:24:05 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: Added listener for disabled event type: TASK_FAILED
> Jun 02, 2015 2:24:05 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: Added listener for disabled event type: JOB_MAPPED
> Jun 02, 2015 2:24:08 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Started cache [name=ignite-marshaller-sys-cache, mode=REPLICATED]
> Jun 02, 2015 2:24:08 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Started cache [name=ignite-atomics-sys-cache, mode=PARTITIONED]
> Jun 02, 2015 2:24:08 PM org.apache.ignite.logger.java.JavaLogger info
> INFO: Started cache [name=ignite-sys-cache, mode=REPLICATED]
> Jun 02, 2015 2:25:09 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: Retrying preload partition exchange due to timeout [done=false, 
> dummy=false, exchId=GridDhtPartitionExchangeId 
> [topVer=AffinityTopologyVersion [topVer=10, minorTopVer=0], nodeId=408faad1, 
> evt=NODE_JOINED], rcvdIds=[], rmtIds=[de1df81c], remaining=[de1df81c], 
> init=true, initFut=true, ready=true, replied=false, added=true, 
> oldest=de1df81c, oldestOrder=1, evtLatch=0, locNodeOrder=10, 
> locNodeId=408faad1-0309-4a82-bc04-ce669d4d8a4a]
> Jun 02, 2015 2:26:08 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: Failed to wait for initial partition map exchange. Possible reasons 
> are:
>   ^-- Transactions in deadlock.
>   ^-- Long running transactions (ignore if this is the case).
>   ^-- Unreleased explicit locks.
> Jun 02, 2015 2:26:09 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: Retrying preload partition exchange due to timeout [done=false, 
> dummy=false, exchId=GridDhtPartitionExchangeId 
> [topVer=AffinityTopologyVersion [topVer=10, minorTopVer=0], nodeId=408faad1, 
> evt=NODE_JOINED], rcvdIds=[], rmtIds=[de1df81c], remaining=[de1df81c], 
> init=true, initFut=true, ready=true, replied=false, added=true, 
> oldest=de1df81c, oldestOrder=1, evtLatch=0, locNodeOrder=10, 
> locNodeId=408faad1-0309-4a82-bc04-ce669d4d8a4a]
> Jun 02, 2015 2:27:09 PM org.apache.ignite.logger.java.JavaLogger warning
> WARNING: Retrying preload partition exchange due to timeout [done=false, 
> dummy=false, exchId=GridDhtPartitionExchangeId 
> [topVer=AffinityTopologyVersion [topVer=10, minorTopVer=0], nodeId=408faad1, 
> evt=NODE_JOINED], rcvdIds=[], rmtIds=[de1df81c], remaining=[de1df81c], 
> init=true, initFut=true, ready=true, replied=false, added=true, 
> oldest=de1df81c, oldestOrder=1, evtLatch=0, locNodeOrder=10, 
> locNodeId=408faad1-0309-4a82-bc04-ce669d4d8a4a]
> {noformat}
> Basically startup is stuck trying to reload partition exchange. This does not 
> happen on a linux machine.
> The ignite configuration looks like the following
> {noformat}
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
>   Licensed to the Apache Software Foundation (ASF) under one or more
>   contributor license agreements.  See the NOTICE file distributed with
>   this work for additional information regarding copyright ownership.
>   The ASF licenses this file to You under the Apache License, Version 2.0
>   (the "License"); you may not use this file except in compliance with
>   the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE-2.0
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>   See the License for the specific language governing permissions and
>   limitations under the License.
> -->
> <!--
>     Ignite configuration with all defaults and enabled p2p deployment and 
> enabled events.
> -->
> <beans xmlns="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";>
>     <bean id="ignite.cfg" 
> class="org.apache.ignite.configuration.IgniteConfiguration">
>         <!-- Set to true to enable distributed class loading for examples, 
> default is false. -->
>         <property name="peerClassLoadingEnabled" value="true"/>
>         <property name="networkTimeout" value="20000"/>
>         <!-- Load balancing -->
>         <property name="loadBalancingSpi">
>           <bean 
> class="org.apache.ignite.spi.loadbalancing.adaptive.AdaptiveLoadBalancingSpi">
>             <property name="loadProbe">
>               <bean 
> class="org.apache.ignite.spi.loadbalancing.adaptive.AdaptiveProcessingTimeLoadProbe">
>                 <constructor-arg value="true"/>
>               </bean>
>             </property>
>           </bean>
>         </property>
>         <!-- Explicitly configure TCP discovery SPI to provide list of 
> initial nodes. -->
>         <property name="discoverySpi">
>             <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
>                 <property name="ipFinder">
>                     <!--
>                         Ignite provides several options for automatic 
> discovery that can be used
>                         instead os static IP based discovery. For information 
> on all options refer
>                         to our documentation: 
> http://apacheignite.readme.io/docs/cluster-config
>                     -->
>                     <!-- Uncomment static IP finder to enable static-based 
> discovery of initial nodes. -->
>                     <!--<bean 
> class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">-->
>                     <bean 
> class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
>                         <property name="addresses">
>                             <list>
>                                 <!-- In distributed environment, replace with 
> actual host IP address. -->
>                                 <value>tor-dpierre.prod.quest.corp</value>
>                                 <value>10.4.114.29</value>
>                                 <value>10.4.115.198</value>
>                             </list>
>                         </property>
>                     </bean>
>                 </property>
>                 <property name="networkTimeout" value="20000"/>
>                 <property name="ackTimeout" value="20000"/>
>             </bean>
>         </property>
>     </bean>
> </beans>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to