[
https://issues.apache.org/jira/browse/AMBARI-14394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15061418#comment-15061418
]
Hudson commented on AMBARI-14394:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #4055 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4055/])
AMBARI-14394. Add ability to restart all host components with (swagle:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4fb0f6ec07b4e4df40bdfd63e26cb240305a8715])
*
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/PredicateBuilder.java
*
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
*
ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProviderTest.java
*
ambari-server/src/test/java/org/apache/ambari/server/api/predicate/QueryLexerTest.java
*
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RequestResourceProviderTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestResourceProvider.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java
> Add ability to restart all host components with stale_configs=true with one
> API request
> ---------------------------------------------------------------------------------------
>
> Key: AMBARI-14394
> URL: https://issues.apache.org/jira/browse/AMBARI-14394
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server
> Affects Versions: 2.0.0
> Reporter: Siddharth Wagle
> Assignee: Siddharth Wagle
> Priority: Critical
> Fix For: 2.4.0
>
> Attachments: AMBARI-14394.patch
>
>
> Provide ability to filter host components using a predicate that allows bulk
> ops like RESTART of stale configs with a simple API call.
> Example:
> {code}
> {
> "RequestInfo": {
> "context": "Restart stale",
> "operational_level": "host_component",
> "command": "RESTART"
> },
> "Requests/resource_filters": [
> {
> "hosts_predicate": "HostRoles/stale_configs=true"
> }
> ]
> }
> {code}
> This API call should allow user to perform custom command restart on all host
> components with stale configurations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)