You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "CarlosJuncher03 (via GitHub)" <gi...@apache.org> on 2026/08/17 15:16:02 UTC

[I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

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

   ### What would you like to happen?
   
   When developing or testing pipelines that process large volumes of data, the pipeline execution can consume enough CPU or memory to make Hop GUI slow or temporarily unresponsive. This affects the development experience because the user may lose the ability to monitor metrics, inspect data, review logs, or stop the execution safely.
   
   A common workaround is to configure a separate Hop Server and use the Remote Pipeline Engine. Although this protects the Hop GUI process, it requires the user to install, configure, start, and maintain a separate runtime. It also makes the development and data-inspection experience less direct than local execution.
   
   It would be valuable to have an optional isolated execution mode managed directly by Hop GUI. From the user’s perspective, Hop could prepare an isolated runtime when the pipeline starts, execute the pipeline outside the Hop GUI process, and continue presenting logs, metrics, execution status, and bounded data samples through the existing interface.
   
   The isolated runtime could also support configurable resource boundaries, such as maximum memory, CPU usage, concurrent executions, and an idle timeout. The specific implementation—separate JVM, container, or another mechanism—could remain open for discussion by the community.
   
   This capability would:
   
   Keep Hop GUI responsive during heavy executions.
   Protect the development environment from pipelines with excessive resource consumption.
   Reduce the operational work required to configure a separate Hop Server only for development.
   Preserve a consistent experience for running, monitoring, stopping, and inspecting pipelines.
   Provide an intermediate option between local in-process execution and a manually managed remote cluster.
   
   The intention is not to replace Hop Server or distributed execution engines, but to make isolated execution more accessible for development and testing directly from Hop GUI.
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Infrastructure


-- 
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-unsubscribe@hop.apache.org.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5324664519

   Neither do I, a hop run command or the gui targeting a hop server is already sending over everything that is needed


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva closed issue #7991: [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime
URL: https://github.com/apache/hop/issues/7991


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "CarlosJuncher03 (via GitHub)" <gi...@apache.org>.
CarlosJuncher03 commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5318096428

   I see. In this case, it would indeed be in the same JVM, since I usually start the server on my own machine—specifically, I launch it by passing the IP, port, project, and environment via the command line.


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "CarlosJuncher03 (via GitHub)" <gi...@apache.org>.
CarlosJuncher03 commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5327914918

   I apologize if I didn't explain the idea well before. Also, sometimes the translation makes the explanation a little difficult.
   
   In my previous comment, I was trying to separate the proposal into two different situations.
   
   The first is the simplest and relates only to the integration between Hop GUI and an existing Hop Server.
   
   Today, for example, I might have a project that uses environment variables and also files or other dependencies located within the project's own structure. For this project to run correctly on a Hop Server, the server needs to start execution using the correct project and environment.
   
   If the Hop Server infrastructure is already prepared and already has access to the project, environments, and other dependencies, it wouldn't be necessary for Hop GUI to send all these files again.
   
   The idea, in this first scenario, would be simply to allow the Hop GUI, when requesting remote execution, to also inform the Hop Server of something equivalent to:
   
   project = X
   environment = Y
   
   Thus, the Hop Server would use the project and environment already available on that server to execute the pipeline or workflow with all the necessary context.
   
   Currently, I can prepare this context manually on the server. What I would like is for this selection to be part of the remote execution initiated by the Hop GUI itself.
   
   The second situation is different and would be an additional functionality related to Kubernetes.
   
   In this case, it would be interesting if a Run Configuration could use a pre-configured integration with Kubernetes to create an ephemeral pod for that execution.
   
   The flow would be approximately:
   
   The Hop GUI requests the execution of a pipeline or workflow.
   
   The configuration informs the image to be used and the project/environment of the execution.
   
   Kubernetes creates a temporary pod.
   
   The pipeline or workflow is executed within this pod.
   
   The Hop GUI monitors the execution, including status and logs.
   
   Upon completion, the pod is terminated/removed.
   
   The infrastructure would remain responsible for providing the necessary resources to the pod, such as project, environment files, plugins, drivers, secrets, PVCs, or other resources.
   
   The goal of this second scenario would be to allow me, during development, to validate a pipeline with real or representative data in an environment similar to production, but still initiate and monitor this execution directly through the Hop interface.
   
   Therefore, these are really two proposals at different levels:
   
   first, improve the existing remote execution between Hop GUI and Hop Server, allowing the project and environment to be specified;
   
   then, eventually allow one of


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "CarlosJuncher03 (via GitHub)" <gi...@apache.org>.
CarlosJuncher03 commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5319031216

   Thank you. I agree that starting another JVM or container on the same machine would not create additional capacity and, without resource limits, could make contention worse.
   
   Pipeline unit tests are the appropriate solution for validating logic with small datasets. My concern is a different stage: sometimes we need to run a pipeline with a representative data volume to evaluate throughput, memory consumption, database batching, data skew, and other bottlenecks that may not appear in a unit test.
   
   In those cases, executing inside the Hop GUI JVM can make the interface unresponsive, preventing the user from monitoring or safely stopping the execution. A separate process would not make the pipeline faster, but it could provide failure and resource isolation. For example, its heap could be capped independently, while CPU limits could be applied through a container or the operating system, leaving enough resources for the GUI.
   
   If creating another engine would only reproduce the Remote Pipeline Engine, perhaps the request could be narrowed to a GUI-managed local remote runtime: start a local Hop Server process on demand, automatically provide the active project and environment, use the existing remote engine for execution and monitoring, and clean up the process afterward.


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "CarlosJuncher03 (via GitHub)" <gi...@apache.org>.
CarlosJuncher03 commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5318129315

   That’s actually a valid point; I was looking into ways to horizontally cluster a specific stage within the hop—I even opened a task to discuss it. However, since I rely heavily on ETL metadata in my processes and work across multiple environments, I always have to pass the full process via the command line. It would be great if that could be loaded automatically as part of the command that sends the pipeline to the server—or does that not make sense?


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "mattcasters (via GitHub)" <gi...@apache.org>.
mattcasters commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5318368797

   Starting a new VM/container on the same machine would still bog down the machine you're working on, make things worse actually. 
   The bigger the data volumes you need to process, the more important it is to work with pipeline unit tests with smaller input data sets. If the test passes, only then go for the real deal.  


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "CarlosJuncher03 (via GitHub)" <gi...@apache.org>.
CarlosJuncher03 commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5322877938

   Yes, I agree with your point. On second thought, I realized my original idea was trying to solve too many things within Hop itself.
   
   A simpler approach would probably make more sense.
   
   Instead of Hop creating and managing the entire isolated execution environment, I believe the main requirement could simply be extending the existing remote execution mechanism so that the project and environment context are also sent to the remote runtime.
   
   The Remote Pipeline Engine already handles sending and executing the pipeline on a Hop Server. What I envision is allowing this remote execution to explicitly use the selected project and environment, similar to how this can already be specified when starting `hop-run` or `hop-server`.
   
   The remote runtime would remain responsible for accessing the project and its dependencies. How that project is made available—Git, PVC, shared filesystem, container image, CI/CD, etc.—would remain outside Hop's scope.
   
   Thus, the basic workflow would remain:
   
   select the remote destination;
   specify the project/environment context;
   execute a pipeline or workflow remotely;
   monitor status and logs via the Hop GUI.
   
   As a possible evolution of this idea, it would also be interesting to have a Run Configuration capable of launching an ephemeral runtime from a pre-defined container image.
   
   For example, a configuration could specify the Docker image and the project/environment parameters, and Hop could launch this runtime as a Docker container or as a Kubernetes Pod/Job.
   
   In this case, the infrastructure would still be responsible for making the project, configurations, secrets, drivers, and other dependencies available to that container.
   
   I would view this as a second layer of functionality, rather than a requirement for solving the simpler aspect of remote execution.
   
   I also believe this idea could be evaluated in conjunction with activity #7992.


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "mattcasters (via GitHub)" <gi...@apache.org>.
mattcasters commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5324616355

   Sorry my friend but I don't understand what you wrote.


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5328000115

   When you run something on a remote server with the "export linked resources" option turned on the environment variables should be included now. This has been fixed in 2.19


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "CarlosJuncher03 (via GitHub)" <gi...@apache.org>.
CarlosJuncher03 commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5348714280

   Man, I finally figured out how it works. It took me a while to set that part up. Thanks—you can close the ticket. I had to adjust the source and destination paths for the export. Sorry for the trouble. Between the load balancing adjustment and this fix, the dynamic hop-server idea actually worked out. Thanks again, and sorry for the difficulty in communicating the idea in this ticket.


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5318070828

   It's one or the other... inside the same JVM or a separate process (hop server). Can't have both. Well we could have but it would require creating another engine type which would give you the same experience as hop server


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5319655742

   Wouldn't it be best to run that stage, sounding like user acceptance testing on a server via command line and use server monitoring to see how much resources is being used? 


-- 
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-unsubscribe@hop.apache.org

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


Re: [I] [Feature Request]: Allow Hop GUI to run resource-intensive pipelines in a managed isolated runtime (hop)

Posted by "CarlosJuncher03 (via GitHub)" <gi...@apache.org>.
CarlosJuncher03 commented on issue #7991:
URL: https://github.com/apache/hop/issues/7991#issuecomment-5332977938

   I tested this option and even tried out the version made available via the pull request at https://github.com/apache/hop/issues/7992; I encountered only one situation that would require further analysis. I have a question regarding the "export linked reference folder" option: would it be possible to create a feature in Apache Hop that allows specifying the inclusion of specific files? For example, in a pipeline I tested, I use ETL metadata in a step and need to export the associated JSON file or other metadata files—is there a way to add this capability?


-- 
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-unsubscribe@hop.apache.org

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