jerqi commented on issue #1984: URL: https://github.com/apache/incubator-uniffle/issues/1984#issuecomment-2257553625
> ### Code of Conduct > * [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) > > ### Search before asking > * [x] I have searched in the [issues](https://github.com/apache/incubator-uniffle/issues?q=is%3Aissue) and found no similar issues. > > ### Describe the feature > We can let client send sparkConf to coordinator to show more context information about this application. > > ### Motivation > Insight and know what application are running and being served by RSS cluster. > > ### Describe the solution > 1. Create a util method like this. > > ```java > public static Map<String, String> sparkConfToMap(SparkConf sparkConf) { > Map<String, String> map = new HashMap<>(); > Tuple2<String, String>[] scalaMap = sparkConf.getAll(); > > java.util.Iterator<Tuple2<String, String>> it = > Arrays.stream(scalaMap).iterator(); > while (it.hasNext()) { > Tuple2<String, String> tuple = it.next(); > map.put(tuple._1(), tuple._2()); > } > > return map; > } > ``` > > 2. Extends the ApplicationInfoRequest > > ```proto > message ApplicationInfoRequest { > string appId = 1; > string user = 2; > // new added > map<string, string> properties = 3; > } > ``` > > 3. Other efforts related, finally display a column `conf` within application page. > > ### Additional context > _No response_ > > ### Are you willing to submit PR? > * [x] Yes I am willing to submit a PR! Application information should be displayed in the Spark history server. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
