You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by GitBox <gi...@apache.org> on 2022/03/28 09:23:27 UTC

[GitHub] [hop] hansva edited a comment on pull request #1078: HOP-3262 Simplify the APIs of transforms

hansva edited a comment on pull request #1078:
URL: https://github.com/apache/hop/pull/1078#issuecomment-1080399959


   Beam Switch-case Integration test:
   `Caused by: java.lang.ClassCastException: class org.apache.hop.pipeline.transforms.file.BaseFileInputFiles cannot be cast to class org.apache.hop.pipeline.transform.ITransformData (org.apache.hop.pipeline.transforms.file.BaseFileInputFiles and org.apache.hop.pipeline.transform.ITransformData are in unnamed module of loader 'app')`
   
   Avro File input:
   ```
   integration_test_1  | 2022/03/28 09:22:20 - 0018-avro-file-input - Executing this pipeline using the Local Pipeline Engine with run configuration 'local'
   integration_test_1  | 2022/03/28 09:22:21 - 0018-avro-file-input - Execution started for pipeline [0018-avro-file-input]
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - ERROR: java.lang.RuntimeException: Error create instance of transform: null
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.pipeline.transform.BaseTransformMeta.createTransform(BaseTransformMeta.java:97)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.pipeline.Pipeline.prepareExecution(Pipeline.java:765)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.pipeline.engines.local.LocalPipelineEngine.prepareExecution(LocalPipelineEngine.java:206)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.pipeline.Pipeline.execute(Pipeline.java:467)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.testing.util.UnitTestUtil.executeUnitTest(UnitTestUtil.java:109)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.testing.actions.runtests.RunPipelineTests.execute(RunPipelineTests.java:81)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:622)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:764)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:407)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.workflow.Workflow.startExecution(Workflow.java:266)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.workflow.engines.local.LocalWorkflowEngine.startExecution(LocalWorkflowEngine.java:216)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.run.HopRun.runWorkflow(HopRun.java:322)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.run.HopRun.runWorkflow(HopRun.java:287)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.run.HopRun.run(HopRun.java:147)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.run.HopRun.main(HopRun.java:748)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - Caused by: java.lang.NoSuchMethodException: org.apache.hop.avro.transforms.avroinput.AvroFileInput.<init>(org.apache.hop.pipeline.transform.TransformMeta, org.apache.hop.avro.transforms.avrodecode.AvroDecodeMeta, org.apache.hop.avro.transforms.avrodecode.AvroDecodeData, int, org.apache.hop.pipeline.PipelineMeta, org.apache.hop.pipeline.Pipeline)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at java.base/java.lang.Class.getConstructor0(Class.java:3349)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at java.base/java.lang.Class.getConstructor(Class.java:2151)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.pipeline.transform.BaseTransformMeta.createTransform(BaseTransformMeta.java:94)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	... 14 more
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - ERROR: A serious error occurred during workflow execution:
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - Unexpected error occurred while launching entry [Run Pipeline Unit Tests]
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - Error create instance of transform: null
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - ERROR: org.apache.hop.core.exception.HopException:
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - Unexpected error occurred while launching entry [Run Pipeline Unit Tests]
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - Error create instance of transform: null
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input -
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:768)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:407)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.workflow.Workflow.startExecution(Workflow.java:266)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.workflow.engines.local.LocalWorkflowEngine.startExecution(LocalWorkflowEngine.java:216)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.run.HopRun.runWorkflow(HopRun.java:322)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.run.HopRun.runWorkflow(HopRun.java:287)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.run.HopRun.run(HopRun.java:147)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.run.HopRun.main(HopRun.java:748)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - Caused by: java.lang.RuntimeException: Error create instance of transform: null
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.pipeline.transform.BaseTransformMeta.createTransform(BaseTransformMeta.java:97)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.pipeline.Pipeline.prepareExecution(Pipeline.java:765)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.pipeline.engines.local.LocalPipelineEngine.prepareExecution(LocalPipelineEngine.java:206)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.pipeline.Pipeline.execute(Pipeline.java:467)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.testing.util.UnitTestUtil.executeUnitTest(UnitTestUtil.java:109)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.testing.actions.runtests.RunPipelineTests.execute(RunPipelineTests.java:81)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:622)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.workflow.Workflow.executeFromStart(Workflow.java:764)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	... 7 more
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - Caused by: java.lang.NoSuchMethodException: org.apache.hop.avro.transforms.avroinput.AvroFileInput.<init>(org.apache.hop.pipeline.transform.TransformMeta, org.apache.hop.avro.transforms.avrodecode.AvroDecodeMeta, org.apache.hop.avro.transforms.avrodecode.AvroDecodeData, int, org.apache.hop.pipeline.PipelineMeta, org.apache.hop.pipeline.Pipeline)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at java.base/java.lang.Class.getConstructor0(Class.java:3349)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at java.base/java.lang.Class.getConstructor(Class.java:2151)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	at org.apache.hop.pipeline.transform.BaseTransformMeta.createTransform(BaseTransformMeta.java:94)
   integration_test_1  | 2022/03/28 09:22:21 - main-0018-avro-file-input - 	... 14 more
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org