Github user khalidhuseynov commented on the issue:

    https://github.com/apache/zeppelin/pull/1840
  
    @zjffdu i didn't try secured cluster mode yet, but as i checked spark 
documentation, they indeed don't allow using `--principal` & `--keytab` for 
spark-submit alongside with `--proxy-user` because of security issue on 
exposing keytab. Then possible solutions could be: 
    1. user configures `export ZEPPELIN_IMPERSONATE_CMD` in 
[here](https://github.com/apache/zeppelin/blob/d1fc86b7b2d2012c0323345166c98cc02886e9f1/conf/zeppelin-env.sh.template#L83)
 with `kinit <principal>@<REALM> -k -t <keytab file>` and then it's run before 
`spark-submit`
    2. don't use `--proxy-user` in cluster mode
    3. other suggestions



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to