Reply
Explorer
Posts: 20
Registered: ‎04-14-2015

UnsupportedOperationException in Oozie

Hue version - 3.9

Oozie - 4.1.0

 

Hue.ini liboozie section (omitted host and port):

 

[liboozie]
remote_data_dir=/user/hue/oozie/workspaces
oozie_url=http://HOST:PORT:11000/oozie
security_enabled=true

 

 

I'm seeing the following stack traces in the Hue and Oozie logs:

 

 

[20/Apr/2016 14:05:36 -0400] kerberos_    ERROR    handle_mutual_auth(): Mutual authentication unavailable on 404 response

[20/Apr/2016 14:05:36 -0400] kerberos_    ERROR    handle_mutual_auth(): Mutual authentication unavailable on 404 response

[20/Apr/2016 14:05:36 -0400] kerberos_    ERROR    handle_mutual_auth(): Mutual authentication unavailable on 500 response

[20/Apr/2016 14:05:36 -0400] views        ERROR    Error in config validation by liboozie: <html><head><title>Apache Tomcat/6.0.44 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.UnsupportedOperationException

org.apache.oozie.util.MetricsInstrumentation.getVariables(MetricsInstrumentation.java:333)

org.apache.oozie.servlet.BaseAdminServlet.instrToJson(BaseAdminServlet.java:339)

org.apache.oozie.servlet.BaseAdminServlet.sendInstrumentationResponse(BaseAdminServlet.java:396)

org.apache.oozie.servlet.BaseAdminServlet.doGet(BaseAdminServlet.java:127)

javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

org.apache.oozie.servlet.JsonRestServlet.service(JsonRestServlet.java:289)

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)

</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/6.0.44 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.44</h3></body></html> (error 500)

Traceback (most recent call last):

  File "/opt/cloudera/fs-hue/hue/desktop/core/src/desktop/views.py", line 445, in _get_config_errors

    for confvar, error in validator(request.user):

  File "/opt/cloudera/fs-hue/hue/desktop/libs/liboozie/src/liboozie/conf.py", line 86, in config_validator

    intrumentation = api.get_instrumentation()

  File "/opt/cloudera/fs-hue/hue/desktop/libs/liboozie/src/liboozie/oozie_api.py", line 304, in get_instrumentation

    resp = self._root.get('admin/instrumentation', params)

  File "/opt/cloudera/fs-hue/hue/desktop/core/src/desktop/lib/rest/resource.py", line 97, in get

    return self.invoke("GET", relpath, params, headers=headers, allow_redirects=True)

  File "/opt/cloudera/fs-hue/hue/desktop/core/src/desktop/lib/rest/resource.py", line 78, in invoke

    urlencode=self._urlencode)

  File "/opt/cloudera/fs-hue/hue/desktop/core/src/desktop/lib/rest/http_client.py", line 161, in execute

    raise self._exc_class(ex)

RestException: <html><head><title>Apache Tomcat/6.0.44 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.UnsupportedOperationException

org.apache.oozie.util.MetricsInstrumentation.getVariables(MetricsInstrumentation.java:333)

org.apache.oozie.servlet.BaseAdminServlet.instrToJson(BaseAdminServlet.java:339)

org.apache.oozie.servlet.BaseAdminServlet.sendInstrumentationResponse(BaseAdminServlet.java:396)

org.apache.oozie.servlet.BaseAdminServlet.doGet(BaseAdminServlet.java:127)

javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

org.apache.oozie.servlet.JsonRestServlet.service(JsonRestServlet.java:289)

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)

</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/6.0.44 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.44</h3></body></html> (error 500)

 

 

Any idea what is going wrong?

Explorer
Posts: 10
Registered: ‎10-21-2015

Re: UnsupportedOperationException in Oozie