{"action":"created","issue":{"url":"https://api.github.com/repos/cloudera/hue/issues/214","labels_url":"https://api.github.com/repos/cloudera/hue/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/cloudera/hue/issues/214/comments","events_url":"https://api.github.com/repos/cloudera/hue/issues/214/events","html_url":"https://github.com/cloudera/hue/issues/214","id":98023118,"number":214,"title":"Unable to use HDFS if Oozie is blacklisted","user":{"login":"grozeille","id":129151,"avatar_url":"https://avatars.githubusercontent.com/u/129151?v=3","gravatar_id":"","url":"https://api.github.com/users/grozeille","html_url":"https://github.com/grozeille","followers_url":"https://api.github.com/users/grozeille/followers","following_url":"https://api.github.com/users/grozeille/following{/other_user}","gists_url":"https://api.github.com/users/grozeille/gists{/gist_id}","starred_url":"https://api.github.com/users/grozeille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grozeille/subscriptions","organizations_url":"https://api.github.com/users/grozeille/orgs","repos_url":"https://api.github.com/users/grozeille/repos","events_url":"https://api.github.com/users/grozeille/events{/privacy}","received_events_url":"https://api.github.com/users/grozeille/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T20:31:45Z","updated_at":"2015-07-29T23:47:49Z","closed_at":null,"body":"Hi,\r\n\r\nI worked for someone who is using a cluster without Oozie.\r\nSo we added to the blacklist of HUE: oozie, jobsub and pig\r\nBut then, we can't use filebrowser anymore:\r\n```\r\nu'oozie' is not a registered namespace\r\n```\r\nWhy the FileBrowser has a dependency on Oozie ?\r\n\r\nFull log:\r\n```\r\n[28/Jul/2015 07:57:40 +0200] middleware   INFO     Processing exception: u'oozie' is not a registered namespace: Traceback (most recent call last):\r\n  File \"/media/data/hadoop/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py\", line 112, in get_response\r\n    response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n  File \"/media/data/hadoop/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/transaction.py\", line 371, in inner\r\n    return func(*args, **kwargs)\r\n  File \"/media/data/hadoop/hue/apps/filebrowser/src/filebrowser/views.py\", line 105, in index\r\n    return view(request, path)\r\n  File \"/media/data/hadoop/hue/apps/filebrowser/src/filebrowser/views.py\", line 167, in view\r\n    return listdir_paged(request, path)\r\n  File \"/media/data/hadoop/hue/apps/filebrowser/src/filebrowser/views.py\", line 448, in listdir_paged\r\n    return render('listdir.mako', request, data)\r\n  File \"/media/data/hadoop/hue/desktop/core/src/desktop/lib/django_util.py\", line 225, in render\r\n    **kwargs)\r\n  File \"/media/data/hadoop/hue/desktop/core/src/desktop/lib/django_util.py\", line 146, in _render_to_response\r\n    return django_mako.render_to_response(template, *args, **kwargs)\r\n  File \"/media/data/hadoop/hue/desktop/core/src/desktop/lib/django_mako.py\", line 125, in render_to_response\r\n    return HttpResponse(render_to_string(template_name, data_dictionary), **kwargs)\r\n  File \"/media/data/hadoop/hue/desktop/core/src/desktop/lib/django_mako.py\", line 114, in render_to_string_normal\r\n    result = template.render(**data_dict)\r\n  File \"/media/data/hadoop/hue/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/template.py\", line 443, in render\r\n    return runtime._render(self, self.callable_, args, data)\r\n  File \"/media/data/hadoop/hue/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py\", line 786, in _render\r\n    **_kwargs_for_callable(callable_, data))\r\n  File \"/media/data/hadoop/hue/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py\", line 818, in _render_context\r\n    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\r\n  File \"/media/data/hadoop/hue/build/env/lib/python2.6/site-packages/Mako-0.8.1-py2.6.egg/mako/runtime.py\", line 844, in _exec_template\r\n    callable_(context, *args, **kwargs)\r\n  File \"/tmp/tmpBZ9xhA/filebrowser/listdir.mako.py\", line 242, in render_body\r\n    __M_writer(escape(unicode(dir.list_table_browser(files, path_enc, current_request_path, cwd_set))))\r\n  File \"/tmp/tmpBZ9xhA/filebrowser/listdir_components.mako.py\", line 86, in render_list_table_browser\r\n    __M_writer(escape(unicode(_table(files, path, current_request_path, 'view'))))\r\n  File \"/tmp/tmpBZ9xhA/filebrowser/listdir_components.mako.py\", line 81, in _table\r\n    return render__table(context,files,path,current_request_path,view)\r\n  File \"/tmp/tmpBZ9xhA/filebrowser/listdir_components.mako.py\", line 574, in render__table\r\n    __M_writer(escape(unicode( url('oozie:submit_external_job', application_path='/') )))\r\n  File \"/media/data/hadoop/hue/desktop/core/src/desktop/lib/django_mako.py\", line 131, in url\r\n    return reverse(view_name, args=args, kwargs=view_args)\r\n  File \"/media/data/hadoop/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/urlresolvers.py\", line 532, in reverse\r\n    key)\r\nNoReverseMatch: u'oozie' is not a registered namespace\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/cloudera/hue/issues/comments/126129870","html_url":"https://github.com/cloudera/hue/issues/214#issuecomment-126129870","issue_url":"https://api.github.com/repos/cloudera/hue/issues/214","id":126129870,"user":{"login":"romainr","id":17945,"avatar_url":"https://avatars.githubusercontent.com/u/17945?v=3","gravatar_id":"","url":"https://api.github.com/users/romainr","html_url":"https://github.com/romainr","followers_url":"https://api.github.com/users/romainr/followers","following_url":"https://api.github.com/users/romainr/following{/other_user}","gists_url":"https://api.github.com/users/romainr/gists{/gist_id}","starred_url":"https://api.github.com/users/romainr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainr/subscriptions","organizations_url":"https://api.github.com/users/romainr/orgs","repos_url":"https://api.github.com/users/romainr/repos","events_url":"https://api.github.com/users/romainr/events{/privacy}","received_events_url":"https://api.github.com/users/romainr/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T23:47:49Z","updated_at":"2015-07-29T23:47:49Z","body":"Good catch indeed, here is a fix for that: https://review.cloudera.org/r/5654/\r\n\r\nAnd this is about this feature http://gethue.com/hadoop-tutorial-submit-any-oozie-jobs-directly-from/ that was not designed to work without Oozie"}}