Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3694

Cannot get script-engine from null pluginClassLoader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • plugins
    • None

    Description

      In the current vesion 3.0.0-SNAPSHOT of the kafka plugin, I have this couple of new errors, seems to be raised when downloading the policies from ranger-admin :

       

      2022-03-31 13:17:14,058 WARN [PolicyRefresher(serviceName=CLUSTER_kafka)-66] org.apache.ranger.plugin.util.ScriptEngineUtil (ScriptEngineUtil.java:62) - failed to initialize script engine 'JavaScript' in a default manner. Will try to get script-engine from plugin-class-loader
      2022-03-31 13:17:14,058 ERROR [PolicyRefresher(serviceName=CLUSTER_kafka)-66] org.apache.ranger.plugin.util.ScriptEngineUtil (ScriptEngineUtil.java:73) - Cannot get script-engine from null pluginClassLoader
      2022-03-31 13:17:14,059 ERROR [PolicyRefresher(serviceName=CLUSTER_kafka)-66] org.apache.ranger.plugin.conditionevaluator.RangerScriptConditionEvaluator (RangerScriptConditionEvaluator.java:77) - failed to initialize condition 'accessed-after-expiry': script engine 'JavaScript' was not created

      But when testing authorization it's working fine.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            alain.pellegrino@alithya.com alain pellegrino
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: