2017-12-31 6 views
0

official docker hub imageを使用してAerospikeコンテナを配備しました。私はtest_list = client.llist(key, 'test_list')を実行しようとすると、私のPythonクライアントスクリプトは次のエラーを返します。Aerospikeドッカー - 100L、 'UDF:実行エラー1

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

私は、エアロスパイクのログを見て、このコードが実行されるたびに、以下のエラーが印刷されることを発見:

: 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インストールがコンテナに見つかりませんでした。私は自分のコードをホスト上で直接実行すると正常に動作します。コンテナに行う必要のある追加の設定がありますか?

+1

エアロスパイクのバージョンを使用していますか? –

答えて

3

LDTを3.15に落としました。

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

抜粋:

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.

関連する問題