This message was deleted.
# troubleshooting
s
This message was deleted.
v
please look at the coordinator log and get the complete error. The look was not correctly specified. Also please paste your lookup definition and the sample csv here
d
Thanks @Vijay Narayanan. Actually total size of our lookup is around 876 MB. So just wanted to check whether it is becauze size of lookup is more and only 10% of heap is what is reserved for lookup?
v
the size of the lookup should not cause this(I am assuming you have made it offheap). Try with smaller lookup on similar data to check your config first
d
We are able to resolve the error by making following changes to Historicals and Broker
on Historicals => druid.lookup.namespace.cache.type=onHeap
on Broker druid.lookup.namespace.cache.type=offHeap
on Historicals, Heap is 8GB and on Broker Heap is 2 GB
not sure whether this is the right thing to do
v
with 896 MB you can have the lookup on heap.
d
ok. Can this be that 10% of heap is required for lookup and in Broker, we have 2GB only and hence 10% of 2GB is lesser than 800MB?
also @Vijay Narayanan one more thing we noted is that heap memory used is increasing now. Is it because cache is set to onHeap?
pelase find above the heap used
the number of processing thread is set to 15 ( 16 core machine)
So can this be that each processing thread is creating a copy of lookup?
v
lookup is loaded once in each of historical, broker and the tasks. Processing threads don’t load lookup
d
any idea what would have caused the heap usage to 6 GB?
v
depends on what is going on in the server. Heap is used for calculations and for caching
d
ok
i also get this error
Error: Resource limit exceeded Subquery generated results beyond maximum[10000000] org.apache.druid.query.ResourceLimitExceededException
Can setting "injective" to true in lookup cuase this?
v
this has nothing to with lookup…if you have sub queries in your query then this is the default limit
👍 1
g
Hello. you said "Actually total size of our lookup is around 876 MB" , how you calculate this? We are trying to calculate our lookups size and we not find a way.