Sumit Mohanty created AMBARI-1685:
-------------------------------------

             Summary: Remove running of smoke tests by default when services or 
master components are started
                 Key: AMBARI-1685
                 URL: https://issues.apache.org/jira/browse/AMBARI-1685
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 1.3.0
            Reporter: Sumit Mohanty
            Assignee: Sumit Mohanty
             Fix For: 1.3.0


Introduce a query parameter to control if smoke tests need to be run.

E.g.
curl -i -X PUT -d '{"ServiceInfo": {"state" : "STARTED"}}' 
http://localhost:8080/api/v1/clusters/c1/services/HDFS?params/run_smoke_test=true

In current architecture all query parameters are parsed and stored as 
predicates. Query parameters must consist of two parts at least. So we can't 
call query parameter just run_smoke_test, such a parameter will be refused. For 
"run smoke test" flag the full parameter name is "params/run_smoke_test".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to