The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

Hue Forum

beeswax start false,Permission denied

  • #52810
    Terry Chan

    My HDPversion is 2.1,and ambari version is 1.5.1,I follow the manually_book step by step,and start Hue,but it shutdown in 26 sec.I found in the error in “beeswax_server.out”,the error is :
    Executing /usr/bin/hadoop jar /usr/lib/hue/apps/beeswax/src/beeswax/../../java-lib/BeeswaxServer.jar –beeswax 8002 –desktop-host –desktop-port 8000 –query-lifetime 604800000 –desktop-https true –metastore 8003
    14/05/02 12:03:35 ERROR beeswax.Server: Error while trying to check/create /tmp and warehouse directory /user/hive/warehouse Permission denied: user=hue, access=EXECUTE, inode=”/user/hive”:hive:hdfs:drwx——

  • Author
  • #52843
    Terry Chan

    14/05/02 12:03:35 ERROR beeswax.Server: Error while trying to check/create /tmp and warehouse directory /user/hive/warehouse Permission denied: user=hue, access=EXECUTE, inode=”/user/hive”:hive:hdfs:drwx—


    Hi Terry,

    Your user doesn’t have permission to check /tmp or /user/hive
    Please ensure the permissions are correct in HDFS and also check to ensure that your user hue is in the correct group (usually hadoop)





    I met different problems for installing hue. I give some tips…
    1) add proxyuser properties for hue in core-site.xml… More precisely, add properties in the ambari interface, as the file is regenerated at each restart.
    2) Hue uses TCP/8000, that was already bound by Storm on my platform. Stop Hue, stop Storm, start hue and start storm will free TCP/8000 and hue will start correctly (and storm too).
    3) hue uses webhdfs… and is configured by default on localhost.

    [30/Apr/2014 13:18:54 +0000] webhdfs ERROR Failed to determine superuser of WebHdfs at http://localhost:50070/webhdfs/v1/: <urlopen error [Errno 111] Connection refused>

    TCP/50700 is not bound on localhost but only on the public IP on my platform:

    # netstat -na| grep LISTEN | grep 50070
    tcp 0 0* LISTEN

    Change webhdfs_url in hue.ini config file for using the right channel for webhdfs and not localhost.
    4) if you are connected with hue user in Hue, you will not access to /user/hive. Create a hive user in the interface and use it (or change filesystem rights with the appropriate value).



The forum ‘Hue’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.