ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandresh Pancholi (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-2377) Docker image hangs on Mac OS
Date Thu, 08 Sep 2016 14:24:20 GMT

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

Chandresh Pancholi edited comment on IGNITE-2377 at 9/8/16 2:23 PM:
--------------------------------------------------------------------

I have tested with Ignite latest master (1.7.1) and docker Version 1.12.0-a (build: 11213)
and it works fine and its not hanging anywhere. I followed steps given on ignite docker page
and in description of stackoverflow question.
1. sudo docker pull apacheignite/ignite-docker
2.docker run --expose=4700-4800 -it -p 47500-47600:47500-47600 -p 47100-47200:47100-47200
--net=host -e "CONFIG_URI=https://raw.githubusercontent.com/apache/ignite/master/examples/config/example-default.xml"
apacheignite/ignite-docker
------------------------------------------------------------------------------------------------
Log output
inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.Examples/Properties/AssemblyInfo.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.Examples/Services/IMapService.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.Examples/Services/ServicesExample.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Apache.Ignite.ExamplesDll.csproj
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Apache.Ignite.ExamplesDll.snk
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/Account.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/Address.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/Employee.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/EmployeeKey.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/Organization.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/OrganizationType.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Compute/AverageSalaryJob.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Compute/AverageSalaryTask.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Compute/CharacterCountClosure.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Compute/CharacterCountReducer.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Datagrid/ContinuousQueryFilter.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Datagrid/EmployeeStore.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Datagrid/EmployeeStoreFactory.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Datagrid/EmployeeStorePredicate.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Events/LocalListener.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Messaging/LocalListener.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Messaging/RemoteOrderedListener.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Messaging/RemoteUnorderedListener.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Messaging/Topic.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Properties/AssemblyInfo.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Services/MapService.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/README.txt
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/licenses/apache-2.0.txt
 
ignite/gridgain-professional-fabric-1.7.1/bin/ignite.sh, WARN: Failed to resolve JMX host
(JMX will be disabled): moby
[14:10:38]    __________  ________________ 
[14:10:38]   /  _/ ___/ |/ /  _/_  __/ __/ 
[14:10:38]  _/ // (7 7    // /  / / / _/   
[14:10:38] /___/\___/_/|_/___/ /_/ /___/  
[14:10:38] 
[14:10:38] ver. 1.7.1#20160809-sha1:5be40d3f
[14:10:38] 2016 Copyright(C) Apache Software Foundation
[14:10:38] 
[14:10:38] Ignite documentation: http://ignite.apache.org
[14:10:38] 
[14:10:38] Quiet mode.
[14:10:38]   ^-- Logging to file '/home/ignite_home/ignite/gridgain-professional-fabric-1.7.1/work/log/ignite-8081fae8.log'
[14:10:38]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
[14:10:38] 
[14:10:38] OS: Linux 4.4.15-moby amd64
[14:10:38] VM information: Java(TM) SE Runtime Environment 1.7.0_76-b13 Oracle Corporation
Java HotSpot(TM) 64-Bit Server VM 24.76-b04
[14:10:38] Configured plugins:
[14:10:38]   ^-- None
[14:10:38] 
[14:10:39] Security status [authentication=off, tls/ssl=off]
[14:10:41] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
[14:10:41] 
[14:10:41] Ignite node started OK (id=8081fae8)
[14:10:41] Topology snapshot [ver=1, servers=1, clients=0, CPUs=4, heap=1.0GB]


was (Author: chandresh pancholi):
I have tested with Ignite latest master (1.8) and docker Version 1.12.0-a (build: 11213) and
it works fine and its not hanging anywhere. I followed steps given on ignite docker page and
in description of stackoverflow question.
1. sudo docker pull apacheignite/ignite-docker
2.docker run --expose=4700-4800 -it -p 47500-47600:47500-47600 -p 47100-47200:47100-47200
--net=host -e "CONFIG_URI=https://raw.githubusercontent.com/apache/ignite/master/examples/config/example-default.xml"
apacheignite/ignite-docker
------------------------------------------------------------------------------------------------
Log output
inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.Examples/Properties/AssemblyInfo.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.Examples/Services/IMapService.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.Examples/Services/ServicesExample.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Apache.Ignite.ExamplesDll.csproj
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Apache.Ignite.ExamplesDll.snk
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/Account.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/Address.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/Employee.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/EmployeeKey.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/Organization.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Binary/OrganizationType.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Compute/AverageSalaryJob.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Compute/AverageSalaryTask.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Compute/CharacterCountClosure.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Compute/CharacterCountReducer.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Datagrid/ContinuousQueryFilter.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Datagrid/EmployeeStore.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Datagrid/EmployeeStoreFactory.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Datagrid/EmployeeStorePredicate.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Events/LocalListener.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Messaging/LocalListener.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Messaging/RemoteOrderedListener.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Messaging/RemoteUnorderedListener.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Messaging/Topic.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Properties/AssemblyInfo.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/Apache.Ignite.ExamplesDll/Services/MapService.cs
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/examples/README.txt
 
  inflating: ignite/gridgain-professional-fabric-1.7.1/platforms/dotnet/licenses/apache-2.0.txt
 
ignite/gridgain-professional-fabric-1.7.1/bin/ignite.sh, WARN: Failed to resolve JMX host
(JMX will be disabled): moby
[14:10:38]    __________  ________________ 
[14:10:38]   /  _/ ___/ |/ /  _/_  __/ __/ 
[14:10:38]  _/ // (7 7    // /  / / / _/   
[14:10:38] /___/\___/_/|_/___/ /_/ /___/  
[14:10:38] 
[14:10:38] ver. 1.7.1#20160809-sha1:5be40d3f
[14:10:38] 2016 Copyright(C) Apache Software Foundation
[14:10:38] 
[14:10:38] Ignite documentation: http://ignite.apache.org
[14:10:38] 
[14:10:38] Quiet mode.
[14:10:38]   ^-- Logging to file '/home/ignite_home/ignite/gridgain-professional-fabric-1.7.1/work/log/ignite-8081fae8.log'
[14:10:38]   ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or "-v" to ignite.{sh|bat}
[14:10:38] 
[14:10:38] OS: Linux 4.4.15-moby amd64
[14:10:38] VM information: Java(TM) SE Runtime Environment 1.7.0_76-b13 Oracle Corporation
Java HotSpot(TM) 64-Bit Server VM 24.76-b04
[14:10:38] Configured plugins:
[14:10:38]   ^-- None
[14:10:38] 
[14:10:39] Security status [authentication=off, tls/ssl=off]
[14:10:41] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
[14:10:41] 
[14:10:41] Ignite node started OK (id=8081fae8)
[14:10:41] Topology snapshot [ver=1, servers=1, clients=0, CPUs=4, heap=1.0GB]

> Docker image hangs on Mac OS
> ----------------------------
>
>                 Key: IGNITE-2377
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2377
>             Project: Ignite
>          Issue Type: Wish
>    Affects Versions: ignite-1.4
>            Reporter: Denis Magda
>            Assignee: Chandresh Pancholi
>              Labels: newbie
>             Fix For: 1.8
>
>
> Docker hangs at the point when {{CommandLineRandomNumberGenerator}} is being executed.
The reason is that the current and previous Docker version has some bug that can be overcame
if to put {{System.exit(0)}} at the end of {{main(...)}} function.
> More investigation details and steps to reproduce can be found here:
> http://stackoverflow.com/questions/34661934/ignite-running-in-docker-is-general-java-docker-issue
> It makes sense to add {{System.exit(0)}} to all our classes that are executed by {{ignite.bat}}
or {{ignite.sh}} because it's not harmful in any case.



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

Mime
View raw message