Check if given segment is load into memory

Hello,
Is it way to check if given segment is loaded into memory (disk or RAM). I mean way by REST API - I know way with coordinator console.

At http://druid.io/docs/latest/design/coordinator.html there’s a list of endpoints related to segment location.

What exacly do you mean ? I have seen it, but I am not sure about if given segment is loaded into memoty (RAM or local disk) or is lying on deep Storage,
Could you point out me exact endpoint ?

W dniu czwartek, 3 marca 2016 14:43:39 UTC+1 użytkownik Robin Sahner napisał:

Hi,

A segment is considered “loaded” on a historical node when its files have been copied on local disk from deep storage and have been successfully memory mapped. Following endpoints at coordinator will give you details of “loaded” segments which are queryable.

/druid/coordinator/v1/datasources/{dataSourceName}/segments
/druid/coordinator/v1/datasources/{dataSourceName}/segments?full

Thanks!

W dniu czwartek, 3 marca 2016 16:39:45 UTC+1 użytkownik Himanshu Gupta napisał: