We're updating the issue view to help you get more done. 

Retract operation crashes

Steps to reproduce

I'm experimenting with some custom workflows, and frequently need to get rid of some jobs that didn't work correctly. So I've been doing retracts and get these exceptions and the retract operation hangs in the system:

19:03:30 INFO (RetractWorkflowOperationHandler:92) - Retracting media package f5fdf719-a886-4153-8e45-3cbc314b1aaa from its distribution channels
19:03:34 INFO (EpisodeServiceImpl:381) - Added mediapackage 58f4e3e1-104b-4ab6-a477-7be74b23a341 to the archive
19:03:34 INFO (EpisodeServiceImpl:381) - Added mediapackage f5fdf719-a886-4153-8e45-3cbc314b1aaa to the archive
19:03:34 INFO (EpisodeServiceImpl:381) - Added mediapackage 55c34ab2-8179-49b1-9da8-38fda4164eaa to the archive
19:03:34 WARN (WorkspaceImpl:252) - Could not copy http://nway.ncast.com:8080/files/mediapackage/131cf93f-fd43-42e9-84fb-1ff5d600e95c/catalog-4/slidetext.xml to /opt/matterhorn/opencast/workspace/mediapackage/131cf93f-fd43-42e9-84fb-1ff5d600e95c/catalog-4/slidetext.xml
Exception in thread "pool-24-thread-5" org.opencastproject.episode.api.EpisodeServiceException: org.apache.solr.client.solrj.SolrServerException: java.io.IOException: Unable to load metadata from mpeg7 catalog http://nway.ncast.com:8080/files/mediapackage/131cf93f-fd43-42e9-84fb-1ff5d600e95c/catalog-4/slidetext.xml
at org.opencastproject.episode.impl.EpisodeServiceImpl.add(EpisodeServiceImpl.java:386)
at org.opencastproject.event.handler.EpisodesPermissionsUpdatedEventHandler$1.run(EpisodesPermissionsUpdatedEventHandler.java:277)
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:619)
Caused by: org.apache.solr.client.solrj.SolrServerException: java.io.IOException: Unable to load metadata from mpeg7 catalog http://nway.ncast.com:8080/files/mediapackage/131cf93f-fd43-42e9-84fb-1ff5d600e95c/catalog-4/slidetext.xml
at org.opencastproject.episode.impl.solr.SolrIndexManager.add(SolrIndexManager.java:312)
at org.opencastproject.episode.impl.EpisodeServiceImpl.add(EpisodeServiceImpl.java:380)
... 4 more
Caused by: java.io.IOException: Unable to load metadata from mpeg7 catalog http://nway.ncast.com:8080/files/mediapackage/131cf93f-fd43-42e9-84fb-1ff5d600e95c/catalog-4/slidetext.xml
at org.opencastproject.episode.impl.solr.SolrIndexManager.loadMpeg7Catalog(SolrIndexManager.java:692)
at org.opencastproject.episode.impl.solr.SolrIndexManager.createEpisodeInputDocument(SolrIndexManager.java:385)
at org.opencastproject.episode.impl.solr.SolrIndexManager.add(SolrIndexManager.java:306)
... 5 more
19:03:35 INFO (DownloadDistributionService:279) - Retracting element http://nway.ncast.com:8080/static/f5fdf719-a886-4153-8e45-3cbc314b1aaa/6675fe2b-71a7-454f-94bb-d72064cc5b18/dublincore.xml from /opt/matterhorn/opencast/downloads/f5fdf719-a886-4153-8e45-3cbc314b1aaa/6675fe2b-71a7-454f-94bb-d72064cc5b18/dublincore.xml
19:03:35 INFO (DownloadDistributionService:294) - Finished rectracting element 6675fe2b-71a7-454f-94bb-d72064cc5b18 of media package f5fdf719-a886-4153-8e45-3cbc314b1aaa
19:03:35 INFO (DownloadDistributionService:279) - Retracting element http://nway.ncast.com:8080/static/f5fdf719-a886-4153-8e45-3cbc314b1aaa/37927969-2af8-4b65-b901-e0f5b27740b4/dublincore.xml from /opt/matterh

18:29:15 INFO (EpisodeServiceImpl:381) - Added mediapackage f5fdf719-a886-4153-8e45-3cbc314b1aaa to the archive
18:29:16 INFO (EpisodeServiceImpl:381) - Added mediapackage 55c34ab2-8179-49b1-9da8-38fda4164eaa to the archive
18:29:16 WARN (WorkspaceImpl:252) - Could not copy http://nway.ncast.com:8080/files/mediapackage/131cf93f-fd43-42e9-84fb-1ff5d600e95c/catalog-4/slidetext.xml to /opt/matterhorn/opencast/workspace/mediapackage/131cf93f-fd43-42e9-84fb-1ff5d600e95c/catalog-4/slidetext.xml
Exception in thread "pool-24-thread-4" org.opencastproject.episode.api.EpisodeServiceException: org.apache.solr.client.solrj.SolrServerException: java.io.IOException: Unable to load metadata from mpeg7 catalog http://nway.ncast.com:8080/files/mediapackage/131cf93f-fd43-42e9-84fb-1ff5d600e95c/catalog-4/slidetext.xml
at org.opencastproject.episode.impl.EpisodeServiceImpl.add(EpisodeServiceImpl.java:386)
at org.opencastproject.event.handler.EpisodesPermissionsUpdatedEventHandler$1.run(EpisodesPermissionsUpdatedEventHandler.java:277)
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:619)
Caused by: org.apache.solr.client.solrj.SolrServerException: java.io.IOException: Unable to load metadata from mpeg7 catalog http://nway.ncast.com:8080/files/mediapackage/131cf93f-fd43-42e9-84fb-1ff5d600e95c/catalog-4/slidetext.xml
at org.opencastproject.episode.impl.solr.SolrIndexManager.add(SolrIndexManager.java:312)
at org.opencastproject.episode.impl.EpisodeServiceImpl.add(EpisodeServiceImpl.java:380)
... 4 more
Caused by: java.io.IOException: Unable to load metadata from mpeg7 catalog http://nway.ncast.com:8080/files/mediapackage/131cf93f-fd43-42e9-84fb-1ff5d600e95c/catalog-4/slidetext.xml
at org.opencastproject.episode.impl.solr.SolrIndexManager.loadMpeg7Catalog(SolrIndexManager.java:692)
at org.opencastproject.episode.impl.solr.SolrIndexManager.createEpisodeInputDocument(SolrIndexManager.java:385)
at org.opencastproject.episode.impl.solr.SolrIndexManager.add(SolrIndexManager.java:306)
... 5 more
18:29:19 INFO (DownloadDistributionService:178) - Distributing cccf342e-5733-43e9-bb8e-c34abb41d9b4 to /opt/matterhorn/opencast/downloads/91272071-5842-4357-afe8-94e85730db1f/cccf342e-5733-43e9-bb8e-c34abb41d9b4/dublincore.xml
18:29:19 INFO (DownloadDistributionService:195) - Finished distribution of http://nway.ncast.com:8080/files/mediapackage/91272071-5842-4357-afe8-94e85730db1f/cccf342e-5733-43e9-bb8e-c34abb41d9b4/dublincore.xml

Status

Assignee

Christoph Driessen

Reporter

Hank Magnuski

Severity

Crash/Hang

Tags (folksonomy)

Components

Fix versions

Affects versions

1.3

Priority

Major