我使用official docker hub image部署了Aerospike容器。当我尝试执行test_list = client.llist(key, 'test_list')
时,我的Python客户端脚本会返回以下错误:
exception.UDFError: (100L, 'UDF: Execution Error 1', 'src/main/llist/llist_operations.c', 93)
我查看了Aerospike日志,发现每次执行此代码时,都会打印下面的错误:
: 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
我在容器中找不到相关的lua文件或lua安装。当我直接在主机上运行时,我的代码工作正常。是否需要对容器进行一些额外的配置?
答案 0 :(得分:3)
LDT在3.15中被删除。
https://www.aerospike.com/docs/guide/ldt_guide.html
摘录:
自12个月前弃用此功能后,Aerospike已从服务器版本3.15中删除了大数据类型功能。请参阅删除通知和弃用通知。下面列出的功能不再位于Aerospike服务器中。