Affects Version/s: None
Fix Version/s: None
There is a limitation on action name lengths and the limit for that is too low:
private static final int MAX_NODE_NAME_LEN = 50; // 
You can easily hit that limit if the action names are auto generated and a bit verbose to have them meaningful names (for visual checking/debugging the resulting workflow.xml).
There are two workarounds:
i) hash the generated names (will make them obscure for human eyes)
ii) substring the actual name until 35-40 chars and append a random string for the remaining 10 chars (that's what we're doing-- but still not very convenient)
The limit can still be there but it will be really nice to have either:
- Increase to something like 200 – or even higher
- The limit can be converted into an overridable configuration section, which will solve the problem completely for the users.
Also I think such limits need to be checked with the `oozie validate` command as well as such xmls shouldn't pass as valid if there is a limitation.