kyuubi/externals
hezhao2 da4af2aee7 [KYUUBI #5045] Initialize EXECUTOR_POD_NAME_PREFIX_MAX_LENGTH before using
### _Why are the changes needed?_
I came cross an issue that is the the value of EXECUTOR_POD_NAME_PREFIX_MAX_LENGTH is 0 when the param is accessed in generateExecutorPodNamePrefixForK8s method.

I tried to move the EXECUTOR_POD_NAME_PREFIX_MAX_LENGTH ahead of generateExecutorPodNamePrefixForK8s method. Then, I found this issue was gone.

So is it necessary to declare the EXECUTOR_POD_NAME_PREFIX_MAX_LENGTH variable before the method definition?

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request

Closes #5045 from zhaohehuhu/Improvement.

Closes #5045

c74732f0c [hezhao2] recover the blank line
99aa14b0c [hezhao2] fix the code style
29929a2cb [hezhao2]  declare EXECUTOR_POD_NAME_PREFIX_MAX_LENGTH param before generateExecutorPodNamePrefixForK8s method

Authored-by: hezhao2 <hezhao2@cisco.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2023-07-13 12:09:41 +08:00
..
kyuubi-chat-engine [KYUUBI #4949] For operation getNextRowSet method, with operation lock required 2023-06-12 13:31:36 +08:00
kyuubi-download [KYUUBI #4348] [INFRA] Cache engine archives in CI jobs for maven download plugin 2023-02-18 22:34:02 +08:00
kyuubi-flink-sql-engine [KYUUBI #4938][FLINK] Implement Kyuubi UDF in Flink engine 2023-07-10 12:29:55 +08:00
kyuubi-hive-sql-engine [KYUUBI #4949] For operation getNextRowSet method, with operation lock required 2023-06-12 13:31:36 +08:00
kyuubi-jdbc-engine [KYUUBI #4881] JDBCEngine performs initialization sql 2023-06-12 21:41:49 +08:00
kyuubi-spark-sql-engine [KYUUBI #5045] Initialize EXECUTOR_POD_NAME_PREFIX_MAX_LENGTH before using 2023-07-13 12:09:41 +08:00
kyuubi-trino-engine [KYUUBI #4959] [MINOR] Code improvements for Scala 2023-06-16 21:20:17 +08:00