Support Questions

Find answers, ask questions, and share your expertise

Who agreed with this topic

HTTP 500 while emptying Hue 3.9 trash directory

avatar
Rising Star
Hey,
 
I have Hue 3.9 (CDH 5.7) and can not delete files from trash. I've been googling but couldn't find any place with resonable solution.
 
In /var/log/hue/runcpserver.log I have:
[09/May/2016 13:00:55 +0200] access       INFO     192.168.1.1 isegrim - "POST /filebrowser/trash/purge HTTP/1.1"
[09/May/2016 13:00:55 +0200] middleware   INFO     Processing exception: 'WebHdfs' object has no attribute 'fs_set': Traceback (most recent call last):
  File "/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/transaction.py", line 371, in inner
    return func(*args, **kwargs)
  File "/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/views/decorators/http.py", line 41, in inner
    return func(request, *args, **kwargs)
  File "/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/apps/filebrowser/src/filebrowser/views.py", line 1129, in trash_purge
    return generic_op(TrashPurgeForm, request, request.fs.purge_trash, [], None)
  File "/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/apps/filebrowser/src/filebrowser/views.py", line 968, in generic_op
    op(*args)
  File "/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/desktop/core/src/desktop/lib/fs/proxyfs.py", line 165, in purge_trash
    for fs in self.fs_set:
  File "/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/desktop/core/src/desktop/lib/fs/proxyfs.py", line 38, in __getattr__
    return getattr(object.__getattribute__(self, "_default_fs"), item)
AttributeError: 'WebHdfs' object has no attribute 'fs_set'

[09/May/2016 13:00:55 +0200] decorators   INFO     AXES: Calling decorated function: dt_login
[09/May/2016 13:00:55 +0200] decorators   INFO     args: (True,)
[09/May/2016 13:00:55 +0200] access       WARNING  192.168.1.1 isegrim - "POST /filebrowser/trash/purge HTTP/1.1" -- Failed login for user: None
[09/May/2016 13:00:55 +0200] decorators   INFO     AXES: Repeated login failure by 192.168.1.1. Updating access record. Count = 2
 
And in Hue I have HTTP ERROR 500:
 
Server error.

Sorry, there's been an error. An email was sent to your administrators. Thank you for your patience.


 More Info... |  View logs
File NameLine NumberFunction Name
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/handlers/base.py112get_response
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/transaction.py371inner
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/views/decorators/http.py41inner
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/apps/filebrowser/src/filebrowser/views.py1129trash_purge
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/apps/filebrowser/src/filebrowser/views.py968generic_op
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/desktop/core/src/desktop/lib/fs/proxyfs.py165purge_trash
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/desktop/core/src/desktop/lib/fs/proxyfs.py38__getattr__
 

 

Who agreed with this topic