com.vmware.bdd.placement.exception.PlacementException: cannot find a host with enough storage to place base nodes [test32-worker-1]

SpringSource Issue Tracker | Wei Hu (QE) | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Reproduce Steps 1. Create cluster with the data store had not enough storage Expected Result 1. Cluster creation failed with the information indicate the log location in Serengeti server Actual Result 1. No log file location indicate for creation error Following message displays in the CLI ============================================== FAILED 0% node group: master, instance number: 0 roles:[hadoop_namenode, hadoop_jobtracker] node group: worker, instance number: 0 roles:[hadoop_datanode, hadoop_tasktracker] node group: client, instance number: 0 roles:[hadoop_client, pig, hive, hive_server] cluster test32 create failed: task failed ============================================== while in the '/opt/serengeti/logs/serengeti.log', found following error messages ============================================== 2013 Jan 07 10:26:57,755+0000 ERROR SimpleAsyncTaskExecutor-6| org.springframework.batch.core.step.AbstractStep: Encountered an error executing the step com.vmware.bdd.placement.exception.PlacementException: cannot find a host with enough storage to place base nodes [test32-worker-1] at com.vmware.bdd.placement.exception.PlacementException.OUT_OF_VC_HOST(PlacementException.java:42) at com.vmware.bdd.placement.PlacementService.placeVirtualGroup(PlacementService.java:82) at com.vmware.bdd.placement.PlacementService.getPlacementPlan(PlacementService.java:137) at com.vmware.bdd.service.impl.ClusteringService.getPlacementPlan(ClusteringService.java:443) at com.vmware.bdd.service.impl.ClusteringService.createCluster(ClusteringService.java:274) at com.vmware.bdd.service.job.CreateClusterVMStep.executeStep(CreateClusterVMStep.java:39) at com.vmware.bdd.job.TrackableTasklet.execute(TrackableTasklet.java:29) at org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:386) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:264) at org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:76) at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:367) at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:214) ==============================================

    SpringSource Issue Tracker | 4 years ago | Wei Hu (QE)
    com.vmware.bdd.placement.exception.PlacementException: cannot find a host with enough storage to place base nodes [test32-worker-1]
  2. 0

    Reproduce Steps 1. Create cluster with the data store had not enough storage Expected Result 1. Cluster creation failed with the information indicate the log location in Serengeti server Actual Result 1. No log file location indicate for creation error Following message displays in the CLI ============================================== FAILED 0% node group: master, instance number: 0 roles:[hadoop_namenode, hadoop_jobtracker] node group: worker, instance number: 0 roles:[hadoop_datanode, hadoop_tasktracker] node group: client, instance number: 0 roles:[hadoop_client, pig, hive, hive_server] cluster test32 create failed: task failed ============================================== while in the '/opt/serengeti/logs/serengeti.log', found following error messages ============================================== 2013 Jan 07 10:26:57,755+0000 ERROR SimpleAsyncTaskExecutor-6| org.springframework.batch.core.step.AbstractStep: Encountered an error executing the step com.vmware.bdd.placement.exception.PlacementException: cannot find a host with enough storage to place base nodes [test32-worker-1] at com.vmware.bdd.placement.exception.PlacementException.OUT_OF_VC_HOST(PlacementException.java:42) at com.vmware.bdd.placement.PlacementService.placeVirtualGroup(PlacementService.java:82) at com.vmware.bdd.placement.PlacementService.getPlacementPlan(PlacementService.java:137) at com.vmware.bdd.service.impl.ClusteringService.getPlacementPlan(ClusteringService.java:443) at com.vmware.bdd.service.impl.ClusteringService.createCluster(ClusteringService.java:274) at com.vmware.bdd.service.job.CreateClusterVMStep.executeStep(CreateClusterVMStep.java:39) at com.vmware.bdd.job.TrackableTasklet.execute(TrackableTasklet.java:29) at org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:386) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:264) at org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:76) at org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:367) at org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:214) ==============================================

    SpringSource Issue Tracker | 4 years ago | Wei Hu (QE)
    com.vmware.bdd.placement.exception.PlacementException: cannot find a host with enough storage to place base nodes [test32-worker-1]

    Root Cause Analysis

    1. com.vmware.bdd.placement.exception.PlacementException

      cannot find a host with enough storage to place base nodes [test32-worker-1]

      at com.vmware.bdd.placement.exception.PlacementException.OUT_OF_VC_HOST()
    2. com.vmware.bdd
      TrackableTasklet.execute
      1. com.vmware.bdd.placement.exception.PlacementException.OUT_OF_VC_HOST(PlacementException.java:42)
      2. com.vmware.bdd.placement.PlacementService.placeVirtualGroup(PlacementService.java:82)
      3. com.vmware.bdd.placement.PlacementService.getPlacementPlan(PlacementService.java:137)
      4. com.vmware.bdd.service.impl.ClusteringService.getPlacementPlan(ClusteringService.java:443)
      5. com.vmware.bdd.service.impl.ClusteringService.createCluster(ClusteringService.java:274)
      6. com.vmware.bdd.service.job.CreateClusterVMStep.executeStep(CreateClusterVMStep.java:39)
      7. com.vmware.bdd.job.TrackableTasklet.execute(TrackableTasklet.java:29)
      7 frames
    3. Spring Batch Core
      TaskletStep$ChunkTransactionCallback.doInTransaction
      1. org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:386)
      1 frame
    4. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
      1 frame
    5. Spring Batch Core
      StepContextRepeatCallback.doInIteration
      1. org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:264)
      2. org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:76)
      2 frames
    6. Spring Batch Infrastructure
      RepeatTemplate.executeInternal
      1. org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:367)
      2. org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:214)
      2 frames