Knox rule updates on Dataproc not working

34 views Asked by At

I updated some Knox rules in a live Dataproc cluster and restarted Knox, but the new rules didn't work, old rules were still used. What's the possible cause and how do I resolve?

1

There are 1 answers

0
Dagang Wei On

You need to clean up the Knox deployment cache in /usr/lib/knox/data/deployments/.

Full steps (run as root):

systemctl stop knox

# Update Knox rules in /etc/knox/conf and/or /usr/lib/knox/data/services
...

rm -rf /usr/lib/knox/data/deployments/*

systemctl start knox