incubator-streampark icon indicating copy to clipboard operation
incubator-streampark copied to clipboard

[Improve] Add user environment configuration script in conf directory

Open limc5462 opened this issue 3 months ago • 1 comments

What changes were proposed in this pull request

This PR introduces a user-environment configuration script in the conf directory. While streampark.sh attempts to load bin/setenv.sh, this file is not present by default. Placing this user-facing configuration in the conf/ directory aligns with the standard convention for configurable files. This provides a dedicated place for users to set custom environment variables (e.g., JAVA_HOME, HADOOP_HOME) that are specific to StreamPark without affecting the system-wide environment.

Brief change log

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts

  • Dependencies (does it add or upgrade a dependency): no

limc5462 avatar Sep 18 '25 14:09 limc5462