[jira] [Created] (YUNIKORN-2658) add nolint:funlen to long functions to supress the lint warnings

2024-05-31 Thread Chia-Ping Tsai (Jira)
Chia-Ping Tsai created YUNIKORN-2658:


 Summary: add nolint:funlen to long functions to supress the lint 
warnings
 Key: YUNIKORN-2658
 URL: https://issues.apache.org/jira/browse/YUNIKORN-2658
 Project: Apache YuniKorn
  Issue Type: Sub-task
Reporter: Chia-Ping Tsai


as title



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org



[jira] [Resolved] (YUNIKORN-2649) Improve CalculateAbsUsedCapacity & CompUsageRatio funtion's test coverage in resources.go

2024-05-31 Thread Peter Bacsko (Jira)


 [ 
https://issues.apache.org/jira/browse/YUNIKORN-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Bacsko resolved YUNIKORN-2649.

Fix Version/s: 1.6.0
   Resolution: Fixed

> Improve CalculateAbsUsedCapacity & CompUsageRatio funtion's test coverage in 
> resources.go
> -
>
> Key: YUNIKORN-2649
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2649
> Project: Apache YuniKorn
>  Issue Type: Test
>  Components: core - common
>Reporter: JunHong Peng
>Assignee: JunHong Peng
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org



[jira] [Resolved] (YUNIKORN-2581) Expose running placement rules in REST

2024-05-31 Thread Peter Bacsko (Jira)


 [ 
https://issues.apache.org/jira/browse/YUNIKORN-2581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Bacsko resolved YUNIKORN-2581.

Fix Version/s: 1.6.0
   Resolution: Fixed

Merged to master.

> Expose running placement rules in REST
> --
>
> Key: YUNIKORN-2581
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2581
> Project: Apache YuniKorn
>  Issue Type: New Feature
>  Components: core - common
>Reporter: Wilfred Spiegelenburg
>Assignee: Wilfred Spiegelenburg
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> Since introducing the use of placement rules always and the recovery rule the 
> queue config does not correctly show the running rules.
> Also if a config update has been rejected, for any reason, the rules would 
> not be correct
> Exposing the configured rules from the placement manager works around all 
> these issues.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org



[jira] [Created] (YUNIKORN-2657) Validate queue generated as part of the placement rules

2024-05-31 Thread Manikandan R (Jira)
Manikandan R created YUNIKORN-2657:
--

 Summary: Validate queue generated as part of the placement rules
 Key: YUNIKORN-2657
 URL: https://issues.apache.org/jira/browse/YUNIKORN-2657
 Project: Apache YuniKorn
  Issue Type: Sub-task
  Components: core - common
Reporter: Manikandan R






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org



[jira] [Created] (YUNIKORN-2656) Validate user name

2024-05-31 Thread Manikandan R (Jira)
Manikandan R created YUNIKORN-2656:
--

 Summary:  Validate user name
 Key: YUNIKORN-2656
 URL: https://issues.apache.org/jira/browse/YUNIKORN-2656
 Project: Apache YuniKorn
  Issue Type: Sub-task
  Components: core - common
Reporter: Manikandan R






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org



[jira] [Created] (YUNIKORN-2655) Cleanup REST API documentation

2024-05-31 Thread Wilfred Spiegelenburg (Jira)
Wilfred Spiegelenburg created YUNIKORN-2655:
---

 Summary: Cleanup REST API documentation
 Key: YUNIKORN-2655
 URL: https://issues.apache.org/jira/browse/YUNIKORN-2655
 Project: Apache YuniKorn
  Issue Type: Task
  Components: documentation
Reporter: Wilfred Spiegelenburg


The REST API documentation is not up to date with the current behaviour as it 
does not show any 400 or 404 errors returned by a number of API calls.

The error response only shows a 500 code with the same message for each call.

We should move to a simple list for each call showing the applicable errors 
like this:
{code:java}
### Error responses

**Code** : `400 Bad Request` (URL query is invalid, missing partition name)

**Code** : `404 Not Found` (Partition not found)

**Code** : `500 Internal Server Error` {code}
Remove the error examples as they do not add any detail required



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org



[jira] [Resolved] (YUNIKORN-2646) Deadlock detected during preemption

2024-05-31 Thread Peter Bacsko (Jira)


 [ 
https://issues.apache.org/jira/browse/YUNIKORN-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Bacsko resolved YUNIKORN-2646.

Fix Version/s: 1.6.0
   1.5.2
   Resolution: Fixed

> Deadlock detected during preemption
> ---
>
> Key: YUNIKORN-2646
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2646
> Project: Apache YuniKorn
>  Issue Type: Bug
>  Components: core - scheduler
>Reporter: Dmitry
>Assignee: Wilfred Spiegelenburg
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.6.0, 1.5.2
>
> Attachments: yunikorn-logs-lock.txt.gz
>
>
> Hitting deadlocks in 1.5.1
> The log is attached



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org



[jira] [Resolved] (YUNIKORN-2542) Consistent logging and tracker handling for increment/decrement

2024-05-31 Thread Peter Bacsko (Jira)


 [ 
https://issues.apache.org/jira/browse/YUNIKORN-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Bacsko resolved YUNIKORN-2542.

Fix Version/s: 1.6.0
   Resolution: Fixed

Merged to master. Thanks [~Tseng Hsi-Huang] for the contribution.

> Consistent logging and tracker handling for increment/decrement
> ---
>
> Key: YUNIKORN-2542
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2542
> Project: Apache YuniKorn
>  Issue Type: Sub-task
>  Components: core - scheduler
>Reporter: Peter Bacsko
>Assignee: Tseng Hsi-Huang
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> We log DEBUG output and use {{GroupTracker}} inconsistently in {{Manager}} 
> and in {{UserTracker}}.
> Eg.
> {{Manager.IncreaseTrackedResource()}}: only a single log output with DEBUG 
> level
> {{Manager.DecreaseTrackedResource()}}: multiple log statements, also handles 
> the group tracker which is not the case with increments
> This also affects {{UserTracker}} - logs handling are different 
> in {{increaseTrackedResource()}}/{{decreaseTrackedResource()}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org