Skip to content

Instantly share code, notes, and snippets.

@gijzelaerr
Created February 25, 2014 13:36
Show Gist options
  • Save gijzelaerr/9208805 to your computer and use it in GitHub Desktop.
Save gijzelaerr/9208805 to your computer and use it in GitHub Desktop.
$ disco nodaemon -v
disco settings are:
DDFS_BLOB_REPLICAS = 3
DDFS_DATA = /usr/local/var/disco/ddfs
DDFS_GC_INITIAL_WAIT =
DDFS_GET_MAX = 3
DDFS_PARANOID_DELETE =
DDFS_PUT_MAX = 3
DDFS_PUT_PORT = 8990
DDFS_READ_TOKEN = None
DDFS_ROOT = /usr/local/var/disco/ddfs
DDFS_TAG_MIN_REPLICAS = 3
DDFS_TAG_REPLICAS = 3
DDFS_WRITE_TOKEN = None
DISCO_DATA = /usr/local/var/disco/data
DISCO_DEBUG = off
DISCO_ERLANG = erl
DISCO_EVENTS =
DISCO_FLAGS =
DISCO_GC_AFTER = 3153600000
DISCO_HOME = /usr/local/lib/disco
DISCO_HTTPD = lighttpd -f $DISCO_PROXY_CONFIG
DISCO_JOB_OWNER = vagrant@precise64
DISCO_LOG_DIR = /usr/local/var/disco/log
DISCO_MASTER = http://precise64:8989
DISCO_MASTER_CONFIG = /usr/local/var/disco/disco_8989.config
DISCO_MASTER_HOME = /usr/local/lib/disco/master
DISCO_MASTER_HOST = precise64
DISCO_MASTER_ROOT = /usr/local/var/disco/data/_disco_8989
DISCO_NAME = disco_8989
DISCO_PID_DIR = /usr/local/var/disco/run
DISCO_PORT = 8989
DISCO_PROFILE = False
DISCO_PROXY =
DISCO_PROXY_CONFIG = /usr/local/var/disco/disco_8989-proxy.conf
DISCO_PROXY_ENABLED =
DISCO_PROXY_PID = /usr/local/var/disco/disco_8989-proxy.pid
DISCO_PROXY_PORT = 8999
DISCO_ROOT = /usr/local/var/disco
DISCO_ROTATE_LOG = False
DISCO_SCHEDULER = fair
DISCO_SCHEDULER_ALPHA = 0.001
DISCO_SETTINGS_FILE = /etc/disco/settings.py
DISCO_TEST_DISCODB =
DISCO_TEST_HOST = precise64
DISCO_TEST_PORT = 9444
DISCO_TEST_PROFILE =
DISCO_TEST_PURGE = purge
DISCO_ULIMIT = 16000000
DISCO_USER = vagrant
DISCO_WORKER_MAX_MEM = 80%
DISCO_WWW_ROOT = /usr/local/share/disco/master/www
If this is not what you want, see the `--help` option
Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [kernel-poll:true]
Eshell V5.8.5 (abort with ^G)
(disco_8989_master@precise64)1> 13:30:32.824 [info] Application lager started on node disco_8989_master@precise64
13:30:32.841 [info] Application inets started on node disco_8989_master@precise64
13:30:32.841 [info] DISCO BOOTS
13:30:32.843 [info] Disco proxy disabled
13:30:32.844 [info] DDFS master starts
13:30:32.847 [info] Event server starts
13:30:32.848 [info] Disco config starts
13:30:32.849 [info] DISCO SERVER STARTS
13:30:32.850 [info] Fair scheduler starts
13:30:32.850 [info] Scheduler uses fair policy
13:30:32.851 [info] Fair scheduler: Fair policy
13:30:32.853 [info] Config table updated
13:30:32.864 [info] web server (mochiweb) starts
13:30:32.864 [info] Starting node "disco_8989_slave" on "localhost" ("localhost")
13:30:32.864 [info] Application disco started on node disco_8989_master@precise64
13:30:33.054 [info] ddfs_node initialized on disco_8989_master@precise64 with volumes: ["vol0"]
13:30:33.064 [info] ddfs_node initialized on disco_8989_slave@localhost with volumes: ["vol0"]
13:30:33.064 [info] Node started at disco_8989_slave@localhost (reporting as disco_8989_slave@localhost) on "localhost"
13:30:33.064 [info] lock_server starts on disco_8989_slave@localhost
13:30:33.064 [info] Started ddfs_put at disco_8989_slave@localhost on port 8990
13:30:33.064 [info] ddfs_node starts on disco_8989_slave@localhost
13:30:33.075 [info] Node started at disco_8989_slave@localhost (reporting as disco_8989_master@precise64) on "localhost"
13:30:33.075 [info] ddfs_node starts on disco_8989_master@precise64
13:30:33.076 [info] Tempgc: error listing "/usr/local/var/disco/data/localhost": {error,enoent}
13:30:33.076 [info] Tempgc: one pass completed on disco_8989_slave@localhost
13:31:30.635 [error] job submission failed: [{xmerl_ucs,from_utf8,[<<"WARNING: Binary message data: \\x43\\x72\\x65\\x61\\x74\\x65\\x64\\x20\\x6a\\x6f\\x62\\x20\\x22\\x4a\\x6f\\x62\\x40\\x35\\x37\\x31\\x3a\\x35\\x31\\x63\\x66\\x31\\x3a\\x65\\x37\\x34\\x33\\x31\\x22">>]},{mochijson2,json_encode_string,2},{event_server,event,6},{job_coordinator,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]
13:31:30.652 [error] CRASH REPORT Process <0.153.0> with 0 neighbours exited with reason: "job init error: error:undef" in gen_server:init_it/6
13:34:32.377 [error] job submission failed: [{xmerl_ucs,from_utf8,[<<"WARNING: Binary message data: \\x43\\x72\\x65\\x61\\x74\\x65\\x64\\x20\\x6a\\x6f\\x62\\x20\\x22\\x4a\\x6f\\x62\\x40\\x35\\x37\\x31\\x3a\\x35\\x31\\x64\\x61\\x38\\x3a\\x35\\x39\\x32\\x38\\x39\\x22">>]},{mochijson2,json_encode_string,2},{event_server,event,6},{job_coordinator,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]
13:34:32.377 [error] CRASH REPORT Process <0.196.0> with 0 neighbours exited with reason: "job init error: error:undef" in gen_server:init_it/6
13:35:32.860 [info] GC: initializing
13:35:32.864 [info] GC: entering gc phase
13:35:32.865 [info] GC: found 0 blob, 0 tag candidates on disco_8989_slave@localhost
13:35:32.868 [info] Node GC Stats for disco_8989_slave@localhost: {tag,"kept",{0,0},"deleted",{0,0}} {blob,"kept",{0,0},"deleted",{0,0}}
13:35:32.868 [info] GC: Pruning +deleted
13:35:32.868 [info] Total GC Stats: {tag,"kept",{0,0},"deleted",{0,0}} {blob,"kept",{0,0},"deleted",{0,0}}
13:35:32.868 [info] GC: entering rr_blobs phase
13:35:32.868 [info] GC: sent 0 blob replication requests, entering rr_blobs_wait
13:35:32.869 [info] GC: replication ending with Ref 0, TO 0
13:35:32.869 [info] GC: done with blob replication, replicating tags (0 pending)
13:35:32.869 [info] GC: 0 tags updated/replication done, done with GC!
13:35:32.869 [error] GC: exited with shutdown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment