Skip to main content
rjain1
Gold ⭐️
May 13, 2018 3:46 PM UTC

Cannot run livy jobs from Zeppelin in cluster with Ranger KMS integrated

  • Oct 5, 2026 9:10 AM UTC
  • 0 replies
  • 1071 views
  • Translate All
  • Can not start run livy jobs from Zeppelin The following can be seen in livy log file:

INFO: Caused by: org.apache.hadoop.security.authentication.client.AuthenticationException: Authentication failed, URL: http://rangerkms.example.com:9292/kms/v1/?op=GETDELEGATIONTOKEN&doAs=w20524%4542test.tt&renewer=r m%2Fsktudv01hdp02.test.tt%40CCTA.DK&user.name=livy, status: 403, message: Forbidden

Root Cause: Missing proxy users for livy in kms. The solution is to add the following into Ambari Custom kms-site

hadoop.kms.proxyuser.livy.users=*
hadoop.kms.proxyuser.livy.hosts=*
hadoop.kms.proxyuser.livy.groups=*