Hi pgupta,
now I have a client Java with this statement:
Statement stmt = new Statement();
stmt.setNamespace(Constants.SSD_NAMESPACE);
stmt.setSetName(set);
stmt.setFilters(Filter.equal("passed", 1));
where passed is a secondary index with only two values ( 0 or 1)
and launch a queryAggregate for calling udf:
client.queryAggregate(qp, stmt, "matching", "searchSSDonCluster", Value.get(fplong), Value.get(hamming));
where fplong is byte array and hamming is an int
Now my set’s structure is
----------------------------------------------------------------------------------------------------------------+--------+------+
| photoname | fplong | passed | ar |
+------------------------------+-------------------------------------------------------------------------------+--------+------+
| "Rollei_RCP-7325XS_2_43274" | 83 D0 77 88 63 44 F4 E3 ... | 0 | 1333 |
| "Sony_DSC-T77_1_48947" | D5 BD AA 72 7C A1 91 ... | 1 | 1333 |
This set has 6060 records
The file Matching.lua is:
local function filter(element)
return element['hamming']~=0 and element['hamming']~=-1
end
local function aggregate_sts(lista, nextitem)
list.append(lista, nextitem)
return lista
end
local function reduce_stats(a,b)
return list.merge(a,b)
end
local function searchSSD(long_query, thresholdSSD)
return function(record)
local fromlua=require("fromlua")
-- FUNCTION C
local hamming = fromlua.matchSecondStep(record['fplong'], long_query, thresholdSSD)
return map {photoname = record['photoname'], hamming=hamming}
end
end
function searchSSDonCluster(stream, long_query, thresholdSSD)
local mymap = searchSSD(long_query,thresholdSSD)
return stream : map(mymap) : filter(filter) : aggregate(list{},aggregate_sts) : reduce(reduce_stats)
end
Now my problem is that when you run using debug all works perfectly but when you run in execution only a part of all data are come back to JAVA and this result is not deterministic.
HERE YOU READ AEROSPIKE LOG AFTER EXECUTION:
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::868) Released qtr [base/thr_query.c:2048] 0x7fc9a074d008 1
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::2153) **start 1 end 1 @ 1 pimd found 10**
**Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::2516) Loop=6, Selected=10, ret=0**
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::880) Reserved qtr [base/thr_query.c:2017] 0x7fc9a074d008 2
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::1992) Processing Request 1
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::1234) apply_stream: BEGIN
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::1237) apply_stream: poll state
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::654) [CACHE] is disabled.
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (src/main/mod_lua.c::610) Size of the lua state created for the file matching in KB 79
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::666) [CACHE] state created: matching
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::1252) apply_stream: push aerospike into the global scope
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::1257) apply_stream: push apply_stream() onto the stack
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::1261) apply_stream: push function onto the stack
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::1266) apply_stream: push scope onto the stack
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::1270) apply_stream: push istream onto the stack
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::1273) apply_stream: push ostream onto the stack
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::1277) apply_stream: push each argument onto the stack
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::807) pushargs: 3
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::1288) apply_stream: apply the function matching.searchSSDonCluster
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::842) apply
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::857) call function
Feb 03 2017 09:53:57 GMT: INFO (aggr): ([C]::-1) SEARCH SSD as SECOND STEP: 216
Feb 03 2017 09:53:57 GMT: INFO (aggr): ([C]::-1) STREAM IS NOT PROBLEM
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_open:210) [ENTER] Opening record key:<Digest>:0xae25b246260f8744a4a08808b7e9ec596e743d67
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::226) Opening Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_open:240) Open 0x7fc82b7bd450 c8 Digest:<Digest>:0xae25b246260f8744a4a08808b7e9ec596e743d67
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_storage_record_open:84) [ENTER] Opening record key:<Digest>:0xae25b246260f8744a4a08808b7e9ec596e743d67
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_open:117) Storage Open: Rec(0x7fc82b7bd450) flag(d8) Digest:<Digest>:0xae25b246260f8744a4a08808b7e9ec596e743d67
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::696) [ENTER] rec(0x7fc990a95a40) name(photoname)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::429) [ENTER] BinName(photoname)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::480) [ENTER] urecord(0x7fc82b7bd450) name(0x40a0ce40)[photoname] dirty(0)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::517) udf_record_set: photoname not modified, add for 0x7fc82b7bd450:0x7fc990a96540
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::731) udf_record_get: end (photoname) [0x7fc82b7bd450,0x7fc990a96540]
Feb 03 2017 09:53:57 GMT: INFO (aggr): (/opt/aerospike/sys/udf/lua/stream_ops.lua::80) ANALYSES Canon_Ixus70_1_3724
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::696) [ENTER] rec(0x7fc990a95a40) name(fplong)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::429) [ENTER] BinName(fplong)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::431) udf_record_get: fplong find
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::480) [ENTER] urecord(0x7fc82b7bd450) name(0x40a0e208)[fplong] dirty(0)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::517) udf_record_set: fplong not modified, add for 0x7fc82b7bd450:0x7fc990a96560
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::731) udf_record_get: end (fplong) [0x7fc82b7bd450,0x7fc990a96560]
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::696) [ENTER] rec(0x7fc990a95a40) name(photoname)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::429) [ENTER] BinName(photoname)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::431) udf_record_get: photoname find
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::435) Bin photoname found, type(4)
Feb 03 2017 09:53:57 GMT: INFO (aggr): (/opt/aerospike/sys/udf/lua/stream_ops.lua::81) ELEMENT Canon_Ixus70_1_3724 with Hamming 253851
Feb 03 2017 09:53:57 GMT: INFO (aggr): (/opt/aerospike/sys/udf/lua/stream_ops.lua::175) AGGREGATE: Canon_Ixus70_1_3724
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_close:271) [ENTER] Closing record key:<Digest>:0xae25b246260f8744a4a08808b7e9ec596e743d67
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::276) Closing Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_close:183) Storage Close:: Rec(0x7fc82b7bd450) Flag(c8) Digest:<Digest>:0xae25b246260f8744a4a08808b7e9ec596e743d67
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_close:281) Storage Close:: Rec(0x7fc82b7bd450) Flag(c0) Digest:<Digest>:0xae25b246260f8744a4a08808b7e9ec596e743d67
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::446) [ENTER] NumUpdates(2)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_open:210) [ENTER] Opening record key:<Digest>:0xcb45ee88c702dc48a19c7b2334f24cb82ada5790
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::226) Opening Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_open:240) Open 0x7fc82b7bd450 c8 Digest:<Digest>:0xcb45ee88c702dc48a19c7b2334f24cb82ada5790
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_storage_record_open:84) [ENTER] Opening record key:<Digest>:0xcb45ee88c702dc48a19c7b2334f24cb82ada5790
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_open:117) Storage Open: Rec(0x7fc82b7bd450) flag(d8) Digest:<Digest>:0xcb45ee88c702dc48a19c7b2334f24cb82ada5790
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::696) [ENTER] rec(0x7fc990a95a40) name(photoname)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::429) [ENTER] BinName(photoname)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::480) [ENTER] urecord(0x7fc82b7bd450) name(0x40a0ce40)[photoname] dirty(0)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::517) udf_record_set: photoname not modified, add for 0x7fc82b7bd450:0x7fc990a96500
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::731) udf_record_get: end (photoname) [0x7fc82b7bd450,0x7fc990a96500]
Feb 03 2017 09:53:57 GMT: INFO (aggr): (/opt/aerospike/sys/udf/lua/stream_ops.lua::80) ANALYSES Canon_Ixus70_1_3764
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::696) [ENTER] rec(0x7fc990a95a40) name(fplong)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::429) [ENTER] BinName(fplong)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::431) udf_record_get: fplong find
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::480) [ENTER] urecord(0x7fc82b7bd450) name(0x40a0e208)[fplong] dirty(0)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::517) udf_record_set: fplong not modified, add for 0x7fc82b7bd450:0x7fc990a96600
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::731) udf_record_get: end (fplong) [0x7fc82b7bd450,0x7fc990a96600]
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::696) [ENTER] rec(0x7fc990a95a40) name(photoname)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::429) [ENTER] BinName(photoname)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::431) udf_record_get: photoname find
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::435) Bin photoname found, type(4)
Feb 03 2017 09:53:57 GMT: INFO (aggr): (/opt/aerospike/sys/udf/lua/stream_ops.lua::81) ELEMENT Canon_Ixus70_1_3764 with Hamming 247876
Feb 03 2017 09:53:57 GMT: INFO (aggr): (/opt/aerospike/sys/udf/lua/stream_ops.lua::175) AGGREGATE: Canon_Ixus70_1_3764
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_close:271) [ENTER] Closing record key:<Digest>:0xcb45ee88c702dc48a19c7b2334f24cb82ada5790
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::276) Closing Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_close:183) Storage Close:: Rec(0x7fc82b7bd450) Flag(c8) Digest:<Digest>:0xcb45ee88c702dc48a19c7b2334f24cb82ada5790
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_close:281) Storage Close:: Rec(0x7fc82b7bd450) Flag(c0) Digest:<Digest>:0xcb45ee88c702dc48a19c7b2334f24cb82ada5790
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::446) [ENTER] NumUpdates(2)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_open:210) [ENTER] Opening record key:<Digest>:0x8b518642f808139501a5cd5454bed28399a7fc97
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::226) Opening Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_open:240) Open 0x7fc82b7bd450 c8 Digest:<Digest>:0x8b518642f808139501a5cd5454bed28399a7fc97
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_storage_record_open:84) [ENTER] Opening record key:<Digest>:0x8b518642f808139501a5cd5454bed28399a7fc97
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_open:117) Storage Open: Rec(0x7fc82b7bd450) flag(d8) Digest:<Digest>:0x8b518642f808139501a5cd5454bed28399a7fc97
Feb 03 2017 09:53:57 GMT: DEBUG (query): (thr_query.c::1429) query_record_matches: sindex key does not matches bin value in record. bin value 0 skey value 1
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_close:271) [ENTER] Closing record key:<Digest>:0x8b518642f808139501a5cd5454bed28399a7fc97
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::276) Closing Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_close:183) Storage Close:: Rec(0x7fc82b7bd450) Flag(c8) Digest:<Digest>:0x8b518642f808139501a5cd5454bed28399a7fc97
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_close:281) Storage Close:: Rec(0x7fc82b7bd450) Flag(c0) Digest:<Digest>:0x8b518642f808139501a5cd5454bed28399a7fc97
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::446) [ENTER] NumUpdates(0)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_open:210) [ENTER] Opening record key:<Digest>:0xb0acd615dd8e7b2e88363d0b4adc0c951f17329c
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::226) Opening Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_open:240) Open 0x7fc82b7bd450 c8 Digest:<Digest>:0xb0acd615dd8e7b2e88363d0b4adc0c951f17329c
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_storage_record_open:84) [ENTER] Opening record key:<Digest>:0xb0acd615dd8e7b2e88363d0b4adc0c951f17329c
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_open:117) Storage Open: Rec(0x7fc82b7bd450) flag(d8) Digest:<Digest>:0xb0acd615dd8e7b2e88363d0b4adc0c951f17329c
Feb 03 2017 09:53:57 GMT: DEBUG (query): (thr_query.c::1429) query_record_matches: sindex key does not matches bin value in record. bin value 0 skey value 1
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_close:271) [ENTER] Closing record key:<Digest>:0xb0acd615dd8e7b2e88363d0b4adc0c951f17329c
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::276) Closing Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_close:183) Storage Close:: Rec(0x7fc82b7bd450) Flag(c8) Digest:<Digest>:0xb0acd615dd8e7b2e88363d0b4adc0c951f17329c
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_close:281) Storage Close:: Rec(0x7fc82b7bd450) Flag(c0) Digest:<Digest>:0xb0acd615dd8e7b2e88363d0b4adc0c951f17329c
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::446) [ENTER] NumUpdates(0)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_open:210) [ENTER] Opening record key:<Digest>:0xbe782dd7460bb2259fe564ed9e15eb2cde7e3cae
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::226) Opening Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_open:240) Open 0x7fc82b7bd450 c8 Digest:<Digest>:0xbe782dd7460bb2259fe564ed9e15eb2cde7e3cae
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_storage_record_open:84) [ENTER] Opening record key:<Digest>:0xbe782dd7460bb2259fe564ed9e15eb2cde7e3cae
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_open:117) Storage Open: Rec(0x7fc82b7bd450) flag(d8) Digest:<Digest>:0xbe782dd7460bb2259fe564ed9e15eb2cde7e3cae
Feb 03 2017 09:53:57 GMT: DEBUG (query): (thr_query.c::1429) query_record_matches: sindex key does not matches bin value in record. bin value 0 skey value 1
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_close:271) [ENTER] Closing record key:<Digest>:0xbe782dd7460bb2259fe564ed9e15eb2cde7e3cae
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::276) Closing Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_close:183) Storage Close:: Rec(0x7fc82b7bd450) Flag(c8) Digest:<Digest>:0xbe782dd7460bb2259fe564ed9e15eb2cde7e3cae
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_close:281) Storage Close:: Rec(0x7fc82b7bd450) Flag(c0) Digest:<Digest>:0xbe782dd7460bb2259fe564ed9e15eb2cde7e3cae
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::446) [ENTER] NumUpdates(0)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_open:210) [ENTER] Opening record key:<Digest>:0x94d1fc088f15e149953a16301b2c4eb0c20c92b0
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::226) Opening Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_open:240) Open 0x7fc82b7bd450 c8 Digest:<Digest>:0x94d1fc088f15e149953a16301b2c4eb0c20c92b0
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_storage_record_open:84) [ENTER] Opening record key:<Digest>:0x94d1fc088f15e149953a16301b2c4eb0c20c92b0
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_open:117) Storage Open: Rec(0x7fc82b7bd450) flag(d8) Digest:<Digest>:0x94d1fc088f15e149953a16301b2c4eb0c20c92b0
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::696) [ENTER] rec(0x7fc990a95a40) name(photoname)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::429) [ENTER] BinName(photoname)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::480) [ENTER] urecord(0x7fc82b7bd450) name(0x40a0ce40)[photoname] dirty(0)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::517) udf_record_set: photoname not modified, add for 0x7fc82b7bd450:0x7fc990a96540
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::731) udf_record_get: end (photoname) [0x7fc82b7bd450,0x7fc990a96540]
Feb 03 2017 09:53:57 GMT: INFO (aggr): (/opt/aerospike/sys/udf/lua/stream_ops.lua::80) ANALYSES Canon_Ixus70_1_3769
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::696) [ENTER] rec(0x7fc990a95a40) name(fplong)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::429) [ENTER] BinName(fplong)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::431) udf_record_get: fplong find
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::480) [ENTER] urecord(0x7fc82b7bd450) name(0x40a0e208)[fplong] dirty(0)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::517) udf_record_set: fplong not modified, add for 0x7fc82b7bd450:0x7fc990a966a0
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::731) udf_record_get: end (fplong) [0x7fc82b7bd450,0x7fc990a966a0]
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::696) [ENTER] rec(0x7fc990a95a40) name(photoname)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::429) [ENTER] BinName(photoname)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::431) udf_record_get: photoname find
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::435) Bin photoname found, type(4)
Feb 03 2017 09:53:57 GMT: INFO (aggr): (/opt/aerospike/sys/udf/lua/stream_ops.lua::81) ELEMENT Canon_Ixus70_1_3769 with Hamming 248016
Feb 03 2017 09:53:57 GMT: INFO (aggr): (/opt/aerospike/sys/udf/lua/stream_ops.lua::175) AGGREGATE: Canon_Ixus70_1_3769
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_close:271) [ENTER] Closing record key:<Digest>:0x94d1fc088f15e149953a16301b2c4eb0c20c92b0
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::276) Closing Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_close:183) Storage Close:: Rec(0x7fc82b7bd450) Flag(c8) Digest:<Digest>:0x94d1fc088f15e149953a16301b2c4eb0c20c92b0
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_close:281) Storage Close:: Rec(0x7fc82b7bd450) Flag(c0) Digest:<Digest>:0x94d1fc088f15e149953a16301b2c4eb0c20c92b0
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::446) [ENTER] NumUpdates(2)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_open:210) [ENTER] Opening record key:<Digest>:0xf9374f526de228f7da65d317764cbd7a00caf3b3
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::226) Opening Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_open:240) Open 0x7fc82b7bd450 c8 Digest:<Digest>:0xf9374f526de228f7da65d317764cbd7a00caf3b3
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_storage_record_open:84) [ENTER] Opening record key:<Digest>:0xf9374f526de228f7da65d317764cbd7a00caf3b3
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_open:117) Storage Open: Rec(0x7fc82b7bd450) flag(d8) Digest:<Digest>:0xf9374f526de228f7da65d317764cbd7a00caf3b3
Feb 03 2017 09:53:57 GMT: DEBUG (query): (thr_query.c::1429) query_record_matches: sindex key does not matches bin value in record. bin value 0 skey value 1
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_close:271) [ENTER] Closing record key:<Digest>:0xf9374f526de228f7da65d317764cbd7a00caf3b3
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::276) Closing Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_close:183) Storage Close:: Rec(0x7fc82b7bd450) Flag(c8) Digest:<Digest>:0xf9374f526de228f7da65d317764cbd7a00caf3b3
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_close:281) Storage Close:: Rec(0x7fc82b7bd450) Flag(c0) Digest:<Digest>:0xf9374f526de228f7da65d317764cbd7a00caf3b3
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::446) [ENTER] NumUpdates(0)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_open:210) [ENTER] Opening record key:<Digest>:0x1030b622a05552af3d6f73d4083d6abf962d1db6
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::226) Opening Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_open:240) Open 0x7fc82b7bd450 c8 Digest:<Digest>:0x1030b622a05552af3d6f73d4083d6abf962d1db6
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_storage_record_open:84) [ENTER] Opening record key:<Digest>:0x1030b622a05552af3d6f73d4083d6abf962d1db6
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_open:117) Storage Open: Rec(0x7fc82b7bd450) flag(d8) Digest:<Digest>:0x1030b622a05552af3d6f73d4083d6abf962d1db6
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::696) [ENTER] rec(0x7fc990a95a40) name(photoname)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::429) [ENTER] BinName(photoname)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::480) [ENTER] urecord(0x7fc82b7bd450) name(0x40a0ce40)[photoname] dirty(0)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::517) udf_record_set: photoname not modified, add for 0x7fc82b7bd450:0x7fc990a96500
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::731) udf_record_get: end (photoname) [0x7fc82b7bd450,0x7fc990a96500]
Feb 03 2017 09:53:57 GMT: INFO (aggr): (/opt/aerospike/sys/udf/lua/stream_ops.lua::80) ANALYSES Canon_Ixus70_1_3888
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::696) [ENTER] rec(0x7fc990a95a40) name(fplong)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::429) [ENTER] BinName(fplong)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::431) udf_record_get: fplong find
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::480) [ENTER] urecord(0x7fc82b7bd450) name(0x40a0e208)[fplong] dirty(0)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::517) udf_record_set: fplong not modified, add for 0x7fc82b7bd450:0x7fc990a96740
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::731) udf_record_get: end (fplong) [0x7fc82b7bd450,0x7fc990a96740]
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::696) [ENTER] rec(0x7fc990a95a40) name(photoname)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::429) [ENTER] BinName(photoname)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::431) udf_record_get: photoname find
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::435) Bin photoname found, type(4)
Feb 03 2017 09:53:57 GMT: INFO (aggr): (/opt/aerospike/sys/udf/lua/stream_ops.lua::81) ELEMENT Canon_Ixus70_1_3888 with Hamming 255191
Feb 03 2017 09:53:57 GMT: INFO (aggr): (/opt/aerospike/sys/udf/lua/stream_ops.lua::175) AGGREGATE: Canon_Ixus70_1_3888
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_close:271) [ENTER] Closing record key:<Digest>:0x1030b622a05552af3d6f73d4083d6abf962d1db6
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::276) Closing Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_close:183) Storage Close:: Rec(0x7fc82b7bd450) Flag(c8) Digest:<Digest>:0x1030b622a05552af3d6f73d4083d6abf962d1db6
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_close:281) Storage Close:: Rec(0x7fc82b7bd450) Flag(c0) Digest:<Digest>:0x1030b622a05552af3d6f73d4083d6abf962d1db6
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::446) [ENTER] NumUpdates(2)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_open:210) [ENTER] Opening record key:<Digest>:0x971c031b030abaafa3ab02731725b0fee92fb4c2
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::226) Opening Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_open:240) Open 0x7fc82b7bd450 c8 Digest:<Digest>:0x971c031b030abaafa3ab02731725b0fee92fb4c2
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_storage_record_open:84) [ENTER] Opening record key:<Digest>:0x971c031b030abaafa3ab02731725b0fee92fb4c2
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_open:117) Storage Open: Rec(0x7fc82b7bd450) flag(d8) Digest:<Digest>:0x971c031b030abaafa3ab02731725b0fee92fb4c2
Feb 03 2017 09:53:57 GMT: DEBUG (query): (thr_query.c::1429) query_record_matches: sindex key does not matches bin value in record. bin value 0 skey value 1
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_close:271) [ENTER] Closing record key:<Digest>:0x971c031b030abaafa3ab02731725b0fee92fb4c2
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::276) Closing Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_close:183) Storage Close:: Rec(0x7fc82b7bd450) Flag(c8) Digest:<Digest>:0x971c031b030abaafa3ab02731725b0fee92fb4c2
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_close:281) Storage Close:: Rec(0x7fc82b7bd450) Flag(c0) Digest:<Digest>:0x971c031b030abaafa3ab02731725b0fee92fb4c2
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::446) [ENTER] NumUpdates(0)
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_open:210) [ENTER] Opening record key:<Digest>:0xfe50d0c011c55722d4e1daf266749c33e557edc8
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::226) Opening Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_open:240) Open 0x7fc82b7bd450 c8 Digest:<Digest>:0xfe50d0c011c55722d4e1daf266749c33e557edc8
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_storage_record_open:84) [ENTER] Opening record key:<Digest>:0xfe50d0c011c55722d4e1daf266749c33e557edc8
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_open:117) Storage Open: Rec(0x7fc82b7bd450) flag(d8) Digest:<Digest>:0xfe50d0c011c55722d4e1daf266749c33e557edc8
Feb 03 2017 09:53:57 GMT: DEBUG (query): (thr_query.c::1429) query_record_matches: sindex key does not matches bin value in record. bin value 0 skey value 1
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c:udf_record_close:271) [ENTER] Closing record key:<Digest>:0xfe50d0c011c55722d4e1daf266749c33e557edc8
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c::276) Closing Record
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_storage_record_close:183) Storage Close:: Rec(0x7fc82b7bd450) Flag(c8) Digest:<Digest>:0xfe50d0c011c55722d4e1daf266749c33e557edc8
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (udf_record.c:udf_record_close:281) Storage Close:: Rec(0x7fc82b7bd450) Flag(c0) Digest:<Digest>:0xfe50d0c011c55722d4e1daf266749c33e557edc8
Feb 03 2017 09:53:57 GMT: DEBUG (udf): (udf_record.c::446) [ENTER] NumUpdates(0)
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::860) rc = 0
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::863) convert lua type to val
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::886) pop return value from the stack
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::1293) apply_stream: lose the context
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::763) [CACHE] is disabled.
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::771) [CACHE] state closed: matching
Feb 03 2017 09:53:57 GMT: DETAIL (udf): (src/main/mod_lua.c::1297) apply_stream: END
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::868) Released qtr [base/thr_query.c:2048] 0x7fc9a074d008 1
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::2153) **start 1 end 1 @ 1 pimd found 0**
**Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::2173) All the Data finished moving to next tree 2**
**Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::2516) Loop=7, Selected=0, ret=2**
Feb 03 2017 09:53:57 GMT: DEBUG (query): (thr_query.c::613) Query 0x7fc9a074d008 Done at base/thr_query.c:2536
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::880) Reserved qtr [base/thr_query.c:2017] 0x7fc9a074d008 2
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::1992) Processing Request 1
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::868) Released qtr [base/thr_query.c:2048] 0x7fc9a074d008 1
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::2340) Request is finished
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::1200) Adding fin 0x7fc9a074d008
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::880) Reserved qtr [base/thr_query.c:977] 0x7fc9a074d008 2
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::903) Netio Started_CB 0 1 1 4
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::930) Query Finish Callback io seq 1 with retCode 0
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::477) Pushed 0x7fc990836000 2097152 2097152
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::868) Released qtr [base/thr_query.c:950] 0x7fc9a074d008 1
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::497) Popped 0x7fc990836000
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::865) Released qtr [base/thr_query.c:2553] 0x7fc9a074d008 0
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::769) Total time elapsed 38728 us, 6 of 60 read operations avg latency 6454 us
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::477) Pushed 0x7fc990836000 2097152 2097152
Feb 03 2017 09:53:57 GMT: DETAIL (query): (thr_query.c::868) Released qtr [base/thr_query.c:2553] 0x7fc9a074d008 0
Feb 03 2017 09:53:59 GMT: INFO (info): (thr_info.c::4951) system memory: free 10417136kb ( 63 percent free )