jttsai 发表于 2014-8-22 15:15 oozie admin <OPTIONS> : admin operations -auth <arg> select authentication type [SIMPLE|KERBEROS] -doas <arg> doAs user, impersonates as the specified user. -oozie <arg> Oozie URL |
nettman 发表于 2014-8-22 15:07 这个用户怎么授权啊,我在linux下创建了一个oozie用户的,然后用oozie用户启动oozie服务,并提交作业。现在我也kill不了作业了!到底应该怎么改权限,改哪里的权限? |
jttsai 发表于 2014-8-22 14:51 |
sstutu 发表于 2014-8-22 11:25 也是不行啊,日志报这样的错误:2014-08-22 14:44:25,793 WARN V2JobServlet:542 - SERVER[master1.hadoop] USER[-] GROUP[-] TOKEN[-] APP[-] JOB[-] ACTION[-] URL[PUT http://master1.hadoop:11000/oozi ... -oozi-W?action=kill] error[E0508], E0508: User [?] not authorized for WF job [0000000-140822143453855-oozie-oozi-W] org.apache.oozie.servlet.XServletException: E0508: User [?] not authorized for WF job [0000000-140822143453855-oozie-oozi-W] at org.apache.oozie.servlet.BaseJobServlet.doPut(BaseJobServlet.java:73) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at org.apache.oozie.servlet.JsonRestServlet.service(JsonRestServlet.java:287) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.oozie.servlet.AuthFilter$2.doFilter(AuthFilter.java:126) at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:384) at org.apache.oozie.servlet.AuthFilter.doFilter(AuthFilter.java:131) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.oozie.servlet.HostnameFilter.doFilter(HostnameFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:724) Caused by: org.apache.oozie.service.AuthorizationException: E0508: User [?] not authorized for WF job [0000000-140822143453855-oozie-oozi-W] at org.apache.oozie.service.AuthorizationService.authorizeForJob(AuthorizationService.java:449) at org.apache.oozie.servlet.BaseJobServlet.doPut(BaseJobServlet.java:70) ... 23 more |
jttsai 发表于 2014-8-22 10:59 |
pig2 发表于 2014-8-22 10:25 hue节点?哪里来的hue节点?这个不知道嘛,求再知道? |
sstutu 发表于 2014-8-22 10:34 您方便给个QQ么,想请教您,我的qq号:2487324459 |
恩,如下所示: oozie@master1:~/oozie5/bin> oozie admin -oozie http://master1.hadoop:11000/oozie/ -shareliblist pig [Available ShareLib] pig hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/ant-1.6.5.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/antlr-2.7.7.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/antlr-runtime-3.4.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/automaton-1.11-8.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/commons-collections-3.2.1.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/commons-el-1.0.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/commons-httpclient-3.1.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/commons-io-2.1.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/core-3.1.1.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/findbugs-annotations-1.3.9-1.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/guava-11.0.2.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/hbase-client-0.96.1.1-cdh5.0.0-tests.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/hbase-client-0.96.1.1-cdh5.0.0.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/hbase-common-0.96.1.1-cdh5.0.0.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/hbase-protocol-0.96.1.1-cdh5.0.0.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/hsqldb-1.8.0.10.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/htrace-core-2.01.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/jansi-1.9.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/jasper-compiler-5.5.23.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/jasper-runtime-5.5.23.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/jets3t-0.6.1.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/jetty-6.1.14.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/jetty-util-6.1.26.cloudera.2.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/jline-0.9.94.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/joda-time-1.6.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/jsch-0.1.42.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/jsp-2.1-6.1.14.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/jsp-api-2.1-6.1.14.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/jsr305-1.3.9.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/jython-standalone-2.5.3.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/kfs-0.3.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/netty-3.6.6.Final.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/oozie-sharelib-pig-4.0.0-cdh5.0.0.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/oro-2.0.8.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/parquet-pig-bundle-1.2.5-cdh5.0.0.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/pig-0.12.0-cdh5.0.0.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/protobuf-java-2.5.0.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/servlet-api-2.5-6.1.14.jar hdfs://bch/user/oozie/share/lib/lib_20140813161742/pig/stringtemplate-3.2.1.jar 而我执行下面的操作,又报下面的错误: oozie@master1:~/oozie5/bin> oozie admin -oozie http://master1.hadoop:11000/oozie/ -sharelibupdate Error: E0503 : E0503: User [?] does not have admin privileges |
这个命令看看,会出什么现象 oozie admin -oozie http://localhost:11000/oozie -shareliblist pig |