[PR] Translations update from Weblate (hop)

2023-12-19 Thread via GitHub


hop-weblate opened a new pull request, #3504:
URL: https://github.com/apache/hop/pull/3504

   Translations update from [Weblate](https://translate.project-hop.org) for 
[Apache Hop 
Codebase/Hop](https://translate.project-hop.org/projects/apache-hop-codebase/hop/).
   
   
   It also includes following components:
   
   * [Apache Hop 
Codebase/foo](https://translate.project-hop.org/projects/apache-hop-codebase/foo/)
   
   * [Apache Hop Codebase/workflow 
2](https://translate.project-hop.org/projects/apache-hop-codebase/workflow-2/)
   
   * [Apache Hop 
Codebase/blockuntiltransformsfinish](https://translate.project-hop.org/projects/apache-hop-codebase/blockuntiltransformsfinish/)
   
   * [Apache Hop 
Codebase/meta](https://translate.project-hop.org/projects/apache-hop-codebase/meta/)
   
   * [Apache Hop 
Codebase/pipelineexecutor](https://translate.project-hop.org/projects/apache-hop-codebase/pipelineexecutor/)
   
   * [Apache Hop 
Codebase/mysqlbulkload](https://translate.project-hop.org/projects/apache-hop-codebase/mysqlbulkload/)
   
   * [Apache Hop 
Codebase/cypherscript](https://translate.project-hop.org/projects/apache-hop-codebase/cypherscript/)
   
   * [Apache Hop 
Codebase/mail](https://translate.project-hop.org/projects/apache-hop-codebase/mail/)
   
   * [Apache Hop Codebase/gui 
4](https://translate.project-hop.org/projects/apache-hop-codebase/gui-4/)
   
   * [Apache Hop Codebase/config 
4](https://translate.project-hop.org/projects/apache-hop-codebase/config-4/)
   
   * [Apache Hop Codebase/gui 
3](https://translate.project-hop.org/projects/apache-hop-codebase/gui-3/)
   
   * [Apache Hop 
Codebase/stringoperations](https://translate.project-hop.org/projects/apache-hop-codebase/stringoperations/)
   
   * [Apache Hop 
Codebase/googleanalytics](https://translate.project-hop.org/projects/apache-hop-codebase/googleanalytics/)
   
   * [Apache Hop Codebase/config 
5](https://translate.project-hop.org/projects/apache-hop-codebase/config-5/)
   
   * [Apache Hop 
Codebase/kafka](https://translate.project-hop.org/projects/apache-hop-codebase/kafka/)
   
   * [Apache Hop Codebase/config 
6](https://translate.project-hop.org/projects/apache-hop-codebase/config-6/)
   
   * [Apache Hop 
Codebase/i18n](https://translate.project-hop.org/projects/apache-hop-codebase/i18n/)
   
   * [Apache Hop 
Codebase/producer](https://translate.project-hop.org/projects/apache-hop-codebase/producer/)
   
   * [Apache Hop 
Codebase/shell](https://translate.project-hop.org/projects/apache-hop-codebase/shell/)
   
   * [Apache Hop 
Codebase/delete](https://translate.project-hop.org/projects/apache-hop-codebase/delete/)
   
   * [Apache Hop 
Codebase/detectemptystream](https://translate.project-hop.org/projects/apache-hop-codebase/detectemptystream/)
   
   * [Apache Hop 
Codebase/snowflake](https://translate.project-hop.org/projects/apache-hop-codebase/snowflake/)
   
   * [Apache Hop 
Codebase/deletefile](https://translate.project-hop.org/projects/apache-hop-codebase/deletefile/)
   
   * [Apache Hop 
Codebase/model](https://translate.project-hop.org/projects/apache-hop-codebase/model/)
   
   * [Apache Hop 
Codebase/output](https://translate.project-hop.org/projects/apache-hop-codebase/output/)
   
   * [Apache Hop 
Codebase/dummy](https://translate.project-hop.org/projects/apache-hop-codebase/dummy/)
   
   * [Apache Hop 
Codebase/writer](https://translate.project-hop.org/projects/apache-hop-codebase/writer/)
   
   * [Apache Hop 
Codebase/creditcardvalidator](https://translate.project-hop.org/projects/apache-hop-codebase/creditcardvalidator/)
   
   * [Apache Hop 
Codebase/execution](https://translate.project-hop.org/projects/apache-hop-codebase/execution/)
   
   * [Apache Hop 
Codebase/execinfo](https://translate.project-hop.org/projects/apache-hop-codebase/execinfo/)
   
   * [Apache Hop 
Codebase/columnsexist](https://translate.project-hop.org/projects/apache-hop-codebase/columnsexist/)
   
   * [Apache Hop Codebase/util 
4](https://translate.project-hop.org/projects/apache-hop-codebase/util-4/)
   
   * [Apache Hop 
Codebase/errorhandling](https://translate.project-hop.org/projects/apache-hop-codebase/errorhandling/)
   
   * [Apache Hop 
Codebase/server](https://translate.project-hop.org/projects/apache-hop-codebase/server/)
   
   * [Apache Hop 
Codebase/checksum](https://translate.project-hop.org/projects/apache-hop-codebase/checksum/)
   
   * [Apache Hop 
Codebase/splunkinput](https://translate.project-hop.org/projects/apache-hop-codebase/splunkinput/)
   
   * [Apache Hop 
Codebase/rowsfromresult](https://translate.project-hop.org/projects/apache-hop-codebase/rowsfromresult/)
   
   * [Apache Hop 
Codebase/eval](https://translate.project-hop.org/projects/apache-hop-codebase/eval/)
   
   * [Apache Hop 
Codebase/splunk](https://translate.project-hop.org/projects/apache-hop-codebase/splunk/)
   
   * [Apache Hop 

[I] [Bug]: multiple pipeline executors inside pipeline causes error (hop)

2023-12-19 Thread via GitHub


rcgardne opened a new issue, #3503:
URL: https://github.com/apache/hop/issues/3503

   ### Apache Hop version?
   
   2.7.0 (2023-11-17 12.19.09)
   
   ### Java version?
   
   openjdk 11.0.20 2023-07-18 LTS
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   Priority = 1 because "important component is nonfunctional".
   
   I set up a pipeline (parent pipeline) that runs two other pipelines 
(sub-pipelines) via the "Pipeline Executor" component. The first sub-pipeline 
will execute fine if its results are directed to a "Dummy (Do Nothing)" 
component. However, an error message is observed if the results are directed to 
the second sub-pipeline. I believe this behavior persists for any data passed 
from one pipeline executor to another within a parent pipeline. Here is the 
error:
   
   ```bash
   2023/12/19 02:16:19 - Hop - Projects enabled
   2023/12/19 02:16:19 - Hop - Enabling project : 'example_project'
   2023/12/19 02:16:44 - parent_pipeline - Executing this pipeline using the 
Local Pipeline Engine with run configuration 'local'
   2023/12/19 02:16:44 - parent_pipeline - Execution started for pipeline 
[parent_pipeline]
   2023/12/19 02:16:44 - start.0 - Finished processing (I=0, O=0, R=0, W=1, 
U=0, E=0)
   2023/12/19 02:16:44 - sub_pipeline_1 - Executing this pipeline using the 
Local Pipeline Engine with run configuration 'local'
   2023/12/19 02:16:44 - sub_pipeline_1 - Execution started for pipeline 
[sub_pipeline_1]
   2023/12/19 02:16:44 - Generate rows.0 - Finished processing (I=0, O=0, R=0, 
W=10, U=0, E=0)
   2023/12/19 02:16:44 - Copy rows to result.0 - Finished processing (I=0, O=0, 
R=10, W=10, U=0, E=0)
   2023/12/19 02:16:44 - sub_pipeline_1 - Pipeline duration : 0.107 seconds [  
0.107" ]
   2023/12/19 02:16:44 - sub_pipeline_1 - Execution finished on a local 
pipeline engine with run configuration 'local'
   2023/12/19 02:16:44 - sub_pipeline_2 - Executing this pipeline using the 
Local Pipeline Engine with run configuration 'local'
   2023/12/19 02:16:44 - sub_pipeline_2 - Execution started for pipeline 
[sub_pipeline_2]
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - ERROR: Unexpected error
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - ERROR: 
org.apache.hop.core.exception.HopException: 
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - There was an unexpected error:
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - class java.lang.Class cannot be 
cast to class java.lang.reflect.ParameterizedType (java.lang.Class and 
java.lang.reflect.ParameterizedType are in module java.base of loader 
'bootstrap')
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - 
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - at 
org.apache.hop.pipeline.transforms.pipelineexecutor.PipelineExecutor.processRow(PipelineExecutor.java:158)
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - at 
org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:55)
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - at 
java.base/java.lang.Thread.run(Thread.java:829)
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - Caused by: 
java.lang.ClassCastException: class java.lang.Class cannot be cast to class 
java.lang.reflect.ParameterizedType (java.lang.Class and 
java.lang.reflect.ParameterizedType are in module java.base of loader 
'bootstrap')
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - at 
org.apache.hop.pipeline.transform.BaseTransformMeta.createTransformData(BaseTransformMeta.java:131)
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - at 
org.apache.hop.pipeline.Pipeline.prepareExecution(Pipeline.java:823)
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - at 
org.apache.hop.pipeline.engines.local.LocalPipelineEngine.prepareExecution(LocalPipelineEngine.java:236)
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - at 
org.apache.hop.pipeline.transforms.pipelineexecutor.PipelineExecutor.executePipeline(PipelineExecutor.java:254)
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - at 
org.apache.hop.pipeline.transforms.pipelineexecutor.PipelineExecutor.processRow(PipelineExecutor.java:152)
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - ... 2 more
   2023/12/19 02:16:44 - sub_pipeline_2.hpl.0 - Finished processing (I=0, O=0, 
R=1, W=0, U=0, E=1)
   2023/12/19 02:16:44 - parent_pipeline - Pipeline detected one or more 
transforms with errors.
   2023/12/19 02:16:44 - parent_pipeline - Pipeline is killing the other 
transforms!
   2023/12/19 02:16:44 - sub_pipeline_1.hpl.0 - Finished processing (I=0, O=0, 
R=1, W=10, U=0, E=0)
   2023/12/19 02:16:44 - parent_pipeline - Pipeline duration : 0.465 seconds [  
0.465" ]
   2023/12/19 02:16:44 - parent_pipeline - Execution finished on a local 
pipeline engine with run configuration 'local'
   ```
   
   An exactly analogous setup in Spoon (General Availability Release - 
9.4.0.0-343) throws no errors. I've attached a compressed .zip file of the 
example: