Error distributing: One of the distribution jobs did not complete successfully

Steps to reproduce

When I ingest some mediapackages, sometimes I have a problem distributing the videos.

2011-05-07 05:21:12 INFO (StreamingDistributionService:183) - Distributing http://mhadm.cc.upv.es:8080/files/mediapackage/c4333afc-f896-4936-ac4d-4c2dda071ccf/ef0e63fd-0154-4b4a-98f3-fb927f6013e8/profesor.mp4 to /mnt/ocfs/matterhorn/streams/c4333afc-f896-4936-ac4d-4c2dda071ccf/ef0e63fd-0154-4b4a-98f3-fb927f6013e8/profesor.mp4
2011-05-07 05:21:14 WARN (StreamingDistributionService:205) - Error distributing http://mhadm.cc.upv.es:8080/files/mediapackage/c4333afc-f896-4936-ac4d-4c2dda071ccf/ef0e63fd-0154-4b4a-98f3-fb927f6013e8/profesor.mp4
org.opencastproject.distribution.api.DistributionException: Unable to copy /mnt/ocfs/matterhorn/workspace/mediapackage/c4333afc-f896-4936-ac4d-4c2dda071ccf/ef0e63fd-0154-4b4a-98f3-fb927f6013e8/profesor.mp4 to /mnt/ocfs/matterhorn/streams/c4333afc-f896-4936-ac4d-4c2dda071ccf/ef0e63fd-0154-4b4a-98f3-fb927f6013e8/profesor.mp4
at org.opencastproject.distribution.streaming.StreamingDistributionService.distribute(StreamingDistributionService.java:188)
at org.opencastproject.distribution.streaming.StreamingDistributionService.process(StreamingDistributionService.java:321)
at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:147)
at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Map failed
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:758)
at sun.nio.ch.FileChannelImpl.transferFromFileChannel(FileChannelImpl.java:537)
at sun.nio.ch.FileChannelImpl.transferFrom(FileChannelImpl.java:600)
at org.opencastproject.util.FileSupport.copy(FileSupport.java:153)
at org.opencastproject.util.FileSupport.copy(FileSupport.java:104)
at org.opencastproject.distribution.streaming.StreamingDistributionService.distribute(StreamingDistributionService.java:186)
... 8 more
Caused by: java.lang.OutOfMemoryError: Map failed
at sun.nio.ch.FileChannelImpl.map0(Native Method)
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:755)
... 13 more
2011-05-07 05:21:15 ERROR (WorkflowOperationWorker:158) - Workflow operation 'distribute-streaming' failed
org.opencastproject.workflow.api.WorkflowOperationException: One of the distribution jobs did not complete successfully
at org.opencastproject.workflow.handler.DistributeWorkflowOperationHandler.start(DistributeWorkflowOperationHandler.java:141)
at org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:216)
at org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:138)
at org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:646)
at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1345)
at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1594)
at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1572)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Status

Assignee

Rubén Pérez

Reporter

Miguel

Severity

Non Functioning

Tags (folksonomy)

None

Fix versions

Affects versions

1.1.x (branch)

Priority

Major
Configure