老师 改了配置 还是报错

来源:12-5 -Two Server Mode之使用实战

慕圣6475372

2018-08-20

http://img.mukewang.com/szimg/5b7a8dcf0001b49106550138.jpg

//img.mukewang.com/szimg/5b7a89970001ac8115500617.jpg

//img.mukewang.com/szimg/5b7a86a90001fdb910200539.jpg


//img.mukewang.com/szimg/5b7a86d00001388b15800764.jpg

写回答

1回答

Michael_PK

2018-08-20

native.lib 参见官网的这个章节:

Plugin Configurations

Execute-As-User

With a new security enhancement in Azkaban 3.0, Azkaban jobs can now run as the submit user or the user.to.proxy of the flow by default. This ensures that Azkaban takes advantage of the Linux permission security mechanism, and operationally this simplifies resource monitoring and visibility. Set up this behavior by doing the following:-

Execute.as.user is set to true by default. In case needed, it can also be configured to false in azkaban-plugin’s commonprivate.properties

Configure azkaban.native.lib= to the place where you are going to put the compiled execute-as-user.c file (see below)

Generate an executable on the Azkaban box for azkaban-common/src/main/c/execute-as-user.c. it should be named execute-as-user Below is a sample approach

scp ./azkaban-common/src/main/c/execute-as-user.c onto the Azkaban box

run: gcc execute-as-user.c -o execute-as-user

run: chown root execute-as-user (you might need root privilege)

run: chmod 6050 execute-as-user (you might need root privilege)



上课应该有讲过这个操作的步骤吧,我记得

0
0

Python3实战Spark大数据分析及调度

使用Python3对Spark应用程序进行开发调优,掌握Azkaban任务调度

1046 学习 · 434 问题

查看课程