You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dlab.apache.org by GitBox <gi...@apache.org> on 2019/10/23 12:37:19 UTC

[GitHub] [incubator-dlab] bhliva commented on a change in pull request #355: [DLAB-1201] Fixed scheduler issue with token expiration

bhliva commented on a change in pull request #355: [DLAB-1201] Fixed scheduler issue with token expiration
URL: https://github.com/apache/incubator-dlab/pull/355#discussion_r338019379
 
 

 ##########
 File path: services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/SchedulerJobServiceImpl.java
 ##########
 @@ -266,7 +266,7 @@ private void terminateExploratory(SchedulerJobData job) {
 
 	private void startSpark(String user, String expName, String compName) {
 		log.debug("Starting exploratory {} computational {} for user {} by scheduler", expName, compName, user);
-		computationalService.startSparkCluster(securityService.getUserInfoOffline(user), expName, compName, "");
+		computationalService.startSparkCluster(securityService.getServiceAccountInfo(user), expName, compName, "");
 
 Review comment:
   Pls fix todo as well

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@dlab.apache.org
For additional commands, e-mail: dev-help@dlab.apache.org