[ https://issues.apache.org/jira/browse/HBASE-17574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15855281#comment-15855281 ]
Hadoop QA commented on HBASE-17574: ----------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 22s {color} | {color:blue} Docker mode activated. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s {color} | {color:green} The patch does not contain any @author tags. {color} | | {color:red}-1{color} | {color:red} test4tests {color} | {color:red} 0m 0s {color} | {color:red} The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 3m 42s {color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 56s {color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 15s {color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 12s {color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 58s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 2s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 2s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 15s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s {color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} xml {color} | {color:green} 0m 1s {color} | {color:green} The patch has no ill-formed XML file. {color} | | {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 29m 12s {color} | {color:green} Patch does not cause any errors with Hadoop 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7.1 2.7.2 2.7.3 or 3.0.0-alpha2. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 12s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} unit {color} | {color:green} 3m 50s {color} | {color:green} hbase-spark in the patch passed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 7s {color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 41m 17s {color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=1.12.6 Server=1.12.6 Image:yetus/hbase:8d52d23 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12851279/HBase-17574-V2.patch | | JIRA Issue | HBASE-17574 | | Optional Tests | asflicense javac javadoc unit xml compile | | uname | Linux 90a4d5923ab3 3.13.0-100-generic #147-Ubuntu SMP Tue Oct 18 16:48:51 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build@2/component/dev-support/hbase-personality.sh | | git revision | master / 9a78d00 | | Default Java | 1.8.0_121 | | Test Results | https://builds.apache.org/job/PreCommit-HBASE-Build/5604/testReport/ | | modules | C: hbase-spark U: hbase-spark | | Console output | https://builds.apache.org/job/PreCommit-HBASE-Build/5604/console | | Powered by | Apache Yetus 0.3.0 http://yetus.apache.org | This message was automatically generated. > Clean up how to run tests under hbase-spark module > --------------------------------------------------- > > Key: HBASE-17574 > URL: https://issues.apache.org/jira/browse/HBASE-17574 > Project: HBase > Issue Type: Bug > Components: spark > Affects Versions: 2.0.0 > Reporter: Yi Liang > Assignee: Yi Liang > Fix For: 2.0.0 > > Attachments: HBase-17574-V1.patch, HBase-17574-V2.patch > > > In master brunch, the test of hbase-spark module needs clean-up. > I think we need to let hbase-spark follow the rules that exist in the whole > hbase project > 1. In hbase-spark, all the scala test cases are regarded as integration test, > i.e. we need to go to hbase-spark folder to use mvn verify to run the test > case. I think these tests had better to be regard as unit test for the > following reasons: > (1) All the scala test are very small, most of them can be finished within > 20s. > (2) Integration test usually put into hbase-it module, not in its own module. > (3) Hadoop QA could not run those scala test in hbase-spark, I guess Hadoop > QA will only run mvn test under root dir, however hbase-spark need mvn verify. > (4) From its pom.xml below, you can see that, both > <phase>integration-test</phase> and <phase>test</phase> point to same > <goal>test</goal>. From MVN reference, > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Built-in_Lifecycle_Bindings, > we know that if a goal is bound to one or more build phases, that goal will > be called in all those phases. it means that mvn test and mvn > integration-test will do same thing, however <skipTests>true</skipTests> in > test phase just disable the mvn test command. It is uncommon to have define > like that. > {code} > <executions> > <execution> > <id>test</id> > <phase>test</phase> > <goals> > <goal>test</goal> > </goals> > <configuration> > <skipTests>true</skipTests> > </configuration> > </execution> > <execution> > <id>integration-test</id> > <phase>integration-test</phase> > <goals> > <goal>test</goal> > </goals> > <configuration> > <tagsToExclude>Integration-Test</tagsToExclude> > <argLine> > -Xmx1536m -XX:MaxPermSize=512m > -XX:ReservedCodeCacheSize=512m > </argLine> > <parallel>false</parallel> > </configuration> > </execution> > </executions> > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)