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

   ### Apache Hop version?
   
   hop - 2.12.0
   
   ### Java version?
   
   java version "23.0.2" 2025-01-21
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   When using the Doris Bulk Loader component in Apache Hop, the transform 
fails if a variable is used in the configuration.
   I tried using metadata injection but variable and source field are not 
replaced to.
   
   Example:
   
   <img width="838" height="619" alt="Image" 
src="https://github.com/user-attachments/assets/e4875db5-7627-4451-a8ce-68c52b697f5e";
 />
   
   http://${test}:8040/api/stats/table/_stream_load
   
   Error : 
   2025/07/10 15:02:34 - Doris bulk loader 3.0 - ERROR: Because of an error, 
this transform can't continuejava.lang.IllegalArgumentException: Illegal 
character in authority at index 8: 
http://${test}:8040/api/stats/table/_stream_load
   2025/07/10 15:02:34 - Doris bulk loader 3.0 - ERROR: 
org.apache.hop.pipeline.transforms.dorisbulkloader.DorisStreamLoadException: 
java.lang.IllegalArgumentException: Illegal character in authority at index 8: 
http://${test}:8040/api/stats/table/_stream_load
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
org.apache.hop.pipeline.transforms.dorisbulkloader.DorisBulkLoader.processStreamLoad(DorisBulkLoader.java:180)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
org.apache.hop.pipeline.transforms.dorisbulkloader.DorisBulkLoader.processRow(DorisBulkLoader.java:58)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:54)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
java.base/java.lang.Thread.run(Thread.java:1575)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 - Caused by: 
java.lang.IllegalArgumentException: Illegal character in authority at index 8: 
http://${test}:8040/api/stats/table/_stream_load
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
java.base/java.net.URI.create(URI.java:932)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
org.apache.http.client.methods.HttpPut.<init>(HttpPut.java:65)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
org.apache.hop.pipeline.transforms.dorisbulkloader.DorisStreamLoad.executeDorisStreamLoad(DorisStreamLoad.java:157)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
org.apache.hop.pipeline.transforms.dorisbulkloader.DorisBulkLoader.processStreamLoad(DorisBulkLoader.java:135)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        ... 3 more
   2025/07/10 15:02:34 - Doris bulk loader 3.0 - Caused by: 
java.net.URISyntaxException: Illegal character in authority at index 8: 
http://${test}:8040/api/stats/table/_stream_load
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
java.base/java.net.URI$Parser.fail(URI.java:2995)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
java.base/java.net.URI$Parser.parseAuthority(URI.java:3344)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
java.base/java.net.URI$Parser.parseHierarchical(URI.java:3240)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
java.base/java.net.URI$Parser.parse(URI.java:3196)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
java.base/java.net.URI.<init>(URI.java:645)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        at 
java.base/java.net.URI.create(URI.java:930)
   2025/07/10 15:02:34 - Doris bulk loader 3.0 -        ... 6 more
   2025/07/10 15:02:34 - Doris bulk loader 3.0 - Finished processing (I=0, 
O=15, R=15, W=15, U=0, E=1)
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Transforms


-- 
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: issues-unsubscr...@hop.apache.org.apache.org

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

Reply via email to