I have a cron job running a script to load a file into hdfs. It seems to work fine, HOWEVA, when I attempt to click, select, move, delete, etc. the file i get this error:
Cannot perform operation. Note: you are a Hue admin but not a HDFS superuser (which is “hdfs”).
[Errno 2] File /user/root/dg_tweets_2014-11-28.txt not found
Note: I am logged in as user “hdfs”, which I would show in a screen shot if you supported that in this forum. See error log snippet below.
[Errno 2] File /user/root/dg_tweets_2014-11-28.txt not found
[01/Dec/2014 13:51:55 +0000] access WARNING 192.168.15.89 hdfs – “GET /logs HTTP/1.0″
[01/Dec/2014 13:44:05 +0000] middleware INFO Processing exception: Cannot perform operation. Note: you are a Hue admin but not a HDFS superuser (which is “hdfs”).: Traceback (most recent call last):
File “/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py”, line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File “/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/views/decorators/http.py”, line 37, in inner
return func(request, *args, **kwargs)
File “/usr/lib/hue/apps/filebrowser/src/filebrowser/views.py”, line 1058, in rmtree
initial_value_extractor=formset_initial_value_extractor)
File “/usr/lib/hue/apps/filebrowser/src/filebrowser/views.py”, line 986, in generic_op
raise PopupException(msg, detail=e)
PopupException: Cannot perform operation. Note: you are a Hue admin but not a HDFS superuser (which is “hdfs”).
[01/Dec/2014 13:44:05 +0000] http_client DEBUG GET http://sandbox.hortonworks.com:50070/webhdfs/v1/user/root/dg_tweets_2014-11-28.txt?op=GETFILESTATUS&user.name=hue&doas=hdfs
[01/Dec/2014 13:44:05 +0000] access INFO 192.168.15.89 hdfs – “POST /filebrowser/rmtree HTTP/1.0″
[01/Dec/2014 13:43:59 +0000] resource DEBUG GET Got response: {“FileStatus”:{“accessTime”:0,”b…
[01/Dec/2014 13:43:59 +0000] http_client DEBUG GET http://sandbox.hortonworks.com:50070/webhdfs/v1/user/hdfs?op=GETFILESTATUS&user.name=hue&doas=hdfs
[01/Dec/2014 13:43:59 +0000] resource DEBUG GET Got response: {“FileStatus”:{“accessTime”:0,”b…
[01/Dec/2014 13:43:59 +0000] http_client DEBUG GET http://sandbox.hortonworks.com:50070/webhdfs/v1/user/root?op=GETFILESTATUS&user.name=hue&doas=hdfs
[01/Dec/2014 13:43:59 +0000] resource DEBUG GET Got response: {“FileStatus”:{“accessTime”:0,”b…
[01/Dec/2014 13:43:59 +0000] http_client DEBUG GET http://sandbox.hortonworks.com:50070/webhdfs/v1/user?op=GETFILESTATUS&user.name=hue&doas=hdfs
[01/Dec/2014 13:43:59 +0000] resource DEBUG GET Got response: {“FileStatuses”:{“FileStatus”:[
…