AnsweredAssumed Answered

Issues with configuring Hue with MapR

Question asked by ehsan on Apr 23, 2014
Latest reply on Jun 1, 2014 by mufeed
Hi,
   I am new to MapR, and I am trying to install Hue in Mapr 3 installation. I have followed the instructions on http://doc.mapr.com/display/MapR/Configuring+Hue, however when I open the hue web UI I see error messages due to misconfigurations. These are the messages that I see

**Configuration files located in /opt/mapr/hue/hue-2.5.0/desktop/conf**

Potential misconfiguration detected. Fix and restart Hue.

**hadoop.mapred_clusters.default  Failed to contact JobTracker plugin at datavault-dev-db6:9290.
down  The Oozie server is not available**

**/oozie/share/lib  Oozie Share Lib not installed in default location.**

**Oozie Editor/Dashboard  The app won't work without a running Oozie server**

**Pig Editor  The app won't work without a running Oozie server**

My oozie sharelib path in HDFS is "/user/mapr/share/lib" which I have configured in hive-site.xml, but I don't know where to configure this in hue.ini.

The jobTracker is not configured because the job tracker Thrift server failed to start. It throws following exception in the jobTracker log.

2014-04-22 11:09:22,525 WARN mapred.JobTrackerPlugin [pool-3-thread-1]: Cannot start Thrift jobtracker plug-in
com.cloudera.hue.org.apache.thrift.transport.TTransportException: UGI mapr has no kerberos credentials
        at org.apache.hadoop.thriftfs.HadoopThriftAuthBridge$Server.<init>(HadoopThriftAuthBridge.java:116)
        at org.apache.hadoop.thriftfs.ThriftPluginServer.<init>(ThriftPluginServer.java:66)
        at org.apache.hadoop.mapred.ThriftJobTrackerPlugin.start(ThriftJobTrackerPlugin.java:683)
        at org.apache.hadoop.util.PluginDispatcher$2.run(PluginDispatcher.java:109)
        at org.apache.hadoop.util.PluginDispatcher$2.run(PluginDispatcher.java:106)
        at org.apache.hadoop.util.PluginDispatcher$1.run(PluginDispatcher.java:89)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)
2014-04-22 11:09:22,526 ERROR util.PluginDispatcher [pool-3-thread-1]: ServicePlugin org.apache.hadoop.thriftfs.ThriftJobTrackerPlugin@145671b5 could not be started. Removing from future callbacks.
java.lang.RuntimeException: Cannot start Thrift jobtracker plug-in
        at org.apache.hadoop.mapred.ThriftJobTrackerPlugin.start(ThriftJobTrackerPlugin.java:691)
        at org.apache.hadoop.util.PluginDispatcher$2.run(PluginDispatcher.java:109)
        at org.apache.hadoop.util.PluginDispatcher$2.run(PluginDispatcher.java:106)
        at org.apache.hadoop.util.PluginDispatcher$1.run(PluginDispatcher.java:89)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)
Caused by: com.cloudera.hue.org.apache.thrift.transport.TTransportException: UGI mapr has no kerberos credentials
        at org.apache.hadoop.thriftfs.HadoopThriftAuthBridge$Server.<init>(HadoopThriftAuthBridge.java:116)
        at org.apache.hadoop.thriftfs.ThriftPluginServer.<init>(ThriftPluginServer.java:66)
        at org.apache.hadoop.mapred.ThriftJobTrackerPlugin.start(ThriftJobTrackerPlugin.java:683)
        ... 6 more

Any help would be appreciated.

Thanks
Ehsan

Outcomes