Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When a job fails to start due to the following exception, would be helpful to print the job model also
Exception in thread "main" java.lang.IllegalArgumentException: Your container count (32) is larger than your task count (10). Can't have containers with nothing to do, so aborting. at org.apache.samza.container.grouper.task.GroupByContainerCount.validateTasks(GroupByContainerCount.java:212) at org.apache.samza.container.grouper.task.GroupByContainerCount.group(GroupByContainerCount.java:62) at org.apache.samza.container.grouper.task.TaskNameGrouper.group(TaskNameGrouper.java:56) at org.apache.samza.coordinator.JobModelManager$.readJobModel(JobModelManager.scala:208) at org.apache.samza.coordinator.JobModelManager$.getJobModelManager(JobModelManager.scala:97) at org.apache.samza.coordinator.JobModelManager$.apply(JobModelManager.scala:83) at org.apache.samza.coordinator.JobModelManager.apply(JobModelManager.scala) at org.apache.samza.clustermanager.ClusterBasedJobCoordinator.<init>(ClusterBasedJobCoordinator.java:177) at org.apache.samza.clustermanager.ClusterBasedJobCoordinator.main(ClusterBasedJobCoordinator.java:343)
Attachments
Issue Links
- links to