2017-12-31 103 views
0

Ich habe einen Aerospike-Container mit der official docker hub image eingesetzt. Wenn ich versuche, test_list = client.llist(key, 'test_list') auszuführen, kehrt mein Python-Client-Skript die folgenden Fehler:Aerospike-Docker - 100L, 'UDF: Ausführungsfehler 1

exception.UDFError: (100L, 'UDF: Execution Error 1', 'src/main/llist/llist_operations.c', 93) 

ich an den Aerospike-Logs geschaut und festgestellt, dass jedes Mal, dieser Code ausgeführt wird, unter dem Fehler gedruckt wird:

: WARNING (udf): (src/main/mod_lua.c:599) Lua Create Error: module 'llist' not found: 
    no field package.preload['llist'] 
    no file './llist.lua' 
    no file '/usr/local/share/luajit-2.0.3/llist.lua' 
    no file '/usr/local/share/lua/5.1/llist.lua' 
    no file '/usr/local/share/lua/5.1/llist/init.lua' 
    no file '/opt/aerospike/sys/udf/lua/llist.lua' 
    no file '/opt/aerospike/sys/udf/lua/external/llist.lua' 
    no file '/opt/aerospike/usr/udf/lua/llist.lua' 
    no file './llist.so' 
    no file '/usr/local/lib/lua/5.1/llist.so' 
    no file '/usr/local/lib/lua/5.1/loadall.so' 
    no file '/opt/aerospike/sys/udf/lua/llist.so' 
    no file '/opt/aerospike/sys/udf/lua/external/llist.so' 
    no file '/opt/aerospike/usr/udf/lua/llist.so' 
: INFO (udf): (udf.c:954) lua error, ret:1 

Ich konnte die relevanten Lua-Dateien oder eine Lua-Installation im Container nicht finden. Ich habe meinen Code gut funktioniert, wenn ich es direkt auf dem Host ausführen. Gibt es eine zusätzliche Konfiguration, die an den Container vorgenommen werden muss?

+1

Welche Version von Aerospike verwenden Sie? –

Antwort

3

LDTs ​​wurden in 3,15 fallen gelassen.

https://www.aerospike.com/docs/guide/ldt_guide.html

Auszug:

Aerospike has removed the Large Data Type feature as of server version 3.15 after deprecating this functionality 12 months earlier. Please see the removal notice and deprecation notice. The features listed below are no longer in Aerospike servers.

Verwandte Themen