-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 0.1
-
Fix Version/s: 0.2
-
Component/s: Content Model
-
Tags:
-
Sprint:nxL2IT 0.2-4, nxL2IT 0.2-5
Seems like if one video is in error, the other video conversions hang in 'schduled' state .
See screenshots from DataDog
Caused by: org.nuxeo.ecm.core.convert.api.ConversionException: Error while converting via CommandLineService
at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.execOnBlob(CommandLineBasedConverter.java:166)
at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.convert(CommandLineBasedConverter.java:93)
at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:321)
at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java:169)
at org.nuxeo.ecm.platform.video.service.VideoConversionWork.work(VideoConversionWork.java:110)
at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:436)
at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:356)
... 10 more
Caused by: org.nuxeo.ecm.platform.commandline.executor.api.CommandException: Error code 1 return by command: ffmpeg -i #Unknown macro: {inFilePath}-s #
Unknown macro: {width}x#
Unknown macro: {height}-acodec aac -strict -2 -vcodec libx264 -v 0 #
Unknown macro: {outFilePath}at org.nuxeo.ecm.platform.commandline.executor.api.ExecResult.<init>(ExecResult.java:62)
at org.nuxeo.ecm.platform.commandline.executor.service.executors.ShellExecutor.exec(ShellExecutor.java:82)
at org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.execCommand(CommandLineExecutorComponent.java:173)
at org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter.execOnBlob(CommandLineBasedConverter.java:157)
... 16 more
2018-05-24 19:38:58,319 ERROR [ComputationRunner] videoConversion: CHECKPOINT FAILURE: Resume may create duplicates.
2018-05-24 19:38:58,319 ERROR [ComputationRunner] videoConversion: Exception in processLoop: Commit cannot be completed since the group has already rebalanced and assigned the partitions to another member. This means that the time between subsequent calls to poll() was longer than the configured max.poll.interval.ms, which typically implies that the poll loop is spending too much time message processing. You can address this either by increasing the session timeout or by reducing the maximum size of batches returned in poll() with max.poll.records.
org.apache.kafka.clients.consumer.CommitFailedException: Commit cannot be completed since the group has already rebalanced and assigned the partitions to another member. This means that the time between subsequent calls to poll() was longer than the configured max.poll.interval.ms, which typically implies that the poll loop is spending too much time message processing. You can address this either by increasing the session timeout or by reducing the maximum size of batches returned in poll() with max.poll.records.
at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.sendOffsetCommitRequest(ConsumerCoordinator.java:721)
at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.commitOffsetsSync(ConsumerCoordinator.java:599)
at org.apache.kafka.clients.consumer.KafkaConsumer.commitSync(KafkaConsumer.java:1242)
at org.nuxeo.lib.stream.log.kafka.KafkaLogTailer.commit(KafkaLogTailer.java:344)
at org.nuxeo.lib.stream.computation.log.ComputationRunner.saveOffsets(ComputationRunner.java:351)
at org.nuxeo.lib.stream.computation.log.ComputationRunner.checkpoint(ComputationRunner.java:333)
at org.nuxeo.lib.stream.computation.log.ComputationRunner.checkpointIfNecessary(ComputationRunner.java:311)
at org.nuxeo.lib.stream.computation.log.ComputationRunner.processRecord(ComputationRunner.java:277)
at org.nuxeo.lib.stream.computation.log.ComputationRunner.processLoop(ComputationRunner.java:182)
at org.nuxeo.lib.stream.computation.log.ComputationRunner.run(ComputationRunner.java:141)