用户名/用户 ID 在 Apache Zeppelin 的 Angular 解释器中是否可用?

问题描述

我知道您可以通过 Spark 脚本在 Zeppelin 中获取当前系统用户名,例如:

%spark
z.getInterpreterContext.getAuthenticationInfo.getUser

或 Python

%python
username = z.getInterpreterContext().getAuthenticationInfo().getUser()

但是在 Angular 解释器中是否有等价物,即我可以加载到 javascript 变量中或在 z.angularBind() 中使用?

谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)