Created on 09-28-2016 02:50 AM - edited 09-16-2022 03:41 AM
I have installed Cloudera Enterprise Data Hub Edition Trial 5.5.1 recently. After this I am getting following error while opening oozie web console :
type Exception report
message Unable to compile class for JSP:
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 1 in the generated java file The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:460) org.apache.jasper.compiler.Compiler.compile(Compiler.java:356) org.apache.jasper.compiler.Compiler.compile(Compiler.java:334) org.apache.jasper.compiler.Compiler.compile(Compiler.java:321) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:820) org.apache.oozie.servlet.AuthFilter$2.doFilter(AuthFilter.java:171) org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:589) org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:552) org.apache.oozie.servlet.AuthFilter.doFilter(AuthFilter.java:176) org.apache.oozie.servlet.HostnameFilter.doFilter(HostnameFilter.java:86)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.44 logs.
After googling a bit, I found out that it is coming after java8-upg 91. I have java8 upg-101 installed on my machine which came by default with this version of cloudera.
Created 09-30-2016 09:45 AM
This is apparently a know issue with JDK 8u91 and 8u92 and Oozie's TomCat environment.
See JIRA OOZIE-2553 https://issues.apache.org/jira/browse/OOZIE-2533
Per the JIRA JDK 8u90 seeems to be fine, and there's a kludged work-a-round html page if you're in clined to implement it. (See the JIRA) or... you could always downgrade your Java to 8u90.
Created 09-30-2016 09:45 AM
This is apparently a know issue with JDK 8u91 and 8u92 and Oozie's TomCat environment.
See JIRA OOZIE-2553 https://issues.apache.org/jira/browse/OOZIE-2533
Per the JIRA JDK 8u90 seeems to be fine, and there's a kludged work-a-round html page if you're in clined to implement it. (See the JIRA) or... you could always downgrade your Java to 8u90.
Created 10-19-2016 03:29 AM
Hello Team,
Is there any workaround for this bug ? Even i am getting same error while accessing a oozie webconsole.
Details -
CDH - 5.8.0
Oozie - 4.1.0.
Kerberosed - Yes
Java - 1.8.0_101
Error -
Message - Unable to compile class for JSP
Exception - org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occured at line : 1 in the generated java file
The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files.
Thanks,
Kumar
Created 10-19-2016 04:07 AM
Created 10-20-2016 05:18 AM
Do we have any other workaround suggested by cloudera?
How did you downgrade the java on running cluster? Please share the steps.
Created 10-20-2016 09:27 AM