I need to ask a question on creating UDF on aerospike. My configuration is as below:
- M1 Macbook Pro
- Docker using latest aerospike
My application is running this code:
AerospikeClient.RegisterUDF(nil, []byte({UDF_BODY}), {UDF_FILENAME}+".lua", aerospike.LUA)
and it keeps on producing this error:
Error registering UDF in aerospike. common_error="Registration failed: compile_error\nFile: \nLine: 0\nMessage: Unable to create a new Lua state"
Does anybody have any idea on how to resolve this error?
I searched the forum and I don't think there is anybody that have encountered the same issue as me.
Thanks