kyuubi/bin
Fei Wang a7d190dd7b [KYUUBI #3045] Support to do admin rest request with kyuubi-adminctl
### _Why are the changes needed?_

Close #3045

Introduce kyuubi-adminctl for admin control.

```
Usage: kyuubi-adminctl [refresh] [options]

  -v, --version <value>    Using the compiled KYUUBI_VERSION default, change it if the active service is running in another.
  -b, --verbose            Print additional debug output.
  --hostUrl <value>        Host url for rest api.
  --authSchema <value>     Auth schema for rest api, valid values are basic, spnego.
  --username <value>       Username for basic authentication.
  --password <value>       Password for basic authentication.
  --spnegoHost <value>     Spnego host for spnego authentication.
  --conf <value>           Kyuubi config property pair, formatted key=value.

Command: refresh [config] <args>...
        Refresh the resource.
Command: refresh config [<configType>]
        Refresh the config with specified type.
  <configType>             The valid config type can be one of the following: hadoopConf.

  -h, --help               Show help message and exit.
```

Now support `kyuubi-adminctl refresh config hadoopConf` to reload hadoop conf.

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

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #3057 from turboFei/kyuubi_admin_ctl.

Closes #3045

b6b46f3a [Fei Wang] refactor the info render
d3b600f2 [Fei Wang] add toString
234ae84c [Fei Wang] fix ut
7db818d0 [Fei Wang] save
e9e50a0f [Fei Wang] add ut
849edad8 [Fei Wang] add ut
c4d9b784 [Fei Wang] fix ut
1c8d7c9b [Fei Wang] add kyuubi-adminctl
8b1921ae [Fei Wang] save
155f57af [Fei Wang] saev
2ca8b665 [Fei Wang] save
5ad40cea [Fei Wang] save
bb2e1178 [Fei Wang] add refresh config

Authored-by: Fei Wang <fwang12@ebay.com>
Signed-off-by: Fei Wang <fwang12@ebay.com>
2022-07-13 20:30:39 +08:00
..
beeline [KYUUBI #2081] YARN_CONF_DIR shall be added to kyuubi server classpath as HADOOP_CONF_DIR 2022-03-10 15:03:11 +08:00
docker-image-tool.sh [KYUUBI #2471] Fix the bug of dynamically loading external packages 2022-05-12 16:57:02 +08:00
kyuubi [KYUUBI #2743] colorfully kyuubi logo support 2022-05-26 10:50:25 +08:00
kyuubi-adminctl [KYUUBI #3045] Support to do admin rest request with kyuubi-adminctl 2022-07-13 20:30:39 +08:00
kyuubi-ctl [KYUUBI #2628][SUB-TASK][KPIP-4] Implement kyuubi-ctl for batch job operation 2022-06-14 11:19:18 +08:00
kyuubi-logo [KYUUBI #2743] colorfully kyuubi logo support 2022-05-26 10:50:25 +08:00
kyuubi-zk-cli [KYUUBI #2081] YARN_CONF_DIR shall be added to kyuubi server classpath as HADOOP_CONF_DIR 2022-03-10 15:03:11 +08:00
load-kyuubi-env.sh [KYUUBI #3033][Bug] Kyuubi failed to start due to PID directory not exists 2022-07-11 02:03:54 +08:00
stop-application.sh [KYUUBI #1649] Determine the yarn command in stop-application.sh. 2021-12-30 11:01:54 +08:00