Best way to set hop variables #6555
Unanswered
EricTonissen
asked this question in
Q&A
Replies: 1 comment 11 replies
-
|
You can set variables on (at least) the hop, project and environment levels. Both the "where I needed this variable" and "didn't work" in your question don't give us very much to work with. Can you be more specific about where you need this variable and in what sense it didn't work? |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Within Pentaho I use .kettle/kettle.properties to set the : carte_server_name=etl01-kettle01. This way I could use ${carte_server_name} where I needed this variable. ChatGPT told me that HOP have some similar possibility to set this variable.
First tried .hop/hop.properties and second was within the json config file belonging to the --project parameter.
But both ways didn't work.
How can I solve this?
Btw I have some extra variables defined in here, so the "name" from the hop-server xml file is not enough
Beta Was this translation helpful? Give feedback.
All reactions