Re: How can I use different user run flink

2021-05-28 Thread Matthias Pohl
Hi igyu,
I'm not sure whether I can be of much help here because I'm not that
familiar with Kerberos. But the Flink documentation [1] suggests deploying
separate Flink clusters for each keytab. Did you try that?

Best,
Matthias

[1]
https://ci.apache.org/projects/flink/flink-docs-master/docs/deployment/security/security-kerberos/#objective

On Wed, May 26, 2021 at 5:48 AM igyu  wrote:

> I use CDH 6.3.2
> flink-1.12.3
>
> I enabel kerberos
>
> I want to use different user with different keytab,because I creat many
> queue in YARN , different user use different queue.
>
> --
> igyu
>


Re: How can I use different user run flink

2021-05-26 Thread Jake
Hi igyu:

You can submit job use these arguements like this

```
-m yarn-cluster \
-yqu root.realtime \
-ynm “test" \
-yjm 2g \
-ytm 2g \
-n \
-d \
-ys 1 \
-yD security.kerberos.login.principal=xxx...@x.com \
-yD security.kerberos.login.keytab=/tmp/xx.keytab \
...
```



> On May 27, 2021, at 08:34, igyu  wrote:
> 
> I use CDH 6.3.2
> flink-1.12.3
> 
> I enabel kerberos
> 
> I want to use different user with different keytab,because I creat many queue 
> in YARN , different user use different queue. 
> 
> 
> igyu



How can I use different user run flink

2021-05-26 Thread igyu
I use CDH 6.3.2
flink-1.12.3

I enabel kerberos

I want to use different user with different keytab,because I creat many queue 
in YARN , different user use different queue. 




igyu


How can I use different user run flink

2021-05-25 Thread igyu
I use CDH 6.3.2
flink-1.12.3

I enabel kerberos

I want to use different user with different keytab,because I creat many queue 
in YARN , different user use different queue. 



igyu