{"action":"opened","issue":{"url":"https://api.github.com/repos/basho/riak/issues/864","repository_url":"https://api.github.com/repos/basho/riak","labels_url":"https://api.github.com/repos/basho/riak/issues/864/labels{/name}","comments_url":"https://api.github.com/repos/basho/riak/issues/864/comments","events_url":"https://api.github.com/repos/basho/riak/issues/864/events","html_url":"https://github.com/basho/riak/issues/864","id":167041335,"number":864,"title":"Riak develop-2.2 - built from source - error - 'failed to load erlang_js_drv.so'","user":{"login":"binarytemple-bet365","id":20342531,"avatar_url":"https://avatars.githubusercontent.com/u/20342531?v=3","gravatar_id":"","url":"https://api.github.com/users/binarytemple-bet365","html_url":"https://github.com/binarytemple-bet365","followers_url":"https://api.github.com/users/binarytemple-bet365/followers","following_url":"https://api.github.com/users/binarytemple-bet365/following{/other_user}","gists_url":"https://api.github.com/users/binarytemple-bet365/gists{/gist_id}","starred_url":"https://api.github.com/users/binarytemple-bet365/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarytemple-bet365/subscriptions","organizations_url":"https://api.github.com/users/binarytemple-bet365/orgs","repos_url":"https://api.github.com/users/binarytemple-bet365/repos","events_url":"https://api.github.com/users/binarytemple-bet365/events{/privacy}","received_events_url":"https://api.github.com/users/binarytemple-bet365/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-22T13:06:53Z","updated_at":"2016-07-22T13:06:53Z","closed_at":null,"body":"Building Riak 2.2 - not sure if it's worth trying to reproduce the root cause, but begs the question: why is JavaScript MapReduce support shipped in Riak. After all, the [docs](http://docs.basho.com/riak/kv/2.1.4/developing/app-guide/advanced-mapreduce/#mapreduce) say it's deprecated as of Riak 2.0 : \r\n\r\n>> In Riak, MapReduce is one of the primary methods for non-primary-key-based querying in Riak, >> alongside secondary indexes. Riak allows you to run MapReduce jobs using Erlang or JavaScript, but JavaScript support is deprecated as of Riak 2.0, so this document covers Erlang exclusively.\r\n\r\nHere's the crash:\r\n```\r\n2016-07-22 13:59:56.367 [error] <0.111.0> Error loading \"erlang_js_drv\": \"undefined symbol: erl_exit\"\r\n2016-07-22 13:59:56.367 [error] <0.111.0> CRASH REPORT Process erlang_js_sup with 0 neighbours exited with reason: bad return value: {error,{load_error,\"Failed to load erlang_js_drv.so\"}} in gen_server:init_it/6 line 356\r\n2016-07-22 13:59:56.367 [error] <0.109.0> CRASH REPORT Process <0.109.0> with 0 neighbours exited with reason: bad return value: {error,{load_error,\"Failed to load erlang_js_drv.so\"}} in erlang_js:start(normal, []) in application_master:init/4 line 134\r\n2016-07-22 13:59:56.367 [info] <0.9.0> Application erlang_js exited with reason: bad return value: {error,{load_error,\"Failed to load erlang_js_drv.so\"}} in erlang_js:start(normal, [])\r\n2016-07-22 13:59:56.373 [info] <0.73.0> alarm_handler: {clear,system_memory_high_watermark}\r\n```\r\n"}}
{"actor":{"display_login":"binarytemple-bet365"}}