-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixing dls/fls logic around numeric aggregations #789
Conversation
Signed-off-by: Kaituo Li <[email protected]>
Weird that it says it can't get the zip for job scheduler but even the link in the error message works fine to download job-scheduler-1.3.8.0 |
Indeed. |
user = jobParameter.getUser().getName(); | ||
roles = jobParameter.getUser().getRoles(); | ||
} | ||
User userInfo = SecurityUtil.getUserFromJob(jobParameter, settings); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this ready user information stored in AD job? I think we have no way to get user information from security plugin. Just asking to learn more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it is from AD job.
import org.opensearch.ad.util.DiscoveryNodeFilterer; | ||
import org.opensearch.ad.util.IndexUtils; | ||
import org.opensearch.ad.util.Throttler; | ||
import org.opensearch.ad.util.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: should we avoid using import *?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, will fix in other PRs since 1.3.8 is due today.
Signed-off-by: Kaituo Li [email protected]
Issues Resolved
#788
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.