hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Wenzel <mwen...@proheris.de>
Subject AW: WebUI's Server don't work and JobHistoryServer missing
Date Fri, 22 Jul 2016 11:52:33 GMT
Hi Sunil,

first of all thanks for helping me out. I found one reason why I had strange behaviors which
I couldn’t reproduce. I’m running two network interfaces on each node, and my /etc/hosts
only configured all my nodes for a single network interface. Interfaces are in different networks
and therefore no HTTP-Access for me. After cleaning this mess up, my problems seem to be sortable
in a clean order.

I know the yarn.resourcemanager.webapp.address property. Due to my network misconfiguration
a bunch of properties didn’t worked as expected.

You were right regarding JobHistoryServer / Proxyserver / Timelineserver. I read this guide
so often, that I obviously overlooked important parts. After starting my JobHistory Server
I had a bunch of new ways to track things on WebUIs. Proxy- and Timelineserver are two completely
new words for me. I going to research both servers.

I’m going to clean and sort my problems for the first now. After doing this, I believe that
I’ll be able to ask specifically for help on a single problem.
Regards, Mike.

Von: Sunil Govind [mailto:sunil.govind@gmail.com]
Gesendet: Donnerstag, 21. Juli 2016 15:05
An: Mike Wenzel <mwenzel@proheris.de>; user@hadoop.apache.org
Betreff: Re: WebUI's Server don't work and JobHistoryServer missing

Hi Mike

yarn.resourcemanager.webapp.address  is to configure Resource Manager Web UI and you can access
ResourceManager Web UI as "http://<host:port><http://%3chost:port%3e>". It will
run on 8088 as default if you are not configuring this property explicitly. Please refer [https://hadoop.apache.org/docs/r2.7.2/hadoop-yarn/hadoop-yarn-common/yarn-default.xml]
for more detailed information.

I think you are not running JobHistoryServer. pls refer [http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/ClusterSetup.html]
 "Hadoop Startup" section. You can run history server by "[mapred]$ $HADOOP_PREFIX/sbin/mr-jobhistory-daemon.sh
--config $HADOOP_CONF_DIR start historyserver" command.
If you are interested, you can also run "timelineserver" which is for yarn.

Also you might need to run WebAppProxy server to see the MapReduce job application master
ui. Please refer to above link for cluster setup and it has detailed information to start
various services.


On Tue, Jul 19, 2016 at 1:59 PM Mike Wenzel <mwenzel@proheris.de<mailto:mwenzel@proheris.de>>
My cluster looks like:

Node1 - NameNode + ResourceManager
Node2 - SecondaryNameNode
Node3 - DataNode (+NodeManager)
Node4 - DataNode (+NodeManager)
Node5 - DataNode (+NodeManager)

http://node1:8088/cluster works.

My problems:
> SecondaryNamenode WebUI: http://node2:50090 doesn’t work (ERR_EMPTY_RESPONSE).
> Datanode WebUI: http://node3:50075 looks like there is something wrong: https://i.imgur.com/dbTxtkS.png
> Also I’m missing the JobHistory Server. Isn’t the jobhistory server included in yarn?
I tried accessing some URLs I found on the web declared as “default configuration” and
> When I run a mapreduce job the output still says: “uri to track the job is httpd://localhost:8080”
and when I try to access any node on this port I get no data (ERR_EMPTY_RESPONSE).

Unfortunately I couldn’t get this problem solved. I only found a few guides setting yarn
up. I tried them all and my situation only got worse when adding more properties on yarn-site.xml.
E.g. the cluster overview-WebUI http://node1:8088/cluster didn’t worked anymore when adding
“yarn.resourcemanager.webapp.address” to yarn-site.xml.
Can anyone help me out configuring yarn correctly please?

My configuration:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- NameNode configuration -->

<!-- SecondaryNameNode configuration -->

<!-- DataNode configuration -->

<?xml version="1.0"?>
<!-- Site specific YARN configuration properties -->
<!-- RessourceManager configuration -->


View raw message