Skip to content

Instantly share code, notes, and snippets.

@chaudum
Last active September 4, 2017 06:58
Show Gist options
  • Save chaudum/e2ea1f0050abac291d506ccc65b37500 to your computer and use it in GitHub Desktop.
Save chaudum/e2ea1f0050abac291d506ccc65b37500 to your computer and use it in GitHub Desktop.
christian@mac $ docker run -ti --rm -p 4200:4200 crate:2.1.5 crate -Ccluster.name=haudi -Cpath.home=/crate -Cnode.name=h1
Unable to find image 'crate:2.1.5' locally
2.1.5: Pulling from library/crate
019300c8a437: Already exists
4626b3670f77: Already exists
cb19096dde96: Already exists
36660792f216: Pull complete
396cdc59adea: Pull complete
ff7e07c6c2e1: Pull complete
51f0c97cefcf: Pull complete
4597233f7fa7: Pull complete
Digest: sha256:ec4c55d1767abbbddcc19b586ce2d9ac7e6cdfd180a7cfb789fbdf2cf3b5af70
Status: Downloaded newer image for crate:2.1.5
sh: -Cpath.home=/crate: unknown operand
starts CrateDB
Option Description
------ -----------
-C <KeyValuePair> Configure a setting
-V, --version Prints CrateDB version information and exits
-d, --daemonize Starts CrateDB in the background
-h, --help show help
-p, --pidfile <Path> Creates a pid file in the specified path on start
-q, --quiet Turns off standard ouput/error streams logging in console
-s, --silent show minimal output
-v, --verbose show verbose output
ERROR: setting [path.home] already set, saw [/crate] and [/crate]
christian@mac $ docker run -ti --rm -p 4200:4200 crate:2.1.6 crate -Ccluster.name=haudi -Cpath.home=/crate -Cnode.name=h1
[2017-09-04T06:57:00,483][INFO ][o.e.n.Node ] [h1] initializing ...
[2017-09-04T06:57:00,618][INFO ][o.e.e.NodeEnvironment ] [h1] using [1] data paths, mounts [[/data (/dev/sda1)]], net usable_space [57.3gb], net total_space [62.7gb], spins? [possibly], types [ext4]
[2017-09-04T06:57:00,619][INFO ][o.e.e.NodeEnvironment ] [h1] heap size [483.4mb], compressed ordinary object pointers [true]
[2017-09-04T06:57:01,263][INFO ][i.c.plugin ] [h1] plugins loaded: [lang-js, jmx-monitoring]
[2017-09-04T06:57:04,254][INFO ][o.e.p.PluginsService ] [h1] no modules loaded
[2017-09-04T06:57:04,257][INFO ][o.e.p.PluginsService ] [h1] loaded plugin [crate-azure-discovery]
[2017-09-04T06:57:04,257][INFO ][o.e.p.PluginsService ] [h1] loaded plugin [es-repository-hdfs]
[2017-09-04T06:57:04,257][INFO ][o.e.p.PluginsService ] [h1] loaded plugin [io.crate.plugin.BlobPlugin]
[2017-09-04T06:57:04,258][INFO ][o.e.p.PluginsService ] [h1] loaded plugin [io.crate.plugin.CrateCorePlugin]
[2017-09-04T06:57:04,259][INFO ][o.e.p.PluginsService ] [h1] loaded plugin [io.crate.plugin.HttpTransportPlugin]
[2017-09-04T06:57:04,259][INFO ][o.e.p.PluginsService ] [h1] loaded plugin [io.crate.plugin.PluginLoaderPlugin]
[2017-09-04T06:57:04,259][INFO ][o.e.p.PluginsService ] [h1] loaded plugin [io.crate.plugin.SrvPlugin]
[2017-09-04T06:57:04,259][INFO ][o.e.p.PluginsService ] [h1] loaded plugin [io.crate.udc.plugin.UDCPlugin]
[2017-09-04T06:57:04,259][INFO ][o.e.p.PluginsService ] [h1] loaded plugin [org.elasticsearch.discovery.ec2.Ec2DiscoveryPlugin]
[2017-09-04T06:57:04,260][INFO ][o.e.p.PluginsService ] [h1] loaded plugin [org.elasticsearch.repositories.s3.S3RepositoryPlugin]
[2017-09-04T06:57:04,260][INFO ][o.e.p.PluginsService ] [h1] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
[2017-09-04T06:57:04,344][INFO ][o.e.n.Node ] [h1] node name [h1], node ID [R1ROX2sbTU2wyWLho_ooJg]
[2017-09-04T06:57:04,421][INFO ][o.e.n.Node ] [h1] CrateDB version[2.1.6], pid[1], build[ef717e0/2017-08-29T11:08:06Z], OS[Linux/4.9.41-moby/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_121/25.121-b13]
[2017-09-04T06:57:05,834][INFO ][i.c.module ] [h1] CrateDB Enterprise features are active. Please request a license before deploying in production or deactivate the Enterprise features. https://crate.io/enterprise
[2017-09-04T06:57:07,284][INFO ][o.e.d.DiscoveryModule ] [h1] using discovery type [zen]
[2017-09-04T06:57:11,315][INFO ][o.e.n.Node ] [h1] initialized
[2017-09-04T06:57:11,329][INFO ][o.e.n.Node ] [h1] starting ...
[2017-09-04T06:57:11,877][INFO ][psql ] [h1] publish_address {127.0.0.1:5432}, bound_addresses {127.0.0.1:5432}
[2017-09-04T06:57:12,041][INFO ][i.c.p.h.CrateNettyHttpServerTransport] [h1] publish_address {127.0.0.1:4200}, bound_addresses {127.0.0.1:4200}
[2017-09-04T06:57:12,163][INFO ][o.e.t.TransportService ] [h1] publish_address {127.0.0.1:4300}, bound_addresses {127.0.0.1:4300}
[2017-09-04T06:57:12,193][WARN ][o.e.b.BootstrapChecks ] [h1] initial heap size [268435456] not equal to maximum heap size [524288000]; this can cause resize pauses and prevents mlockall from locking the entire heap
[2017-09-04T06:57:15,484][INFO ][o.e.c.s.ClusterService ] [h1] new_master {h1}{R1ROX2sbTU2wyWLho_ooJg}{WH-wgGGyQRKwfg_8kQmpAw}{127.0.0.1}{127.0.0.1:4300}{http_address=127.0.0.1:4200}, reason: zen-disco-elected-as-master ([0] nodes joined)
[2017-09-04T06:57:15,567][INFO ][o.e.n.Node ] [h1] started
[2017-09-04T06:57:15,607][INFO ][o.e.g.GatewayService ] [h1] recovered [0] indices into cluster_state
^C[2017-09-04T06:57:22,335][INFO ][o.e.n.Node ] [h1] stopping ...
[2017-09-04T06:57:22,398][INFO ][o.e.n.Node ] [h1] stopped
[2017-09-04T06:57:22,398][INFO ][o.e.n.Node ] [h1] closing ...
[2017-09-04T06:57:22,417][INFO ][o.e.n.Node ] [h1] closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment