You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Wang Chun <pa...@gmail.com> on 2015/07/03 18:36:21 UTC

About Hadoop mr1 on Mesos 0.22.1.

Hi,
I'm a fresh people of Mesos usage, and recently I tried to follow the
instructions in
https://github.com/mesos/hadoop/blob/master/README.md
to setup the Hadoop running on Mesos.
Now I get a problem that the Hadoop is not displayed under list of Mesos
Web UI "Active Frameworks".  I want to know what I have missing to get the
framework registered with Mesos, or is it necessary in this case?

Here is some env information:

Hadoop running with following services:
$ jps
12375 JobTracker
12839 TaskTracker
11325 DataNode
11267 NameNode
12895 Jps

The log from jobtracker is showing Mesos is doing some job:
I0704 00:33:24.501077 12460 master.cpp:2273] Processing ACCEPT call for
offers: [ 20150704-001951-2397939904-59631-12375-O160 ] on slave
20150704-001951-2397939904-59631-12375-S0 at slave(1)@192.168.237.142:59631
(kilo) for framework 20150704-001951-2397939904-59631-12375-0000 (hadoop)
at scheduler-0ab6c7e5-fb4f-4951-9086-cc9efc3c27a4@192.168.237.142:59631
I0704 00:33:24.501871 12457 hierarchical.hpp:648] Recovered cpus(*):2;
mem(*):2921; disk(*):10618; ports(*):[31000-32000] (total allocatable:
cpus(*):2; mem(*):2921; disk(*):10618; ports(*):[31000-32000]) on slave
20150704-001951-2397939904-59631-12375-S0 from framework
20150704-001951-2397939904-59631-12375-0000
I0704 00:33:29.508990 12457 master.cpp:3760] Sending 1 offers to framework
20150704-001951-2397939904-59631-12375-0000 (hadoop) at
scheduler-0ab6c7e5-fb4f-4951-9086-cc9efc3c27a4@192.168.237.142:59631
15/07/04 00:33:29 INFO mapred.ResourcePolicy: JobTracker Status
      Pending Map Tasks: 0
   Pending Reduce Tasks: 0
      Running Map Tasks: 0
   Running Reduce Tasks: 0
         Idle Map Slots: 0
      Idle Reduce Slots: 0
     Inactive Map Slots: 0 (launched but no hearbeat yet)
  Inactive Reduce Slots: 0 (launched but no hearbeat yet)
       Needed Map Slots: 0
    Needed Reduce Slots: 0
     Unhealthy Trackers: 0

Thanks a lot.