i'm trying run oozie 4.2.0 on hadoop 2.7.0 working in psudo-distributed mode on local machine. built distro of oozie binding correct hadoop version i'm using, then, according documentation did following steps
<ul> <li>created folder called <b>libext</b> put .zip of <i>ext-2.2</i> library</li> <li>lauched commands oozie-setup.sh prepare-war ooziedb.sh create -sqlfile oozie.sql -run oozied.sh start everything went fine, in fact can navigate <code>localhost:11000/oozie/</code> , if, execute <code>oozie admin -oozie http://localhost:11000/oozie -status</code> server replies <b>normal</b>.
however i'm not able launch jobs, neither examples. after moving example folder in correct position on hdsf if execute <br> <code>oozie job -oozie localhost:11000/oozie -config /path/to/examples/apps/map-reduce/job.properties -run</code>
the server replies
error: http error code: 500 : internal server error.
same situation if try submit workflow programmatically using java api.
looking @ <code>oozie.log</code> file following error/warning:
error v2adminservlet:517 - server[matteos-mbp.vimond.local] user[-] group[-] token[-] app[-] job[-] action[-] url[get http://localhost:11000/oozie/v2/admin/instrumentation?_dc=1437056225186] error, null java.lang.nullpointerexception @ org.apache.oozie.service.sharelibservice.getlatestlibpath(sharelibservice.java:687) @ org.apache.oozie.service.sharelibservice$7.getvalue(sharelibservice.java:742) @ org.apache.oozie.service.sharelibservice$7.getvalue(sharelibservice.java:737) @ org.apache.oozie.servlet.baseadminservlet.instrelementstojson(baseadminservlet.java:312) @ org.apache.oozie.servlet.baseadminservlet.instrtojson(baseadminservlet.java:339) @ org.apache.oozie.servlet.baseadminservlet.sendinstrumentationresponse(baseadminservlet.java:396) @ org.apache.oozie.servlet.v2adminservlet.sendinstrumentationresponse(v2adminservlet.java:124) @ org.apache.oozie.servlet.baseadminservlet.doget(baseadminservlet.java:127) @ javax.servlet.http.httpservlet.service(httpservlet.java:617)
everytime refresh webapp interface and
authenticationtoken ignored: org.apache.hadoop.security.authentication.util.signerexception: invalid signature every-time submit workflow either via command line or java api
my working environment:
mac os yosemite
java version "1.8.0_45"
hadoop 2.7.0
oozie 4.2.0
apache maven 3.3.3
can me working?
i solved problem @ first deploying sharelib hdfs , manually upgrading common-io library 2.1 2.4 version. don't have anymore exceptions , can submit jobs oozie-server
source: http://mail-archives.apache.org/mod_mbox/oozie-user/201507.mbox/browser
Comments
Post a Comment