Home Forums Hortonworks Sandbox WebHdfsException at /filebrowser/

This topic contains 6 replies, has 6 voices, and was last updated by  Peter Rudenko 1 month, 3 weeks ago.

  • Creator
    Topic
  • #15723

    Aaron Bruce
    Member

    Hi, I’ve just installed the sandbox and when I attempt to open the file browser I get a WebHdfsException. Here’s the Exception info:

    WebHdfsException at /filebrowser/

    Request Method: GET
    Request URL: http://192.168.56.101:8000/filebrowser/
    Django Version: 1.2.3
    Exception Type: WebHdfsException
    Exception Value:

    Exception Location: /home/sandbox/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py in _stats, line 182
    Python Executable: /home/sandbox/hue/build/env/bin/python2.7
    Python Version: 2.7.3

    Here’s the traceback:

    Environment:

    Request Method: GET
    Request URL: http://192.168.56.101:8000/filebrowser/
    Django Version: 1.2.3
    Python Version: 2.7.3
    Installed Applications:
    ['django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
    'django_extensions',
    'south',
    'babeldjango',
    'desktop',
    'about',
    'beeswax',
    'filebrowser',
    'help',
    'jobbrowser',
    'jobsub',
    'oozie',
    'proxy',
    'shell',
    'useradmin',
    'hcatalog',
    'pig']
    Installed Middleware:
    ['desktop.middleware.DatabaseLoggingMiddleware',
    'django.middleware.common.CommonMiddleware',
    'desktop.middleware.SessionOverPostMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'desktop.middleware.SpnegoMiddleware',
    'django.middleware.locale.LocaleMiddleware',
    'babeldjango.middleware.LocaleMiddleware',
    'desktop.middleware.AjaxMiddleware',
    'desktop.middleware.LoginAndPermissionMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'desktop.middleware.NotificationMiddleware',
    'desktop.middleware.JFrameMiddleware',
    'desktop.middleware.ExceptionMiddleware',
    'desktop.middleware.ClusterMiddleware',
    'desktop.middleware.AppSpecificMiddleware',
    'django.middleware.transaction.TransactionMiddleware']

    Traceback:
    File “/home/sandbox/hue/build/env/lib/python2.7/site-packages/Django-1.2.3-py2.7.egg/django/core/handlers/base.py” in get_response
    100. response = callback(request, *callback_args, **callback_kwargs)
    File “/home/sandbox/hue/apps/filebrowser/src/filebrowser/views.py” in index
    86. if not request.fs.isdir(path):
    File “/home/sandbox/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py” in isdir
    197. sb = self._stats(path)
    File “/home/sandbox/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py” in _stats
    182. raise ex

    Exception Type: WebHdfsException at /filebrowser/
    Exception Value:

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #18773

    Could you run on VM next command:
    curl -i "http://sandbox:50070/webhdfs/v1/?op=LISTSTATUS"

    Collapse
    #18690

    Brad Lynch
    Member

    So mine is working now and the only thing I did since I posted is reboot the VM 2 times.

    Wish I could help more with the root cause, but now I am able to upload through the file manager and the configuration checker is now succeeding.
    Brad

    Collapse
    #18689

    Brad Lynch
    Member

    I am also receiving this error.

    I downloaded this the night of March 21, the filename is: Sandbox+HDP+Bombardier2+(14.03)+VMware.ova.

    Would like to be able to upload the first tutorial file. Thank you in advance if anybody knows how to fix this.

    Brad

    Collapse
    #18413

    Larry Liu
    Moderator

    Hi, Aaron,

    I didn’t see the issue. Can you tell me the steps you see the issue? And are you using the new version of sandbox?

    Larry

    Collapse
    #18382

    Arnaud LINZ
    Member

    Same for me. No solution ?

    Collapse
    #15759

    Hi, I get the same error message. I think is due to a permission misconfiguration:

    hadoop.hdfs_clusters.default.webhdfs_url Current value: http://localhost:50070/webhdfs/v1/
    Failed to access filesystem root

    I’m still checking logs to find out which could be solution.
    In the meanwhile, is there anyone else who solved this error?

    Collapse
Viewing 6 replies - 1 through 6 (of 6 total)

You are not currently logged in.






» Lost your Password?

Join Our Community

Stay up-to-date on the latest news, download software, watch training videos and more.

Join the Hortonworks Community

About HDP

Hortonworks Data Platform (HDP) is a 100% open source data management platform based on Apache Hadoop. It allows you to load, store, process and manage data in virtually any format and at any scale.

Learn More

Hadoop Training

Developing Solutions with Apache Hadoop Classes

Understanding Hadoop on Windows Classes

Applying Data Science using Apache Hadoop Classes

Developing Apache Hadoop Applications with Java Classes

View All Classes »