Giter Club home page Giter Club logo

janus's People

Contributors

gitter-badger avatar lamontnelson avatar liumx10 avatar shuaimu avatar yangcui avatar zhaoguowang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

janus's Issues

Assertion fail on `./test_run.py -m janus`

I am trying to set up a local instance of Janus on Ubuntu 18.04 and, following the README directions, built and installed Janus with no issues. However, running the first test command, ./test_run.py -m janus, shows that all tests fail. The stack trace points to a failed assertion at line 20 of reactor.cc:

std::shared_ptr<Coroutine> Coroutine::CurrentCoroutine() {
  verify(sp_running_coro_th_);
  return sp_running_coro_th_;
}

because the current coroutine pointer is not initialized. The stack trace when running build/deptran_server -f config/janus.yml -f config/1c1s1p.yml -f config/rw.yml -P localhost -d 20 (first test run by test_run.py) is:

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff61b2801 in __GI_abort () at abort.c:79
#2  0x000055555577c124 in rrr::Coroutine::CurrentCoroutine () at ../src/rrr/reactor/reactor.cc:20
#3  0x000055555577af42 in rrr::Event::Event (this=0x55555630e408, coro=std::shared_ptr<rrr::Coroutine> (empty) = {...}) at ../src/rrr/reactor/event.cc:55
#4  0x0000555555601171 in rrr::IntEvent::IntEvent (this=0x55555630e408) at ../src/rrr/reactor/event.h:33
#5  0x0000555555601442 in janus::Tx::Tx (this=0x55555630e400, epoch=0, tid=281474976710657, mgr=0x0) at ../src/deptran/2pl/../classic/../tx.h:85
#6  0x00005555556d4065 in janus::TxRococo::TxRococo (this=0x55555630e400, id=281474976710657) at ../src/deptran/rococo/tx.cc:20
#7  0x0000555555686ee0 in janus::Graph<janus::TxRococo>::CreateV (this=0x7fffe2fa3750, id=281474976710657) at ../src/deptran/rococo/graph.h:122
#8  0x000055555568df79 in janus::JanusCommo::<lambda(rrr::Future*)>::operator()(rrr::Future *) const (__closure=0x555567e71b60, fu=0x555567ea60d0) at ../src/deptran/janus/commo.cc:25
#9  0x000055555568fcf4 in std::_Function_handler<void(rrr::Future*), janus::JanusCommo::SendDispatch(std::vector<janus::SimpleCommand>&, const std::function<void(int, std::map<unsigned int, std::map<int, mdb::Value> >&, janus::RccGraph&)>&)::<lambda(rrr::Future*)> >::_M_invoke(const std::_Any_data &, rrr::Future *&&) (__functor=..., __args#0=@0x7fffe2fa3800: 0x555567ea60d0) at /usr/include/c++/7/bits/std_function.h:316
#10 0x000055555578a97b in std::function<void (rrr::Future*)>::operator()(rrr::Future*) const (this=0x555567ea60f0, __args#0=0x555567ea60d0) at /usr/include/c++/7/bits/std_function.h:706
#11 0x0000555555788c64 in rrr::Future::notify_ready (this=0x555567ea60d0) at ../src/rrr/rpc/client.cpp:69
#12 0x0000555555789770 in rrr::Client::handle_read (this=0x55555633e000) at ../src/rrr/rpc/client.cpp:213
#13 0x000055555577dc3a in rrr::Epoll::Wait (this=0x555567e726c0) at ../src/rrr/reactor/epoll_wrapper.h:209
#14 0x000055555577cbe3 in rrr::PollMgr::PollThread::poll_loop (this=0x555567e726c0) at ../src/rrr/reactor/reactor.cc:188
#15 0x000055555577e113 in rrr::PollMgr::PollThread::start_poll_loop (arg=0x555567e726c0) at ../src/rrr/reactor/reactor.cc:117
#16 0x00007ffff70b16db in start_thread (arg=0x7fffe2fa4700) at pthread_create.c:463
#17 0x00007ffff629388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

And the log output (with debug logging enabled is:

I [s_main.cc:117] 2019-05-28 14:32:16.821 | PWD : 
I [s_main.cc:129] 2019-05-28 14:32:16.821 | starting process 7959
I [config.cc:268] 2019-05-28 14:32:16.821 | LoadYML: config/janus.yml
I [config.cc:268] 2019-05-28 14:32:16.821 | LoadYML: config/1c1s1p.yml
I [config.cc:383] 2019-05-28 14:32:16.821 | BuildSiteProcMap
I [config.cc:268] 2019-05-28 14:32:16.821 | LoadYML: config/rw.yml
I [config.cc:632] 2019-05-28 14:32:16.822 | group size: 1
I [s_main.cc:25] 2019-05-28 14:32:16.822 | client_setup_heartbeat
I [s_main.cc:66] 2019-05-28 14:32:16.822 | server enabled, number of sites: 1
I [s_main.cc:91] 2019-05-28 14:32:16.822 | waiting for client setup threads.
I [s_main.cc:74] 2019-05-28 14:32:16.822 | launching site: 0, bind address 0.0.0.0:8101
I [server_worker.cc:76] 2019-05-28 14:32:16.822 | start data population for site 0
I [server_worker.cc:104] 2019-05-28 14:32:19.407 | data populated for site: 0, partition: 0
I [s_main.cc:82] 2019-05-28 14:32:19.407 | table popped for site 0
I [server_worker.cc:120] 2019-05-28 14:32:19.407 | enter SetupService for s101 @ 0.0.0.0:8101
D [server_worker.cc:163] 2019-05-28 14:32:19.407 | starting server at 0.0.0.0:8101
I [server.cpp:441] 2019-05-28 14:32:19.407 | rrr::Server: started on 0.0.0.0:8101
I [server_worker.cc:171] 2019-05-28 14:32:19.407 | Server s101 ready at 0.0.0.0:8101
I [s_main.cc:85] 2019-05-28 14:32:19.407 | start communication for site 0
I [communicator.cc:161] 2019-05-28 14:32:19.408 | connect to site: 127.0.0.1:8101 (attempt 0)
D [client.cpp:150] 2019-05-28 14:32:19.408 | rrr::Client: connected to 127.0.0.1:8101
D [server.cpp:372] 2019-05-28 14:32:19.408 | rrr::Server: got new client, fd=7
D [communicator.cc:167] 2019-05-28 14:32:19.408 | connect to site: 127.0.0.1:8101 success!
I [s_main.cc:87] 2019-05-28 14:32:19.408 | site 0 launched!
I [s_main.cc:95] 2019-05-28 14:32:19.408 | done waiting for client setup threads.
I [s_main.cc:102] 2019-05-28 14:32:19.408 | server workers' communicators setup
I [s_main.cc:49] 2019-05-28 14:32:19.408 | client enabled, number of sites: 1
I [communicator.cc:161] 2019-05-28 14:32:19.413 | connect to site: 127.0.0.1:8101 (attempt 0)
D [client.cpp:150] 2019-05-28 14:32:19.413 | rrr::Client: connected to 127.0.0.1:8101
D [server.cpp:372] 2019-05-28 14:32:19.413 | rrr::Server: got new client, fd=10
D [communicator.cc:167] 2019-05-28 14:32:19.413 | connect to site: 127.0.0.1:8101 success!
D [client_worker.cc:293] 2019-05-28 14:32:19.413 | client 1 created; forward 0
D [client_worker.cc:135] 2019-05-28 14:32:19.414 | Work: 1
I [s_main.cc:121] 2019-05-28 14:32:19.414 | wait_for_clients: wait for client threads to exit.
I [communicator.cc:69] 2019-05-28 14:32:19.414 | Done waiting to connect to client leaders.
D [client_worker.cc:146] 2019-05-28 14:32:19.414 | after wait for start
I [client_worker.cc:152] 2019-05-28 14:32:19.414 | closed loop clients.
I [client_worker.cc:129] 2019-05-28 14:32:19.414 | coordinator 65536 created at site 1: forward 0
D [client_worker.cc:156] 2019-05-28 14:32:19.414 | create coordinator 65536
D [client_worker.cc:198] 2019-05-28 14:32:19.414 | wait for finish... 1
D [reactor.cc:36] 2019-05-28 14:32:19.414 | create a coroutine scheduler
I [client_worker.cc:249] 2019-05-28 14:32:19.414 | DispatchRequest: 1
D [coordinator.cc:66] 2019-05-28 14:32:19.414 | assigning tx id: 1000000000001
D [coordinator.cc:72] 2019-05-28 14:32:19.414 | do one request txn_id: 1
I [coordinator.cc:85] 2019-05-28 14:32:19.414 | start txn!!! : 0
D [procedure.cc:159] 2019-05-28 14:32:19.414 | getting piece data piece id: 101
D [commo.cc:39] 2019-05-28 14:32:19.414 | dispatch to 0
D [reactor.cc:36] 2019-05-28 14:32:19.415 | create a coroutine scheduler
D [scheduler.cc:44] 2019-05-28 14:32:19.415 | create tid 1000000000001
  *** verify failed: sp_running_coro_th_ at ../src/rrr/reactor/reactor.cc, line 20
  *** begin stack trace ***
0    /home/jhelt/git/janus/build/deptran_server(+0x20c116) [0x555555760116]
1    /home/jhelt/git/janus/build/deptran_server(+0x22811f) [0x55555577c11f]
2    /home/jhelt/git/janus/build/deptran_server(+0x226f42) [0x55555577af42]
3    /home/jhelt/git/janus/build/deptran_server(+0xad171) [0x555555601171]
4    /home/jhelt/git/janus/build/deptran_server(+0xad442) [0x555555601442]
5    /home/jhelt/git/janus/build/deptran_server(+0x180065) [0x5555556d4065]
6    /home/jhelt/git/janus/build/deptran_server(+0x132ee0) [0x555555686ee0]
7    /home/jhelt/git/janus/build/deptran_server(+0x139f79) [0x55555568df79]
8    /home/jhelt/git/janus/build/deptran_server(+0x13bcf4) [0x55555568fcf4]
9    /home/jhelt/git/janus/build/deptran_server(+0x23697b) [0x55555578a97b]
10   /home/jhelt/git/janus/build/deptran_server(+0x234c64) [0x555555788c64]
11   /home/jhelt/git/janus/build/deptran_server(+0x235770) [0x555555789770]
12   /home/jhelt/git/janus/build/deptran_server(+0x229c3a) [0x55555577dc3a]
13   /home/jhelt/git/janus/build/deptran_server(+0x228be3) [0x55555577cbe3]
14   /home/jhelt/git/janus/build/deptran_server(+0x22a113) [0x55555577e113]
15   /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7ffff70b16db]

Any ideas on how to fix this issue or further debug? This code doesn't seem to have changed in a while, so I'm not sure if it just hasn't been run since then, or if it is a platform-specific issue. Thanks in advance for your help! Let me know if you need any more info.

build failure under ubuntu 16.04

Reported by Boyu Tian:

Build failed
-> task in 'deptran_server' failed with exit status 1 (run with -v to display more information)

Then I ran "./waf configure build -v" and got the following result, which looks like an infinite recursion.

......

File "/home/bytian/janus/.waf-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Tools/errcheck.py", line 135, in check_compile
ret=self.orig_compile()
File "/home/bytian/janus/.waf-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Tools/errcheck.py", line 135, in check_compile
ret=self.orig_compile()
File "/home/bytian/janus/.waf-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Tools/errcheck.py", line 135, in check_compile
ret=self.orig_compile()
File "/home/bytian/janus/.waf-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Tools/errcheck.py", line 133, in check_compile
check_invalid_constraints(self)
File "/home/bytian/janus/.waf-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Tools/errcheck.py", line 69, in check_invalid_constraints
for y in Utils.to_list(getattr(cls,x,[])):
File "/home/bytian/janus/.waf-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Utils.py", line 282, in to_list
if isinstance(val,str):
RuntimeError: maximum recursion depth exceeded while calling a Python object

license missing

Please consider adding an MIT or BSD license file at the top level.

Failed to run simple tests

Excellent work! But I was at commit 056f676 and failed to run all the tests:

➜  janus git:(056f676) ✗ ./test_run.py -m janus
mode           site      bench     concurrent     result 	 time 
janus          1c1s1p    rw        concurrent_100 Failed 	 0.92s
janus          2c2s1p    rw        concurrent_100 Failed 	 1.67s
janus          64c8s1p   rw        concurrent_100 Failed 	 1.57s
janus          3c3s3r1p  rw        concurrent_100 Failed 	 1.97s
janus          1c1s1p    tpca      concurrent_100 Failed 	 0.32s
janus          2c2s1p    tpca      concurrent_100 Failed 	 1.27s
janus          64c8s1p   tpca      concurrent_100 Failed 	 1.37s
janus          3c3s3r1p  tpca      concurrent_100 Failed 	 1.42s
janus          1c1s1p    tpcc      concurrent_100 Failed 	 1.42s
janus          2c2s1p    tpcc      concurrent_100 Failed 	 2.42s
janus          64c8s1p   tpcc      concurrent_100 Failed 	 3.77s
janus          3c3s3r1p  tpcc      concurrent_100 Failed 	 3.47s
➜  janus git:(056f676) ✗ ./build/deptran_server -f config/janus.yml -f config/1c1s1p.yml -f config/rw.yml -f config/concurrent_1.yml -P localhost -d 20
I [s_main.cc:117] 2018-11-14 20:44:21.140 | PWD : 
I [s_main.cc:129] 2018-11-14 20:44:21.140 | starting process 29383
I [config.cc:268] 2018-11-14 20:44:21.140 | LoadYML: config/janus.yml
I [config.cc:268] 2018-11-14 20:44:21.141 | LoadYML: config/1c1s1p.yml
I [config.cc:383] 2018-11-14 20:44:21.141 | BuildSiteProcMap
I [config.cc:268] 2018-11-14 20:44:21.141 | LoadYML: config/rw.yml
I [config.cc:632] 2018-11-14 20:44:21.142 | group size: 1
I [config.cc:268] 2018-11-14 20:44:21.142 | LoadYML: config/concurrent_1.yml
I [config.cc:300] 2018-11-14 20:44:21.142 | # of concurrent requests: 1
I [s_main.cc:25] 2018-11-14 20:44:21.142 | client_setup_heartbeat
I [s_main.cc:66] 2018-11-14 20:44:21.142 | server enabled, number of sites: 1
I [s_main.cc:91] 2018-11-14 20:44:21.142 | waiting for client setup threads.
I [s_main.cc:74] 2018-11-14 20:44:21.142 | launching site: 0, bind address 0.0.0.0:8101
I [server_worker.cc:76] 2018-11-14 20:44:21.142 | start data population for site 0
I [server_worker.cc:104] 2018-11-14 20:44:21.803 | data populated for site: 0, partition: 0
I [s_main.cc:82] 2018-11-14 20:44:21.803 | table popped for site 0
I [server_worker.cc:120] 2018-11-14 20:44:21.803 | enter SetupService for s101 @ 0.0.0.0:8101
I [server.cpp:438] 2018-11-14 20:44:21.803 | rrr::Server: started on 0.0.0.0:8101
I [server_worker.cc:171] 2018-11-14 20:44:21.803 | Server s101 ready at 0.0.0.0:8101
I [s_main.cc:85] 2018-11-14 20:44:21.803 | start communication for site 0
I [communicator.cc:161] 2018-11-14 20:44:21.803 | connect to site: 127.0.0.1:8101 (attempt 0)
I [s_main.cc:87] 2018-11-14 20:44:21.803 | site 0 launched!
I [s_main.cc:95] 2018-11-14 20:44:21.803 | done waiting for client setup threads.
I [s_main.cc:102] 2018-11-14 20:44:21.803 | server workers' communicators setup
I [s_main.cc:49] 2018-11-14 20:44:21.803 | client enabled, number of sites: 1
I [communicator.cc:161] 2018-11-14 20:44:21.804 | connect to site: 127.0.0.1:8101 (attempt 0)
I [s_main.cc:121] 2018-11-14 20:44:21.804 | wait_for_clients: wait for client threads to exit.
I [communicator.cc:69] 2018-11-14 20:44:21.804 | Done waiting to connect to client leaders.
I [client_worker.cc:152] 2018-11-14 20:44:21.804 | closed loop clients.
I [client_worker.cc:129] 2018-11-14 20:44:21.804 | coordinator 65536 created at site 1: forward 0
I [client_worker.cc:249] 2018-11-14 20:44:21.805 | DispatchRequest: 1
I [coordinator.cc:85] 2018-11-14 20:44:21.805 | start txn!!! : 0
  *** verify failed: curr_coro_ at ../src/rrr/coroutine/scheduler.cc, line 14
  *** begin stack trace ***
0    ./build/deptran_server(+0x147e7c) [0x55a19bc08e7c]
1    ./build/deptran_server(+0x14c616) [0x55a19bc0d616]
2    ./build/deptran_server(+0x14b7c0) [0x55a19bc0c7c0]
3    ./build/deptran_server(+0xf530b) [0x55a19bbb630b]
4    ./build/deptran_server(+0xcb7d6) [0x55a19bb8c7d6]
5    ./build/deptran_server(+0x155f62) [0x55a19bc16f62]
6    ./build/deptran_server(+0x15728d) [0x55a19bc1828d]
7    ./build/deptran_server(+0x1587f2) [0x55a19bc197f2]
8    ./build/deptran_server(+0x15a1b9) [0x55a19bc1b1b9]
9    /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7f49c46746db]
  ***  end stack trace  ***
[1]    29383 abort (core dumped)  ./build/deptran_server -f config/janus.yml -f config/1c1s1p.yml -f  -f  -P  -

Not sure why curr_coro_ is invalid in scheduler.cc, could anyone help? Or if there's other commits that I can try with?

Nasty segfault when running experiments just from run.py

https://github.com/DSEF/janus. Here is my updated code for janus. I've just ported things to python3 which involved pretty minimal changes. I needed to change the cpp python module stuff, update the build system, and change ps.py. Running ./dsef/run.py will run two experiments. If you take a look at that code, you will see its basically the original run.py but reorganized a bit and I added some RPyC stuff to make it easier to call from the DSEF server and send data back and forth. The current version has all the RPyC server code commented out to try and isolate this segmentation fault.

I believe that the segmentation fault comes from something in _pyrpc not reseting state properly between runs. Before this wasn't a problem because the python instance was completely exiting between each experiment.

I would greatly appreciate any insight into what might be causing this.

P.S. This is built from an old version of Janus, commit f45fd04

Found some dead code

rrr/pylib/simplerpc/Server.py never gets run. Consequently, _pyrpc_init_server, _pyrpc_fini_server, _pyrpc_server_start, _pyrpc_server_unreg, _pyrpc_server_reg also never get run

Binary code and incorrect print format in unittest_gtest.py causes build failure

Binary code in line#285, and incorrect print format in unittest_gtest.py in the repo https://github.com/NYU-NEWS/janus causes build failure.
Executing python waf configure build throws

  File "/home/sharf/Downloads/janus/.waf3-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Scripting.py", line 122, in waf_entry_point
    run_commands()
  File "/home/sharf/Downloads/janus/.waf3-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Scripting.py", line 179, in run_commands
    parse_options()
  File "/home/sharf/Downloads/janus/.waf3-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Scripting.py", line 152, in parse_options
    Context.create_context('options').execute()
  File "/home/sharf/Downloads/janus/.waf3-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Options.py", line 149, in execute
    super(OptionsContext,self).execute()
  File "/home/sharf/Downloads/janus/.waf3-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Context.py", line 89, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/home/sharf/Downloads/janus/.waf3-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Context.py", line 130, in recurse
    user_function(self)
  File "/home/sharf/Downloads/janus/wscript", line 18, in options
    tooldir=['.waf-tools'])
  File "/home/sharf/Downloads/janus/.waf3-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Context.py", line 83, in load
    module=load_tool(t,path,with_sys_path=True)
  File "/home/sharf/Downloads/janus/.waf3-1.9.12-46ae1733752575b7ea2378b1eca4e1ae/waflib/Context.py", line 373, in load_tool
    __import__(tool)
ValueError: source code string cannot contain null bytes

tpcc benchmark fails test

This is likely a user error. I would appreciate any help pointing me in the write direction. Specifically, when running test_run.py with none and using a benchmark of tpcc, the test fails with the following error:

I [s_main.cc:122] 2017-06-08 13:18:41.709 | PWD : 
I [s_main.cc:134] 2017-06-08 13:18:41.709 | starting process 4511
I [config.cc:268] 2017-06-08 13:18:41.710 | LoadYML: config/none.yml
I [config.cc:268] 2017-06-08 13:18:41.711 | LoadYML: config/1c1s1p.yml
I [config.cc:383] 2017-06-08 13:18:41.712 | BuildSiteProcMap
I [config.cc:268] 2017-06-08 13:18:41.712 | LoadYML: config/tpcc.yml
I [config.cc:632] 2017-06-08 13:18:41.722 | group size: 1
I [config.cc:632] 2017-06-08 13:18:41.722 | group size: 1
I [config.cc:632] 2017-06-08 13:18:41.722 | group size: 1
I [config.cc:632] 2017-06-08 13:18:41.722 | group size: 1
I [config.cc:632] 2017-06-08 13:18:41.722 | group size: 1
I [config.cc:632] 2017-06-08 13:18:41.722 | group size: 1
I [config.cc:632] 2017-06-08 13:18:41.722 | group size: 1
I [config.cc:632] 2017-06-08 13:18:41.722 | group size: 1
I [config.cc:632] 2017-06-08 13:18:41.722 | group size: 1
I [s_main.cc:26] 2017-06-08 13:18:41.723 | client_setup_heartbeat
I [s_main.cc:69] 2017-06-08 13:18:41.723 | server enabled, number of sites: 1
I [s_main.cc:94] 2017-06-08 13:18:41.724 | waiting for client setup threads.
I [s_main.cc:77] 2017-06-08 13:18:41.724 | launching site: 0, bind address 0.0.0.0:8101
I [server_worker.cc:78] 2017-06-08 13:18:41.731 | start data population for site 0
I [server_worker.cc:106] 2017-06-08 13:18:47.784 | data populated for site: 0, partition: 0
I [s_main.cc:85] 2017-06-08 13:18:47.784 | table popped for site 0
I [server_worker.cc:122] 2017-06-08 13:18:47.784 | enter SetupService for s101 @ 0.0.0.0:8101
I [server.cpp:434] 2017-06-08 13:18:47.784 | rrr::Server: started on 0.0.0.0:8101
I [server_worker.cc:173] 2017-06-08 13:18:47.784 | Server s101 ready at 0.0.0.0:8101
I [s_main.cc:88] 2017-06-08 13:18:47.784 | start communication for site 0
I [communicator.cc:157] 2017-06-08 13:18:47.784 | connect to site: 127.0.0.1:8101 (attempt 0)
I [s_main.cc:90] 2017-06-08 13:18:47.784 | site 0 launched!
I [s_main.cc:98] 2017-06-08 13:18:47.784 | done waiting for client setup threads.
I [s_main.cc:105] 2017-06-08 13:18:47.784 | server workers' communicators setup
I [s_main.cc:51] 2017-06-08 13:18:47.785 | client enabled, number of sites: 1
I [communicator.cc:157] 2017-06-08 13:18:47.785 | connect to site: 127.0.0.1:8101 (attempt 0)
I [s_main.cc:126] 2017-06-08 13:18:47.785 | wait_for_clients: wait for client threads to exit.
I [communicator.cc:69] 2017-06-08 13:18:47.792 | Done waiting to connect to client leaders.
I [client_worker.cc:137] 2017-06-08 13:18:47.792 | closed loop clients.
I [client_worker.cc:115] 2017-06-08 13:18:47.792 | coordinator 65536 created at site 1: forward 0
I [client_worker.cc:224] 2017-06-08 13:18:47.792 | DispatchRequest: 1
I [coord.cc:82] 2017-06-08 13:18:47.797 | start txn!!! : 0
terminate called after throwing an instance of 'std::out_of_range'
  what():  map::at

rw_benchmark doesn't seem to exist

Both config/rw.yml and config/rw_fixed.yml have reference to rw_benchmark which doesn't seem to exist. This can be fixed by replacing rw_benchmark with rw. There is also a reference to rw_benchmark in the readme.

I [s_main.cc:122] 2017-06-08 12:21:22.709 | PWD : 
I [s_main.cc:134] 2017-06-08 12:21:22.709 | starting process 2386
I [config.cc:268] 2017-06-08 12:21:22.709 | LoadYML: config/tapir.yml
I [config.cc:268] 2017-06-08 12:21:22.710 | LoadYML: config/2c2s1p.yml
I [config.cc:383] 2017-06-08 12:21:22.712 | BuildSiteProcMap
I [config.cc:268] 2017-06-08 12:21:22.712 | LoadYML: config/rw.yml
E [config.cc:462] 2017-06-08 12:21:22.713 | No implementation for benchmark: rw_benchmark
  *** begin stack trace ***
0    rrr::print_stack_trace(_IO_FILE*)                                                                              /users/sgt43/janus/build/../rrr/base/debugging.cpp:65
1    rococo::Config::InitBench(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)    /users/sgt43/janus/build/../deptran/config.cc:463
2    rococo::Config::LoadBenchYML(YAML::Node)                                                                       /users/sgt43/janus/build/../deptran/config.cc:514
3    boost::detail::shared_count::~shared_count()                                                                   /usr/include/boost/smart_ptr/detail/shared_count.hpp:443
4    rococo::Config::Load()                                                                                         /users/sgt43/janus/build/../deptran/config.cc:255
5    rococo::Config::CreateConfig(int, char**)                                                                      /users/sgt43/janus/build/../deptran/config.cc:198
6    main                                                                                                           /users/sgt43/janus/build/../deptran/s_main.cc:138
7    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7ff89a38b830]
  ***  end stack trace  ***
  *** verify failed: 0 at ../deptran/config.cc, line 463

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.