Regarding /api/query API

28 views
Skip to first unread message

Ashish Kumar

unread,
Jul 19, 2016, 3:18:27 AM7/19/16
to OpenTSDB
Hi,

I changed my hadoop to stable directory named /app/hadoop/tmp to save the data in case of reboot happens. I am using pseudo distributed mode. Now when I run opentsdb /api/put is running fine as when I do scan I am getting the values but when I tried to find the same values through api using /api/query it is giving me empty list.

scan: ./build/tsdb scan --import 1h-ago sum latency (Giving me 12k entries)
web api: http://10.41.48.229:4242/api/query?start=1h-ago&m=sum:latency (Giving me none)

Can someone please tell me, If I am missing something, does opentsdb look into /tmp directory only because it happened as I changed my hadoop from /tmp to /app/hadoop/tmp.

Hoping for a reply soon!

Thanks
Ashish

ManOLamancha

unread,
Dec 19, 2016, 7:57:44 PM12/19/16
to OpenTSDB
Sorry for the long wait, still seeing the query issues? And if so can you paste the scan data and maybe some of the logs from the tsd? 
Reply all
Reply to author
Forward
0 new messages