{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/hdfs/issues/224","labels_url":"https://api.github.com/repos/mesosphere/hdfs/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/hdfs/issues/224/comments","events_url":"https://api.github.com/repos/mesosphere/hdfs/issues/224/events","html_url":"https://github.com/mesosphere/hdfs/issues/224","id":113997471,"number":224,"title":"can not start the framework: Offer does not have enough resources","user":{"login":"asdfsx","id":2292716,"avatar_url":"https://avatars.githubusercontent.com/u/2292716?v=3","gravatar_id":"","url":"https://api.github.com/users/asdfsx","html_url":"https://github.com/asdfsx","followers_url":"https://api.github.com/users/asdfsx/followers","following_url":"https://api.github.com/users/asdfsx/following{/other_user}","gists_url":"https://api.github.com/users/asdfsx/gists{/gist_id}","starred_url":"https://api.github.com/users/asdfsx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asdfsx/subscriptions","organizations_url":"https://api.github.com/users/asdfsx/orgs","repos_url":"https://api.github.com/users/asdfsx/repos","events_url":"https://api.github.com/users/asdfsx/events{/privacy}","received_events_url":"https://api.github.com/users/asdfsx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T07:48:17Z","updated_at":"2015-10-29T07:50:17Z","closed_at":null,"body":"I create a mesos cluster on virtual machines. The cluster has 4 node, each node has 2cpu. \r\n![f7b85ba7-7e15-4a19-ac69-ac54ad6033b6](https://cloud.githubusercontent.com/assets/2292716/10812605/e48730e2-7e52-11e5-8b24-1174dcffe7d1.png)\r\nBut everytime I start the hdfs with: bin/hdfs-mesos, it tells me\r\n```python\r\n07:39:31.586 [Thread-13] INFO  o.a.mesos.hdfs.state.StateMachine - Correcting phase with journal counts: 0/1 and name counts: 0/2\r\n07:39:31.586 [Thread-13] INFO  o.a.mesos.hdfs.state.StateMachine - Transitioning from acquisition phase 'RECONCILING_TASKS' to 'JOURNAL_NODES'\r\n07:39:31.586 [Thread-13] INFO  o.a.mesos.hdfs.state.StateMachine - Current phase is now: JOURNAL_NODES\r\n07:39:31.588 [Thread-13] INFO  o.a.m.hdfs.scheduler.NodeLauncher - Node: journalnode, evaluating offer: value: \"20151029-070716-604154048-5050-1-O467\"\r\n\r\n07:39:31.591 [Thread-13] INFO  o.a.mesos.hdfs.scheduler.JournalNode - Offer does not have enough resources\r\n07:39:31.591 [Thread-13] INFO  o.a.m.hdfs.scheduler.NodeLauncher - Node: journalnode, declining offer: value: \"20151029-070716-604154048-5050-1-O467\"\r\n```\r\nhere is my mesos-site.xml\r\n```xml\r\n<configuration>\r\n  <property>\r\n    <name>mesos.hdfs.data.dir</name>\r\n    <description>The primary data directory in HDFS</description>\r\n    <value>/var/lib/hdfs/data</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.secondary.data.dir</name>\r\n    <description>The secondary data directory in HDFS</description>\r\n    <value>/var/run/hadoop-hdfs</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.native-hadoop-binaries</name>\r\n    <description>Mark true if you have hadoop pre-installed on your host machines (otherwise it will be distributed by the scheduler)</description>\r\n    <value>false</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.framework.mnt.path</name>\r\n    <description>Mount location (if mesos.hdfs.native-hadoop-binaries is marked false)</description>\r\n    <value>/opt/mesosphere</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.state.zk</name>\r\n    <description>Comma-separated hostname-port pairs of zookeeper node locations for HDFS framework state information</description>\r\n    <value>192.168.2.36:2181</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.master.uri</name>\r\n    <description>Zookeeper entry for mesos master location</description>\r\n    <value>zk://192.168.2.36:2181/mesos</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.zkfc.ha.zookeeper.quorum</name>\r\n    <description>Comma-separated list of zookeeper hostname-port pairs for HDFS HA features</description>\r\n    <value>192.168.2.36:2181</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.framework.name</name>\r\n    <description>Your Mesos framework name and cluster name when accessing files (hdfs://YOUR_NAME)</description>\r\n    <value>hdfs</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.mesosdns</name>\r\n    <description>Whether to use Mesos DNS for service discovery within HDFS</description>\r\n    <value>false</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.mesosdns.domain</name>\r\n    <description>Root domain name of Mesos DNS (usually 'mesos')</description>\r\n    <value>mesos</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.native.library</name>\r\n    <description>Location of libmesos.so</description>\r\n    <value>/usr/local/lib/libmesos.so</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.journalnode.count</name>\r\n    <description>Number of journal nodes (must be odd)</description>\r\n    <value>1</value>\r\n  </property>\r\n\r\n  <!-- Additional settings for fine-tuning -->\r\n  <!--\r\n  <property>\r\n    <name>mesos.hdfs.jvm.overhead</name>\r\n    <description>Multiplier on resources reserved in order to account for JVM allocation</description>\r\n    <value>1.35</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.hadoop.heap.size</name>\r\n    <value>512</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.namenode.heap.size</name>\r\n    <value>4096</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.datanode.heap.size</name>\r\n    <value>1024</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.executor.heap.size</name>\r\n    <value>256</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.executor.cpus</name>\r\n    <value>0.1</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.namenode.cpus</name>\r\n    <value>0.1</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.journalnode.cpus</name>\r\n    <value>0.1</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.datanode.cpus</name>\r\n    <value>0.1</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.user</name>\r\n    <value>root</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.role</name>\r\n    <value>*</value>\r\n  </property>\r\n\r\n  <property>\r\n    <name>mesos.hdfs.datanode.exclusive</name>\r\n    WARNING-It is not advisable to run the datanode on same slave because of performance issues\r\n    <description>Whether to run the datanode on slave different from namenode and journal nodes</description>\r\n    <value>true</value>\r\n  </property>\r\n  -->\r\n</configuration>\r\n```"},"comment":{"url":"https://api.github.com/repos/mesosphere/hdfs/issues/comments/152105389","html_url":"https://github.com/mesosphere/hdfs/issues/224#issuecomment-152105389","issue_url":"https://api.github.com/repos/mesosphere/hdfs/issues/224","id":152105389,"user":{"login":"asdfsx","id":2292716,"avatar_url":"https://avatars.githubusercontent.com/u/2292716?v=3","gravatar_id":"","url":"https://api.github.com/users/asdfsx","html_url":"https://github.com/asdfsx","followers_url":"https://api.github.com/users/asdfsx/followers","following_url":"https://api.github.com/users/asdfsx/following{/other_user}","gists_url":"https://api.github.com/users/asdfsx/gists{/gist_id}","starred_url":"https://api.github.com/users/asdfsx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asdfsx/subscriptions","organizations_url":"https://api.github.com/users/asdfsx/orgs","repos_url":"https://api.github.com/users/asdfsx/repos","events_url":"https://api.github.com/users/asdfsx/events{/privacy}","received_events_url":"https://api.github.com/users/asdfsx/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T07:50:16Z","updated_at":"2015-10-29T07:50:16Z","body":"Is there any resource limits?"}}