+ APPLICATION_WEB_PROXY_BASE=/service/flink
+ add_flink_configurations
+ export FLINK_JAVA_OPTS=
+ FLINK_JAVA_OPTS=
+ export 'FLINK_JAVA_OPTS= -Dblob.server.port=19071'
+ FLINK_JAVA_OPTS=' -Dblob.server.port=19071'
+ export 'FLINK_JAVA_OPTS= -Dblob.server.port=19071 -Djobmanager.heap.mb=256'
+ FLINK_JAVA_OPTS=' -Dblob.server.port=19071 -Djobmanager.heap.mb=256'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker build -t st2 . | |
Sending build context to Docker daemon 5.632 kB | |
Sending build context to Docker daemon | |
Step 0 : FROM dockerfile/ubuntu | |
Pulling repository dockerfile/ubuntu | |
b4e54ddfb2af: Download complete | |
511136ea3c5a: Download complete | |
d497ad3926c8: Download complete | |
ccb62158e970: Download complete | |
e791be0477f2: Download complete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
st2 run core.local uname | |
... | |
+-----------------+---------------------------------------------------------+ | |
| Property | Value | | |
+-----------------+---------------------------------------------------------+ | |
| id | 545d4aa2bcee620714035670 | | |
| context | { | | |
| | "user": "stanley" | | |
| | } | | |
| parameters | { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -v stanley@localhost -i ./stanley_rsa | |
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 | |
debug1: Reading configuration data /etc/ssh/ssh_config | |
debug1: /etc/ssh/ssh_config line 19: Applying options for * | |
debug1: Connecting to localhost [::1] port 22. | |
debug1: Connection established. | |
debug1: identity file ./stanley_rsa type 1 | |
debug1: identity file ./stanley_rsa-cert type -1 | |
debug1: Enabling compatibility mode for protocol 2.0 | |
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ root@a9d91db18b1d:~ ]$ st2 run core.local 'bash -c date' | |
... | |
+-----------------+---------------------------------------------------------+ | |
| Property | Value | | |
+-----------------+---------------------------------------------------------+ | |
| id | 545d558031851a033c97847d | | |
| context | { | | |
| | "user": "stanley" | | |
| | } | | |
| parameters | { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> st2express: Running provisioner: shell... | |
st2express: Running: inline script | |
==> st2express: stdin: is not a tty | |
==> st2express: Running provisioner: shell... | |
st2express: Running: inline script | |
==> st2express: stdin: is not a tty | |
==> st2express: ########## Detected Distro is Ubuntu ########## | |
==> st2express: ########## Creating system user: stanley ########## | |
==> st2express: ########## Generating system user ssh keys ########## | |
==> st2express: Generating public/private rsa key pair. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-08-12 17:07:53,843 ERROR [:] [] [] [] [tp1843470554-15] [i.g.i.g.r.handler.ExceptionHandler ] Exception in API for request [io.github.ibuildthecloud.gdapi.request.ApiRequest@57f8b993] java.lang.RuntimeException: org.apache.http.conn.ConnectTimeoutException: Connect to github.com:443 [github.com/192.30.252.128] failed: Connection timed out | |
at io.cattle.platform.iaas.api.auth.github.TokenResourceManager.createInternal(TokenResourceManager.java:52) ~[cattle-iaas-auth-logic-0.5.0-SNAPSHOT.jar:na] | |
at io.github.ibuildthecloud.gdapi.request.resource.impl.AbstractBaseResourceManager.create(AbstractBaseResourceManager.java:115) ~[cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na] | |
at io.github.ibuildthecloud.gdapi.request.handler.ResourceManagerRequestHandler.generate(ResourceManagerRequestHandler.java:39) ~[cattle-framework-java-server-0.5.0-SNAPSHOT.jar:na] | |
at io.github.ibuildthecloud.gdapi.request.handler.AbstractResponseGenerator.handle(AbstractResponseGenerator.java:14) ~[cattle-framework-java-server-0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When trying to connect auth to a private github instance, you might get this error: | |
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target | |
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) ~[na:1.7.0_79] | |
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1916) ~[na:1.7.0_79] | |
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279) ~[na:1.7.0_79] | |
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273) ~[na:1.7.0_79] | |
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1469) ~[na:1.7.0_79] | |
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:213) ~[na:1.7.0_79] | |
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901) ~[na:1.7.0_79] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
demo-app: | |
image: ehazlett/docker-demo:dcus | |
networks: | |
- app_net | |
ports: | |
- 8080:8080 | |
deploy: | |
mode: replicated |
Thank you for your code submission and I hope you find this review useful.
#!/usr/bin/env ruby
require 'bundler/setup'
require 'octokit'
OlderNewer