JavaScript is disable, query with JS aggregation functions

Hello all,

when i try to execute a query that contains JS aggregation functions i receive the following error:


“error” : “Unknown exception”,

“errorMessage” : “JavaScript is disabled”,

“errorClass” : “”,

“host” : “”


i tried to activate JS modifying**/conf/druid/_common/** adding the following parameters druid.javascript.enabled

but this doesn’t work…

Any idea how can i activate JavaScript functions ?

Thx in advance!


did you set the value to true

druid.javascript.enabled=true at the right config file ?

are you sure that you restarted the nodes ?