[ 
https://issues.apache.org/jira/browse/AMBARI-16864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322934#comment-15322934
 ] 

Jayush Luniya commented on AMBARI-16864:
----------------------------------------

[~jerryshao]
1. You can refer 
https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development for 
running unit tests locally. Since you are adding only python unit tests run 
"mvn clean test -DskipSurefireTests" to skip JAVA unit tests. 
2. You can use 
ambari-server/src/test/python/stacks/2.3/configs/spark_default.json as a 
reference and create a spark2_default.json under 
ambari-server/src/test/python/stacks/2.5/configs. Then add your unit tests in 
ambari-server/src/test/python/stacks/2.5/SPARK2. See 
ambari-server/src/test/python/stacks/2.3/SPARK/test_spark_thrift_server.py and 
ambari-server/src/test/python/stacks/2.2/SPARK as reference.


> Add unit tests for Spark2 service definition
> --------------------------------------------
>
>                 Key: AMBARI-16864
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16864
>             Project: Ambari
>          Issue Type: New Feature
>          Components: stacks
>    Affects Versions: 2.4.0
>            Reporter: Jayush Luniya
>            Assignee: Saisai Shao
>             Fix For: 2.4.0
>
>
> Propose to add Spark2 in Ambari as a standalone service in parallel with 
> Spark1.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to