GithubHelp home page GithubHelp logo

cbd / edis Goto Github PK

View Code? Open in Web Editor NEW
467.0 467.0 37.0 1.43 MB

An Erlang implementation of Redis

Home Page: http://inaka.github.com/edis/

License: Apache License 2.0

Makefile 0.37% Erlang 99.37% Shell 0.26%

edis's People

Contributors

danielpizarro avatar elbrujohalcon avatar fpereiro avatar lud avatar msmaeda avatar polidog avatar spike886 avatar vireshas 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  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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

edis's Issues

R16B03-1 compile error

CentOS-6.5-x86_64

export CFLAGS="-DOPENSSL_NO_EC=1" to ~/.kerlrc

kerl build R16B03-1 r16
mkdir -p /usr/local/erlang/r16
kerl install r16 /usr/local/erlang/r16
. /usr/local/erlang/r16/activate

git clone https://github.com/inaka/edis.git
cd edis
rebar g-d co

Compiling /root/edis/deps/pmod_transform/tests/defining_instance.erl failed:
/root/edis/deps/pmod_transform/tests/defining_instance.erl:24: defining instance function not allowed in parameterized module
ERROR: compile failed while processing /root/edis/deps/pmod_transform: rebar_abort
make: *** [erl] Error 1

New erldocs syntax

Erldocs changed its command-line syntax, we should cope with it.
To reproduce the error, try make doc without a doc folder

Unable to run

I have a problem with make run

erl -pa deps/*/ebin -pa ebin -pa src -boot start_sasl +Bc +K true -smp enable -s crypto -s inets -s ssl -s lager  -s edis
Erlang R15B (erts-5.9) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:true]


=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,sasl_safe_sup}
             started: [{pid,<0.35.0>},
                       {name,alarm_handler},
                       {mfargs,{alarm_handler,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,2000},
                       {child_type,worker}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,sasl_safe_sup}
             started: [{pid,<0.36.0>},
                       {name,overload},
                       {mfargs,{overload,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,2000},
                       {child_type,worker}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,sasl_sup}
             started: [{pid,<0.34.0>},
                       {name,sasl_safe_sup},
                       {mfargs,
                           {supervisor,start_link,
                               [{local,sasl_safe_sup},sasl,safe]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,supervisor}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,sasl_sup}
             started: [{pid,<0.37.0>},
                       {name,release_handler},
                       {mfargs,{release_handler,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,2000},
                       {child_type,worker}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
         application: sasl
          started_at: nonode@nohost

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,crypto_sup}
             started: [{pid,<0.46.0>},
                       {name,crypto_server},
                       {mfargs,{crypto_server,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,2000},
                       {child_type,worker}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
         application: crypto
          started_at: nonode@nohost
Eshell V5.9  (abort with ^G)
1>
=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,inets_sup}
             started: [{pid,<0.53.0>},
                       {name,ftp_sup},
                       {mfargs,{ftp_sup,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,supervisor}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,httpc_profile_sup}
             started: [{pid,<0.56.0>},
                       {name,httpc_manager},
                       {mfargs,
                           {httpc_manager,start_link,
                               [default,only_session_cookies,inets]}},
                       {restart_type,permanent},
                       {shutdown,4000},
                       {child_type,worker}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,httpc_sup}
             started: [{pid,<0.55.0>},
                       {name,httpc_profile_sup},
                       {mfargs,
                           {httpc_profile_sup,start_link,
                               [[{httpc,{default,only_session_cookies}}]]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,supervisor}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,httpc_sup}
             started: [{pid,<0.57.0>},
                       {name,httpc_handler_sup},
                       {mfargs,{httpc_handler_sup,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,supervisor}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,inets_sup}
             started: [{pid,<0.54.0>},
                       {name,httpc_sup},
                       {mfargs,
                           {httpc_sup,start_link,
                               [[{httpc,{default,only_session_cookies}}]]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,supervisor}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,inets_sup}
             started: [{pid,<0.58.0>},
                       {name,httpd_sup},
                       {mfargs,{httpd_sup,start_link,[[]]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,supervisor}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,inets_sup}
             started: [{pid,<0.59.0>},
                       {name,tftp_sup},
                       {mfargs,{tftp_sup,start_link,[[]]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,supervisor}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
         application: inets
          started_at: nonode@nohost

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
         application: public_key
          started_at: nonode@nohost

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,ssl_sup}
             started: [{pid,<0.65.0>},
                       {name,ssl_manager},
                       {mfargs,{ssl_manager,start_link,[[]]}},
                       {restart_type,permanent},
                       {shutdown,4000},
                       {child_type,worker}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,ssl_sup}
             started: [{pid,<0.66.0>},
                       {name,ssl_connection},
                       {mfargs,{ssl_connection_sup,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,4000},
                       {child_type,supervisor}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
         application: ssl
          started_at: nonode@nohost

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,lager_sup}
             started: [{pid,<0.71.0>},
                       {name,lager},
                       {mfargs,{gen_event,start_link,[{local,lager_event}]}},
                       {restart_type,permanent},
                       {shutdown,5000},
                       {child_type,worker}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,lager_sup}
             started: [{pid,<0.72.0>},
                       {name,lager_handler_watcher_sup},
                       {mfargs,{lager_handler_watcher_sup,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,5000},
                       {child_type,supervisor}]

=PROGRESS REPORT==== 15-Jun-2013::23:51:59 ===
          supervisor: {local,lager_sup}
             started: [{pid,<0.73.0>},
                       {name,lager_crash_log},
                       {mfargs,
                           {lager_crash_log,start_link,
                               ["log/crash.log",65536,10485760,[{hour,0}],5]}},
                       {restart_type,permanent},
                       {shutdown,5000},
                       {child_type,worker}]
23:52:00.001 [info] Application lager started on node nonode@nohost
23:52:00.002 [info] Node supervisor initialized
23:52:00.003 [error] CRASH REPORT Process <0.90.0> with 0 neighbours exited with reason: {error,enoent} in gen_server:init_it/6 line 321
23:52:00.109 [error] Supervisor edis_node_sup had child edis_node_monitor started with edis_node_monitor:start_link() at undefined exit with reason {error,enoent} in context start_error
23:52:00.110 [error] Supervisor edis_sup had child edis_node_sup started with edis_node_sup:start_link() at undefined exit with reason shutdown in context start_error
23:52:00.110 [info] Application edis exited with reason: {shutdown,{edis,start,[normal,[]]}}

What should I do?

Pub/Sub Tests

We need to add tests for Pub/Sub commands.
We will need to improve pubsub support in erldis, too.

None/nil answer from SADD command?

I am using redis-py client. It expects an int answer from SADD command, but

  File "worker.py", line 305, in update_list
    rserver.sadd(key, *members)
  File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line 1477, in sadd
    return self.execute_command('SADD', name, *values)
  File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line 565, in execute_command
    return self.parse_response(connection, command_name, **options)
  File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line 579, in parse_response
    return self.response_callbacks[command_name](response, **options)
Thread-2    <type 'exceptions.TypeError'>: int() argument must be a string or a number, not 'NoneType'

Same thing happens with LLEN. What does it mean? According to Redis protocol, this shouldn't happen.

Also, I get sometimes records like this in logs:

00:52:49.556 [info] Unexpected info: {#Ref<0.0.0.38537>,{ok,<<MY_DATA_HERE>>}}

It has nothing to do with None answer, happens rarely, but can be related somehow.
I had same issues with building as in #44, maybe this is also can be related.

HMSET performance

HMSET performance is awful. That's because we're simply looping through the values and executing a HSET for each one. We should find a way to set all values in a single pass.

AUTH behaviour

Edis should not let clients to try to use AUTH when there is no password set.

Multi-node

Make the system auto-multi-node aware, most likely using:

  • net_adm:world()
  • .hosts.erlang
  • erlang:monitor_nodes()

You can check how that's done on conflux but bear in mind that that application uses a database to keep the node names and we can't.

user-defined in-process hook architecture

I hacked in an architecture for user-defined hooks as part of my EF 2012 talk. I wanted to discuss them here so we can figure out if this is the official way we want to do it or we want to tweak it a bit. Code is in my branch as it's not ready for a pull request yet.

The idea is that the administrator adds a edis config item for hooks on a per-datatype basis. The hooks are regular expressions like this:

[{edis, [{list_hooks,[{"foo*",{edis,test_hook}}]}]]

this means for all list operations, any key that starts with foo will trigger the M/F/A

edis:test_hook(Command, Result) 

to run.

Now, the result this function returns is the NEW result for the operation. Important notes:

  • the function currently can't change the return type
  • the function can throw an error but it doesn't roll back whatever the command did
  • the function can't yet easily modify what the command did because it doesn't have the handle to the db

I'm thinking of some interface changes that could expose the internal state of command_runner that would make at least the last item go away, but I need to think through the use cases a bit more.

My main use cases are:

  • A "Resque" like queuing system that allows workers to pull off items but auto-restarts after a timeout.
  • A similar system where the workers are triggered actively upon pushing an item into the list.
  • Auto push items to a downstream system like Rabbit.
  • Refresh secondary indexes or keys (facebook friends) when items change.

edis_db sharing across nodes

First attempt at multi-nod'ing properly…
Connect edis_db processes on different nodes (most likely using pg2) so that, when a put, write, delete or destroy operation is done in the backend of one of them, it's automatically propagated to the rest. get and is_empty should still be executed as they're now.

Combined Backend

We need a backend that combines the virtues of edis_pb_backend and edis_leveldb_backend. It should keep things in memory but periodically send them to disk using levelDB

ZSET rewritting

We need to rewrite our zset module to improve its performance and readability.

Compilation error during edis make

ERROR: Compiling template templates/erldocs_css.dtl failed:
{ok,erldocs_css_dtl,
<<70,79,82,49,0,0,14,76,66,69,65,77,65,116,111,109,0,0,0,171,0,0,0,15,15,
101,114,108,100,111,99,115,95,99,115,115,95,100,116,108,6,114,101,110,
100,101,114,4,110,111,110,101,2,111,107,5,116,104,114,111,119,5,101,
114,114,111,114,6,115,111,117,114,99,101,12,100,101,112,101,110,100,
101,110,99,105,101,115,20,116,114,97,110,115,108,97,116,97,98,108,101,
95,115,116,114,105,110,103,115,15,114,101,110,100,101,114,95,105,110,
116,101,114,110,97,108,15,101,114,108,121,100,116,108,95,114,117,110,
116,105,109,101,15,115,116,114,105,110,103,105,102,121,95,102,105,110,
97,108,11,109,111,100,117,108,101,95,105,110,102,111,6,101,114,108,97,
110,103,15,103,101,116,95,109,111,100,117,108,101,95,105,110,102,111,0,
67,111,100,101,0,0,0,230,0,0,0,16,0,0,0,0,0,0,0,153,0,0,0,21,0,0,0,9,1,
16,153,0,2,18,34,0,1,32,64,2,3,6,16,69,1,48,153,0,2,18,34,16,1,64,64,
50,19,6,32,101,1,80,153,0,2,18,34,32,1,96,14,16,32,104,4,117,153,0,4,
32,13,16,105,4,16,48,16,70,32,19,71,66,71,3,64,19,3,18,16,19,1,112,106,
4,43,133,3,82,16,48,32,70,32,3,71,98,71,19,18,16,19,1,128,153,0,108,35,
19,18,16,19,1,144,153,0,2,18,114,0,1,160,64,71,0,3,19,1,176,153,0,2,18,
130,0,1,192,64,2,3,19,1,208,153,0,2,18,146,0,1,224,64,2,3,19,1,240,153,
0,2,18,162,32,1,8,16,64,71,16,3,153,0,78,16,0,1,8,17,153,0,2,18,210,0,
1,8,18,64,18,3,153,0,78,16,16,1,8,19,153,0,2,18,210,16,1,8,20,64,3,19,
64,18,3,153,0,78,32,32,3,0,0,83,116,114,84,0,0,0,0,73,109,112,84,0,0,0,
40,0,0,0,3,0,0,0,11,0,0,0,12,0,0,0,1,0,0,0,14,0,0,0,15,0,0,0,1,0,0,0,
14,0,0,0,15,0,0,0,2,69,120,112,84,0,0,0,100,0,0,0,8,0,0,0,13,0,0,0,1,0,
0,0,20,0,0,0,13,0,0,0,0,0,0,0,18,0,0,0,9,0,0,0,0,0,0,0,14,0,0,0,8,0,0,
0,0,0,0,0,12,0,0,0,7,0,0,0,0,0,0,0,10,0,0,0,2,0,0,0,2,0,0,0,6,0,0,0,2,
0,0,0,1,0,0,0,4,0,0,0,2,0,0,0,0,0,0,0,2,76,105,116,84,0,0,11,15,0,0,44,
244,120,156,205,90,75,111,227,200,17,118,22,57,249,148,107,128,28,58,
54,6,217,157,72,26,137,146,252,160,79,94,219,2,2,236,102,231,144,0,185,
13,90,100,75,226,154,98,19,100,211,182,102,224,211,254,157,61,231,176,
192,254,146,252,131,28,115,15,144,234,119,55,217,148,108,204,2,89,13,
228,25,179,171,171,235,249,85,117,113,142,142,142,190,56,58,58,138,126,
216,124,113,127,244,123,70,182,101,142,25,169,223,145,42,79,105,82,127,
72,234,122,148,178,252,254,232,119,255,254,237,135,191,223,177,31,255,
251,243,127,254,244,211,191,254,80,110,142,142,6,255,252,33,135,189,
191,185,31,252,248,22,125,58,70,240,41,113,154,102,197,26,197,104,92,
62,93,137,71,91,92,173,179,2,233,71,207,199,199,75,154,238,20,253,138,
22,108,184,194,219,44,223,33,241,137,209,3,169,82,92,224,1,186,174,50,
156,15,80,141,139,122,88,147,42,91,93,217,45,117,246,145,32,164,183,76,
166,250,48,179,56,196,233,247,77,205,96,177,160,5,113,23,217,46,39,102,
103,65,171,45,206,157,229,7,12,167,22,172,111,249,145,100,235,13,11,
237,206,179,130,12,55,222,242,100,52,149,107,9,205,105,133,156,79,140,
78,163,40,18,198,216,76,6,104,19,193,119,10,223,25,124,231,240,61,83,
230,113,55,194,158,233,116,218,149,197,138,1,220,74,181,81,25,61,70,
231,229,19,183,59,154,68,242,31,158,64,90,140,150,252,241,100,58,127,
163,132,83,252,210,172,134,192,216,197,89,193,233,186,142,136,81,52,
243,124,96,132,91,210,60,149,188,34,79,182,33,163,37,114,227,196,103,
55,57,15,179,115,116,221,84,138,161,99,117,216,168,247,45,113,114,191,
174,104,83,164,92,207,235,235,235,142,47,244,99,224,149,230,109,195,77,
230,96,176,72,135,108,202,218,235,198,158,124,53,245,85,91,82,198,232,
22,136,46,20,193,102,134,176,235,210,120,153,131,116,87,199,142,110,
177,52,20,39,121,247,214,26,35,190,24,191,185,66,111,223,1,23,143,3,23,
254,235,40,210,81,132,227,135,172,206,24,73,3,129,163,84,189,185,157,
223,204,111,148,109,104,149,146,74,203,169,204,134,82,248,21,56,120,
148,140,60,177,97,74,18,90,97,150,209,194,228,19,156,217,116,109,54,
118,140,146,208,148,4,179,60,70,39,55,180,169,50,82,161,191,146,199,
147,193,201,117,145,98,200,201,111,105,65,79,6,91,248,89,151,56,33,29,
47,74,53,238,238,22,139,155,27,33,5,170,72,73,48,67,117,82,209,60,71,
99,52,14,105,231,235,118,125,125,123,123,121,41,115,165,34,200,17,210,
139,23,11,26,146,153,73,120,165,59,223,235,41,175,163,111,236,166,153,
70,67,185,54,55,145,41,229,203,201,138,169,64,170,105,158,129,112,73,
146,116,181,230,58,47,248,31,23,78,245,230,73,59,165,181,183,39,147,
201,85,199,246,175,178,124,43,31,13,196,186,64,231,67,32,5,232,94,229,
244,81,138,128,27,70,133,173,88,234,23,7,101,9,88,25,37,180,220,213,
172,89,173,90,229,3,217,4,19,223,89,23,36,180,238,62,27,157,35,123,194,
246,52,1,30,4,32,62,207,218,241,203,143,138,180,112,134,78,133,135,201,
21,99,242,74,195,142,125,36,220,34,30,69,51,243,208,216,37,150,54,241,
52,141,85,208,150,20,242,87,136,186,202,158,136,66,2,129,145,242,4,197,
170,97,220,254,40,168,16,160,76,39,251,33,20,102,179,153,23,58,156,105,
172,244,108,57,26,140,58,211,144,21,141,182,52,173,155,45,236,242,170,
181,41,189,64,60,105,133,180,151,114,42,168,47,121,186,57,199,91,154,
185,223,34,40,193,172,91,87,77,145,112,147,212,221,194,161,119,187,100,
80,66,131,21,38,164,168,209,212,60,239,22,44,203,184,13,253,115,7,230,
44,85,233,7,177,159,162,30,37,217,122,6,149,29,73,127,183,17,148,201,
160,111,158,213,138,199,144,237,74,226,70,198,168,38,4,231,53,181,161,
14,97,136,153,65,9,46,97,183,53,242,5,9,225,13,103,93,80,102,144,211,
133,72,199,243,119,147,187,217,221,117,7,10,93,212,114,208,83,129,231,
197,155,80,249,6,208,159,46,46,156,147,77,55,241,26,167,242,231,170,
147,81,71,234,126,134,243,125,196,85,193,69,60,160,212,197,237,226,118,
241,139,40,181,248,122,49,187,187,244,15,255,229,245,58,173,179,148,44,
177,110,150,52,24,13,101,41,222,100,105,74,10,31,167,134,79,157,37,131,
78,146,189,3,81,42,243,43,37,80,40,241,31,179,148,109,144,137,58,7,25,
221,2,233,246,130,94,213,23,69,255,238,170,221,234,73,227,142,223,120,
74,142,178,2,67,126,60,232,208,164,80,207,50,182,139,199,163,185,162,
35,184,74,54,106,117,184,165,31,135,90,1,156,102,77,45,217,26,196,0,67,
47,239,51,214,162,113,8,92,171,219,15,248,37,167,188,191,235,104,239,
144,68,209,133,241,169,147,149,46,137,205,79,131,251,45,138,214,229,
198,189,73,105,19,65,225,238,187,74,121,230,119,69,211,130,137,50,154,
21,41,41,88,152,192,237,126,92,130,169,95,24,186,4,38,78,188,40,106,
181,173,188,107,133,94,143,71,146,250,1,191,10,63,30,67,143,108,2,59,
43,202,134,197,43,154,128,111,62,241,94,25,22,249,199,109,181,157,199,
22,235,98,5,116,206,162,10,137,167,97,189,193,169,110,101,116,27,194,
133,62,189,184,184,240,54,152,16,49,123,250,55,60,243,191,143,79,201,
83,137,139,244,215,16,132,182,6,251,141,182,227,129,197,98,17,200,61,
151,135,137,134,164,169,106,26,112,118,73,51,232,80,170,158,203,176,62,
200,220,110,59,87,105,125,208,244,80,194,8,20,250,85,102,204,252,255,
154,49,70,50,167,37,246,13,242,108,194,50,222,240,58,224,85,193,97,235,
114,1,183,102,116,122,126,126,174,126,152,187,245,203,146,167,21,212,
251,210,70,136,85,145,186,201,153,110,2,147,28,16,220,51,12,52,148,155,
112,132,234,2,193,255,237,213,61,177,38,175,141,129,210,135,218,213,
175,175,197,114,44,100,59,245,96,9,12,95,184,93,42,87,83,104,215,244,
69,166,157,219,94,86,183,163,81,68,145,176,32,255,219,132,156,87,188,5,
89,69,114,204,171,228,254,59,190,48,119,119,144,48,159,207,157,125,214,
213,124,237,246,246,86,104,166,190,47,80,222,4,143,123,123,244,93,224,
154,102,84,224,45,9,13,57,224,240,241,120,236,217,69,55,173,186,103,
117,236,235,7,185,215,149,113,21,254,152,109,75,90,49,92,176,246,70,
104,169,115,146,216,65,139,191,23,32,204,219,219,161,16,25,194,113,9,
87,195,53,71,114,192,137,47,33,118,6,98,18,7,159,129,96,2,159,175,94,
36,196,168,110,150,176,37,180,4,87,249,194,51,148,196,242,142,124,1,47,
130,33,125,47,138,187,68,179,12,79,37,77,60,180,90,86,211,205,61,110,
50,70,134,98,180,32,98,235,177,194,101,203,171,41,102,7,202,225,244,80,
57,236,206,128,145,251,113,111,171,189,37,8,224,236,64,9,154,4,91,87,
135,34,234,203,58,77,128,151,16,249,13,35,159,223,64,30,172,41,145,68,
1,228,13,165,132,191,113,158,173,11,159,56,33,178,70,183,66,13,46,156,
193,80,191,59,227,115,184,14,249,150,118,51,67,20,37,78,223,161,198,
101,233,250,222,59,161,34,234,202,43,136,108,244,105,187,198,190,33,33,
137,98,99,16,209,7,216,95,101,35,104,209,216,9,249,216,150,63,222,78,
102,197,138,182,206,9,56,205,128,189,48,242,153,137,115,235,40,120,60,
29,7,250,51,175,114,184,218,138,28,9,220,42,141,14,254,144,219,148,181,
143,162,217,120,146,143,141,130,254,72,199,164,176,208,174,59,246,210,
33,226,77,188,79,193,241,117,219,228,173,186,1,38,31,90,53,37,190,199,
103,254,124,204,206,198,244,203,5,35,251,190,178,218,173,6,118,118,214,
110,85,67,214,51,213,198,5,34,175,46,72,47,141,91,69,234,80,29,239,28,
125,74,8,113,12,102,172,107,156,30,206,229,24,93,116,231,5,177,118,67,
203,6,126,55,98,154,95,247,130,104,231,137,200,247,160,211,75,184,195,
211,75,135,136,227,113,105,170,161,29,68,162,224,36,18,157,207,181,255,
204,176,19,238,244,19,207,235,8,25,73,108,104,248,207,28,3,217,28,124,
200,200,163,19,120,33,116,244,236,25,2,51,11,101,158,197,61,22,23,225,
81,131,89,151,94,181,113,209,222,127,176,199,27,202,115,123,222,111,57,
140,194,179,16,179,62,83,121,57,113,3,35,116,207,106,221,178,66,213,
167,211,247,89,24,115,104,134,147,203,142,43,125,2,155,52,14,250,56,4,
218,32,221,82,206,211,203,137,26,51,212,10,83,58,145,100,41,67,213,223,
178,125,9,165,30,85,233,73,247,104,139,179,194,159,221,170,177,29,87,
180,211,47,57,215,198,248,228,219,29,220,19,83,244,190,162,39,3,44,174,
140,193,215,213,234,21,159,243,242,82,30,202,223,175,58,239,250,144,0,
83,127,80,46,95,34,122,175,103,5,213,179,102,17,249,44,34,151,5,71,232,
72,82,203,185,41,31,144,216,153,216,217,21,226,11,28,124,63,164,164,78,
252,241,57,183,168,60,11,4,222,76,209,159,81,155,210,57,197,12,134,203,
138,140,234,205,135,154,54,85,66,110,236,235,53,191,105,84,239,63,109,
94,28,158,129,187,111,185,59,103,240,95,239,201,238,17,124,13,26,202,
122,15,135,52,228,202,115,128,156,151,130,210,97,14,162,10,153,237,41,
174,0,25,8,192,110,239,134,6,28,237,111,98,132,207,147,250,232,107,86,
137,9,179,166,230,61,142,23,80,200,190,132,235,101,82,145,53,220,212,
45,19,184,182,21,107,242,122,62,117,73,18,136,216,100,195,103,195,154,
89,153,21,247,175,103,149,208,237,86,188,42,51,166,175,232,99,113,229,
142,218,80,198,0,167,147,126,30,69,179,93,18,87,146,166,130,164,238,
167,135,167,101,69,19,223,95,175,118,121,189,219,2,129,207,68,120,165,
111,131,125,41,164,183,156,78,163,179,249,217,245,171,142,77,150,21,36,
0,97,173,80,232,13,76,154,82,157,230,254,1,182,124,13,21,163,100,135,
69,196,242,121,227,123,224,74,86,0,29,41,18,255,177,101,153,3,2,240,
209,163,125,181,246,229,138,242,9,106,13,0,7,215,179,117,94,231,95,241,
33,101,175,205,129,223,135,7,55,98,172,217,247,120,138,239,226,103,190,
216,91,199,226,63,65,84,232,187,239,222,247,139,147,228,184,174,229,64,
160,157,127,124,191,152,255,201,176,2,61,1,254,208,14,44,14,112,158,19,
30,173,36,221,163,41,223,11,91,93,48,17,99,228,254,204,224,39,254,133,
23,224,2,14,17,133,22,172,222,203,191,169,242,54,80,181,198,48,49,2,
167,146,74,188,199,57,112,44,55,212,205,134,163,192,55,116,45,252,203,
255,94,101,220,219,189,18,192,181,139,124,14,86,102,91,50,64,61,57,2,
39,127,102,94,102,101,31,115,223,223,30,72,107,91,64,57,206,233,122,
128,222,131,249,70,163,81,191,13,116,82,28,224,247,13,254,27,249,71,63,
23,137,108,117,144,201,107,16,144,91,164,159,201,203,236,102,98,38,200,
104,95,136,245,2,30,191,4,88,110,174,72,175,168,16,208,41,52,126,137,
120,65,121,165,37,151,18,231,221,205,135,138,195,22,67,243,221,169,144,
189,134,207,150,96,153,118,50,88,255,167,217,106,181,39,147,192,33,126,
196,31,58,175,128,75,78,39,69,14,216,130,203,192,29,85,247,139,153,212,
123,132,148,115,65,250,170,2,75,75,222,222,116,15,236,75,38,88,126,69,
18,112,177,41,219,64,205,223,35,116,171,214,186,40,252,178,132,40,113,
69,138,23,150,89,204,160,63,91,54,172,23,15,252,61,159,66,205,125,247,
245,226,115,111,219,49,216,211,25,104,9,100,119,129,67,76,84,195,251,
201,61,82,154,55,68,173,75,190,47,53,55,94,136,90,117,87,93,226,171,
195,114,201,46,55,164,156,108,93,67,43,78,51,250,201,14,236,102,119,
211,217,52,116,132,172,234,150,18,159,157,135,200,84,95,106,108,9,119,
245,231,227,239,255,7,248,104,75,19,0,76,111,99,84,0,0,0,16,0,0,0,1,0,
0,0,10,0,0,0,2,0,0,0,16,65,116,116,114,0,0,0,40,131,108,0,0,0,1,104,2,
100,0,3,118,115,110,108,0,0,0,1,110,16,0,225,54,104,28,74,78,4,76,226,
245,83,27,26,202,14,112,106,106,67,73,110,102,0,0,0,115,131,108,0,0,0,
4,104,2,100,0,7,111,112,116,105,111,110,115,106,104,2,100,0,7,118,101,
114,115,105,111,110,107,0,5,52,46,56,46,50,104,2,100,0,4,116,105,109,
101,104,6,98,0,0,7,221,97,1,97,5,97,10,97,48,97,11,104,2,100,0,6,115,
111,117,114,99,101,107,0,35,47,104,111,109,101,47,114,97,106,101,115,
104,47,119,111,114,107,47,101,100,105,115,47,100,101,112,115,47,101,
114,108,100,111,99,115,106,0,65,98,115,116,0,0,0,0,76,105,110,101,0,0,
0,20,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0>>,
[{[],
[{0,erl_lint,{unused_var,'TranslationFun'}},
{0,erl_lint,{unused_var,'Variables'}}]}]}
:0: Warning: variable 'TranslationFun' is unused
:0: Warning: variable 'Variables' is unused
ERROR: compile failed while processing /edis/deps/erldocs: rebar_abort
make: *** [erl] Error 1

I have the R15B03 version of erlang and latest rebar installed. I think it more of an issue with erldocs than edis, but I am not very sure.

Regards
Rajesh

eper version mismatch during make

How to reproduce:

$ git clone git://github.com/inaka/edis
$ cd edis/
edis$ make
rebar get-deps compile
==> edis (get-deps)
Pulling lager from {git,"git://github.com/basho/lager.git","master"}
Cloning into 'lager'...
Pulling eper from {git,"git://github.com/mhald/eper.git","HEAD"}
Cloning into 'eper'...
ERROR: Dependency dir /usr/src/edis/deps/eper failed application validation with reason:
{version_mismatch,{"/usr/src/edis/deps/eper/src/eper.app.src",
                   {expected,"0.60"},
                   {has,"0.69"}}}.
make: *** [erl] Error 1

How to fix: change version at edis/deps/eper/src/eper.app.src to 0.60

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.