我有一個正在運行的Hadoop 2.7和Hive 2.0.1。我正在嘗試安裝Hive編輯器,以便我可以輕鬆編寫HiveQL查詢。因此,我下載並構建了Hue 3.10。我配置它與HDFS和Hive一起工作(我不確定它們是否正確)。當我啓動色調,它會檢查配置,我看到了一些錯誤有關webhdfs順化在Apache Hadoop和Hive上安裝Hue(Redhat)
[27/Jul/2016 23:08:55 -0700] webhdfs ERROR Failed to determine superuser of WebHdfs athttp://40.221.1.44:50070/webhdfs/v1/: <HTML><HEAD>
.....
.....
[27/Jul/2016 23:10:10 -0700] webhdfs INFO WebHdfs at http://40.221.1.44:50070/webhdfs/v1/ -- Validation error: <HTML><HEAD>
<TITLE>Network Error</TITLE>
<script type="text/javascript">document.location.href="http://fr0-proxy-vip.eu.ab.corp/error/page.php?id=tcp_error&proxy=fr0-proxylan-p01&summary=Network Error&url=40.221.1.44&category=none&user=&ip=40.221.1.44&details=A communication error occurred: "Operation timed out""</script>
<meta http-equiv="REFRESH" content="0;url='http://fr0-proxy-vip.eu.ab.corp/error/page.php?id=tcp_error&proxy=fr0-proxylan-p01&summary=Network Error&url=40.221.1.44&category=none&user=&ip=40.221.1.44&details=A communication error occurred: "Operation timed out"'">
</HEAD>
<BODY>
<FONT face="Helvetica">
<big><strong></strong></big><BR>
</FONT>
<blockquote>
<TABLE border=0 cellPadding=1 width="80%">
<TR><TD>
<FONT face="Helvetica">
<big>Network Error (tcp_error)</big>
<BR>
<BR>
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
A communication error occurred: "Operation timed out"
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica" SIZE=2>
<BR>
For assistance, contact the Service Desk (8666).
</FONT>
</TD></TR>
</TABLE>
</blockquote>
</FONT>
</BODY></HTML>
(error 503)
的服務器日誌下面我有我的信息HDFS-site.xml中
<property>
<name>dfs.webhdfs.enabled</name>
<value>true</value>
</property>
我不介意其他應用程序,但真正關注Hadoop和Hive。任何幫助將不勝感激。
HDFS-site.xml中
<configuration>
<property>
<name>dfs.webhdfs.enabled</name>
<value>true</value>
</property>
</configuration>
我核心的site.xml
<property>
<name>hadoop.proxyuser.baamarna5617.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.baamarna5617.groups</name>
<value>*</value>
</property>
我已經安裝的Hadoop作爲用戶baamarna5617。
當我啓動色相瀏覽器時,我創建了一個名爲'baamarna5617'的用戶帳戶。我在我的hdfs中創建了/ user/baamarna5617。
在我mapred-site.xml中,我已經包含下面的線
<property>
<name>jobtracker.thrift.address</name>
<value>0.0.0.0:9290</value>
</property>
<property>
<name>mapred.jobtracker.plugins</name>
<value>org.apache.hadoop.thriftfs.ThriftJobTrackerPlugin</value>
<description>Comma-separated list of jobtracker plug-ins to be activated.</description>
</property>
在我的HTTPS-site.xml中
<property>
<name>httpfs.proxyuser.hue.hosts</name>
<value>*</value>
</property>
<property>
<name>httpfs.proxyuser.hue.groups</name>
<value>*</value>
</property>
我的蜂房的site.xml
<property>
<name>hive.hwi.listen.host</name>
<value>40.221.1.44</value>
</property>
<property>
<name>hive.server2.transport.mode</name>
<value>http</value>
</property>
<property>
<name>hive.server2.thrift.bind.host</name>
<value>40.221.1.44</value>
</property>
<property>
<name></name>
<value>http</value>
</property>
<property>
<name>hive.server2.webui.host</name>
<value>40.221.1.44</value>
</property>
<property>
<name>hive.server2.webui.port</name>
<value>10002</value>
</property>
<property>
<name>hive.server2.thrift.http.port</name>
<value>10001</value>
</property>
<property>
<name>hive.server2.thrift.http.path</name>
<value>cliservice</value>
</property>
<property>
<name>hive.server2.thrift.port</name>
<value>10000</value>
</property>
<property>
<name>hive.metastore.thrift.framed.transport.enabled</name>
<value>true</value>
</property>
<property>
<name>hive.metastore.warehouse.dir</name>
<value>/user/hive/warehouse</value>
</property>
現在更多信息: -
我正在使用網絡代理
我無法使用webhdfs成功創建目錄。我可以列出hdfs目錄並讀取文件,但重命名文件並在hdfs中創建目錄失敗。