2017-02-19

Hello

I am not able to use Oozie from HUE UI.Oozie service is running on port 11000

Here is the runcpserver.log

[18/Feb/2017 19:23:00 -0800] access       INFO     172.30.1.138 alwin - "GET /oozie/list_oozie_workflows/ HTTP/1.1"

[18/Feb/2017 19:23:00 -0800] access       INFO     172.30.1.138 alwin - "GET /oozie/list_oozie_workflows/ HTTP/1.1"

[18/Feb/2017 19:23:00 -0800] connectionpool INFO     Starting new HTTP connection (1): localhost

[18/Feb/2017 19:23:00 -0800] connectionpool INFO     Starting new HTTP connection (1): localhost

[18/Feb/2017 19:23:00 -0800] access       INFO     172.30.1.138 alwin - "GET /oozie/list_oozie_workflows/ HTTP/1.1"

[18/Feb/2017 19:23:00 -0800] connectionpool DEBUG    "GET /oozie/v1/jobs?len=50&doAs=alwin&filter=status%3DRUNNING%3Bstatus%3DPREP%3Bstatus%3DSUSPENDED&user.name=mapr&offset=1&timezone=America%2FLos_Angeles&jobtype=wf HTTP/1.1" 401 951

[18/Feb/2017 19:23:00 -0800] dashboard    ERROR    Error communicating with Oozie in list_oozie_workflows

Traceback (most recent call last):

File "/opt/mapr/hue/hue-3.9.0/apps/oozie/src/oozie/views/dashboard.py", line 166, in decorate

return view_func(request, *args, **kwargs)

File "/opt/mapr/hue/hue-3.9.0/apps/oozie/src/oozie/views/dashboard.py", line 197, in list_oozie_workflows

wf_list = oozie_api.get_workflows(**kwargs)

File "/opt/mapr/hue/hue-3.9.0/desktop/libs/liboozie/src/liboozie/oozie_api.py", line 132, in get_workflows

return self.get_jobs('wf', offset, cnt, filters)

File "/opt/mapr/hue/hue-3.9.0/desktop/libs/liboozie/src/liboozie/oozie_api.py", line 122, in get_jobs

resp = self._root.get('jobs', params)

File "/opt/mapr/hue/hue-3.9.0/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/mapr/hue/hue-3.9.0/desktop/core/src/desktop/lib/rest/resource.py", line 78, in invoke

urlencode=self._urlencode)

File "/opt/mapr/hue/hue-3.9.0/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.43 - 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 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.43</h3></body></html> (error 401)

[18/Feb/2017 19:23:00 -0800] connectionpool INFO     Starting new HTTP connection (1): localhost

[18/Feb/2017 19:23:00 -0800] middleware   INFO     Processing exception: An error occurred with Oozie.: Traceback (most recent call last):

File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py", line 112, in get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/transaction.py", line 371, in inner

return func(*args, **kwargs)

File "/opt/mapr/hue/hue-3.9.0/apps/oozie/src/oozie/views/dashboard.py", line 173, in decorate

raise PopupException(_('An error occurred with Oozie.'), detail=detail)

PopupException: An error occurred with Oozie.

[18/Feb/2017 19:23:00 -0800] connectionpool DEBUG    "GET /oozie/v1/jobs?len=50&doAs=alwin&filter=status%3DSUCCEEDED%3Bstatus%3DKILLED%3Bstatus%3DFAILED&user.name=mapr&offset=1&timezone=America%2FLos_Angeles&jobtype=wf HTTP/1.1" 401 951

[18/Feb/2017 19:23:00 -0800] dashboard    ERROR    Error communicating with Oozie in list_oozie_workflows

Traceback (most recent call last):

File "/opt/mapr/hue/hue-3.9.0/apps/oozie/src/oozie/views/dashboard.py", line 166, in decorate

return view_func(request, *args, **kwargs)

File "/opt/mapr/hue/hue-3.9.0/apps/oozie/src/oozie/views/dashboard.py", line 197, in list_oozie_workflows

wf_list = oozie_api.get_workflows(**kwargs)

File "/opt/mapr/hue/hue-3.9.0/desktop/libs/liboozie/src/liboozie/oozie_api.py", line 132, in get_workflows

return self.get_jobs('wf', offset, cnt, filters)

File "/opt/mapr/hue/hue-3.9.0/desktop/libs/liboozie/src/liboozie/oozie_api.py", line 122, in get_jobs

resp = self._root.get('jobs', params)

File "/opt/mapr/hue/hue-3.9.0/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/mapr/hue/hue-3.9.0/desktop/core/src/desktop/lib/rest/resource.py", line 78, in invoke

urlencode=self._urlencode)

File "/opt/mapr/hue/hue-3.9.0/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.43 - 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 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.43</h3></body></html> (error 401)

[18/Feb/2017 19:23:00 -0800] middleware   INFO     Processing exception: An error occurred with Oozie.: Traceback (most recent call last):

File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py", line 112, in get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/opt/mapr/hue/hue-3.9.0/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/transaction.py", line 371, in inner

return func(*args, **kwargs)

File "/opt/mapr/hue/hue-3.9.0/apps/oozie/src/oozie/views/dashboard.py", line 173, in decorate

raise PopupException(_('An error occurred with Oozie.'), detail=detail)

PopupException: An error occurred with Oozie.

Show more