Code Monkey home page Code Monkey logo

geode-docker's Introduction

About me ๐Ÿ“ƒ

William Markito Oliveira is an energetic and passionate Technical Product Manager with expertise in software engineering and distributed systems. He leads a group of product managers working on innovative and emerging technologies, from inception to market, acting as a proxy for customers, business units, and engineering teams.

With proven success in global and distributed organizations, building high-performance teams and successful products, identifying and assessing needs for building new products, and managing product portfolios. He has experience in establishing internal and external partnerships delivering high-value outcomes. Engaged in open source by fostering communities, governance and looking forward to embracing new technologies and paradigms with a focus on distributed systems. Speaker at multiple software conferences and co-author of a few books on the field.

Currently focused on the intersection between serverless, cloud computing, and Kubernetes, looking forward to applying AI/ML concepts whenever possible.

For more information ๐Ÿ“ซ๐Ÿ’ฌ

You can visit my website - https://markito.io or find me on twitter @william_markito

geode-docker's People

Contributors

markito avatar omallassi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

geode-docker's Issues

docker-compose scale server has port issues

Tried starting containers using docker-compose. Initial startup of locator and server works well, however, scaling of the cluster fails - error message below:

$ docker-compose scale server=3
WARNING: The "server" service specifies a port on the host. If multiple containers for this service are created on a single host, the port will clash.
Creating and starting 2 ... error
Creating and starting 3 ... error

ERROR: for 2  failed to create endpoint composer_server_2 on network bridge: Bind for 0.0.0.0:40404 failed: port is already allocated
ERROR: for 3  failed to create endpoint composer_server_3 on network bridge: Bind for 0.0.0.0:40404 failed: port is already allocated

Does this script require an update?

Trouble connecting to server

Hi,

I am having trouble connecting to server that is created inside container.
Locator uses internal hostname to identify the server and client is not aware of this name.
How would one resolve this and have you tried connecting from a client to a server created inside container?

I tried assigning host name to container using -h option to "docker run" command. But that doesn't seem to help either.

[fine 2017/05/24 14:52:07.079 PDT <RMI TCP Connection(2)-127.0.0.1> tid=0x11] SubscriptionManager - discovered subscription servers [9ade546c2288:40404]

[info 2017/05/24 14:52:07.080 PDT <poolTimer-gemfire-pool-2> tid=0x6b] AutoConnectionSource discovered new locators [9ade546c2288:10334]

[fine 2017/05/24 14:52:07.080 PDT <poolTimer-gemfire-pool-3> tid=0x6c] Error attempting to connect to 9ade546c2288:40404: 
java.net.UnknownHostException: 9ade546c2288
	at java.net.InetAddress.getAllByName0(InetAddress.java:1280)
	at java.net.InetAddress.getAllByName(InetAddress.java:1192)
	at java.net.InetAddress.getAllByName(InetAddress.java:1126)
	at java.net.InetAddress.getByName(InetAddress.java:1076)
	at com.gemstone.gemfire.cache.client.internal.ConnectionImpl.connect(ConnectionImpl.java:98)
	at com.gemstone.gemfire.cache.client.internal.ConnectionFactoryImpl.createClientToServerConnection(ConnectionFactoryImpl.java:112)
	at com.gemstone.gemfire.cache.client.internal.ConnectionFactoryImpl.createClientToServerConnection(ConnectionFactoryImpl.java:217)
	at com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl.prefillConnection(ConnectionManagerImpl.java:787)
	at com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl.prefill(ConnectionManagerImpl.java:730)
	at com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl$PrefillConnectionsTask.run2(ConnectionManagerImpl.java:884)
	at com.gemstone.gemfire.cache.client.internal.PoolImpl$PoolTask.run(PoolImpl.java:1189)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)

Thanks,
Mangesh

Multiple Docker hosts

Hi,

Thanks for this, it is really useful.

Could you also provide an example of running this as a cluster on 2 Docker hosts please?

Downloading Java

When I try to build the container I get the following error:

--2017-11-13 09:45:57--  http://download.oracle.com/otn-pub/java/jdk/8u72-b15/jdk-8u72-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 92.122.192.179, 92.122.192.234
Connecting to download.oracle.com (download.oracle.com)|92.122.192.179|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u72-b15/jdk-8u72-linux-x64.tar.gz [following]
--2017-11-13 09:45:57--  https://edelivery.oracle.com/otn-pub/java/jdk/8u72-b15/jdk-8u72-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 184.87.188.169, 2a02:26f0:ec:48a::2d3e, 2a02:26f0:ec:483::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|184.87.188.169|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/8u72-b15/jdk-8u72-linux-x64.tar.gz?AuthParam=1510566434_2ccf23887ca7fd21f9da8f0d9ec4189f [following]
--2017-11-13 09:45:57--  http://download.oracle.com/otn-pub/java/jdk/8u72-b15/jdk-8u72-linux-x64.tar.gz?AuthParam=1510566434_2ccf23887ca7fd21f9da8f0d9ec4189f
Connecting to download.oracle.com (download.oracle.com)|92.122.192.179|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-11-13 09:45:59 ERROR 404: Not Found.

Could you please have a look and maybe change the Java URL?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.