This message was deleted.
# general
s
This message was deleted.
a
For this data source, are the segments available already? If no segments are available, then you will get this error
t
Segments are available, but there also when we check the data, it gives query returned no data.
a
can you post screenshots of different tabs (datasources, query) in console that also shows the error you are seeing
t
yeah sure, sharing the screenshot below.
a
0.0% available
- none of them are available
do you see
historicals
in
Services
tab?
you should also check that the historicals are healthy
t
I can see these things in services tab, can you guide me how to see if they are correct and in healthy state.
a
there is no historical running. the logs of historical will be in the same directory where druid is installed. I will suggest going through those logs
t
you mean to check the log file, if there is any issue, right?
a
yup
v
How are you starting Druid? The issue is, like @Abhishek Agarwal said, is that your historical is not running
t
How to make it run then?
a
if you followed all the steps, it should be running already. it will be better to check the logs
t
I can see single warning in the log file as Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2023-05-03T000003,654 WARN [main] org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
a
do you see this line
Copy code
Successfully started lifecycle [module]
in the historical logs?
t
No, It is not there
a
you can do a few more things. you can check if the process is running or not through
ps -eaf | grep historical
the command. Most likely, the process just died.
t
okay. let me try that out
Process is running it seems.
a
don't think it is since process id is constantly changing. you can check historical.stdout.log in the same log directory
t
okay.
It shows as running only.
a
its getting restarted continuously. it's weird that you don't see an error in the logs
t
what I need to do about it now, can you please help me solve the issue
As I checked the service, for me it shows running. also, I checked the grep historical once again with team and found out that task id is different for 2 different threads, sharing the highlighted snap below, the one with supervisor is actual service running for historical in druid, the other one is thread which got created during execution of logs probably.