About "druid url" error

Hi every one,

When I finished “/opt/kaltura/bin/kaltura-config-all.sh”, I can access and use KMC, except “Analytics”.
kaltlog give me follow error, please note that, this is only apearing in kaltura CE 15.7.0.


2019-10-09 17:01:47 [0.004689] [211.5.123.240] [2024990795] [25] [API] [kDruidBase::runQuery] DEBUG: Druid query took - 0.0044400691986084 seconds
2019-10-09 17:01:47 [0.000670] [211.5.123.240] [2024990795] [26] [API] [KalturaFrontController->getExceptionObject] CRIT: exception ‘Exception’ with message ‘Error while trying to connect to:@DRUID_BROKER_URL@/druid/v2/ error=Could not resolve host: DRUID_BROKER_URL@; Unknown error’ in /opt/kaltura/app/alpha/apps/kaltura/lib/reports/kDruidBase.php:383
Stack trace:
#0 /opt/kaltura/app/alpha/apps/kaltura/lib/reports/kKavaReportsMgr.class.php(4093): kDruidBase::runQuery(Array)

2019-10-09 17:01:47 [0.004558] [211.5.123.240] [1391873775] [25] [API] [kDruidBase::runQuery] DEBUG: Druid query took - 0.0043179988861084 seconds
2019-10-09 17:01:47 [0.000562] [211.5.123.240] [1391873775] [26] [API] [KalturaFrontController->getExceptionObject] CRIT: exception ‘Exception’ with message ‘Error while trying to connect to:@DRUID_BROKER_URL@/druid/v2/ error=Could not resolve host: DRUID_BROKER_URL@; Unknown error’ in /opt/kaltura/app/alpha/apps/kaltura/lib/reports/kDruidBase.php:383

I tried to find where this error message from, and found this is configured in follow file.

vi /opt/kaltura/app/configurations/local.ini
druid_url = @DRUID_BROKER_URL@/druid/v2/

I have no idea if this is a simple setting on KMC or other reason, please help me with this.

Regards,
Yuri

Hello @yu1,

Please comment out the druid_url directive in /opt/kaltura/app/configurations/local.ini and reload Apache.
That will fix it. It is already handed in 15.8.0 which will be released shortly.

Cheers,

1 Like

Hi jess,

Thank you very much!

Regards,
Yuri

1 Like