You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2012/11/07 00:42:12 UTC

[jira] [Created] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Sergey Shelukhin created HBASE-7109:
---------------------------------------

             Summary: integration tests on cluster are not getting picked up from distribution
                 Key: HBASE-7109
                 URL: https://issues.apache.org/jira/browse/HBASE-7109
             Project: HBase
          Issue Type: Sub-task
    Affects Versions: 0.96.0
            Reporter: Sergey Shelukhin
            Assignee: Sergey Shelukhin


The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502740#comment-13502740 ] 

Ted Yu commented on HBASE-7109:
-------------------------------

I logged HBASE-7209: Enhance dev-support/test-patch.sh with running test suite using 'mvn package'
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502475#comment-13502475 ] 

Hudson commented on HBASE-7109:
-------------------------------

Integrated in HBase-TRUNK #3557 (See [https://builds.apache.org/job/HBase-TRUNK/3557/])
    HBASE-7109 integration tests on cluster are not getting picked up from distribution (Revision 1412348)

     Result = FAILURE
stack : 
Files : 
* /hbase/trunk/hbase-common/src/test/java/org/apache/hadoop/hbase/ClassFinder.java
* /hbase/trunk/hbase-common/src/test/java/org/apache/hadoop/hbase/ClassTestFinder.java
* /hbase/trunk/hbase-common/src/test/java/org/apache/hadoop/hbase/HBaseCommonTestingUtility.java
* /hbase/trunk/hbase-common/src/test/java/org/apache/hadoop/hbase/TestClassFinder.java
* /hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestsDriver.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/TestCheckTestClasses.java

                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494567#comment-13494567 ] 

Hadoop QA commented on HBASE-7109:
----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12552934/HBASE-7109-v4-squashed.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 10 new or modified tests.

    {color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 2.0 profile.

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 87 warning messages.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:red}-1 findbugs{color}.  The patch appears to introduce 18 new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/3298//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3298//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3298//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3298//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3298//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3298//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3298//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/3298//console

This message is automatically generated.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502289#comment-13502289 ] 

stack commented on HBASE-7109:
------------------------------

bq. Do we need to consider tests that extend junit.framework.TestCase ?

No.  These should be deprecated.  As are HBaseTestCase. Rather, we should be working to get these tests out of our codebase.


                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504309#comment-13504309 ] 

Hadoop QA commented on HBASE-7109:
----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12554943/HBASE-7109-fix-v2.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 9 new or modified tests.

    {color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 2.0 profile.

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 96 warning messages.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:red}-1 findbugs{color}.  The patch appears to introduce 25 new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.io.TestHeapSize

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/3408//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3408//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3408//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3408//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3408//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3408//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3408//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3408//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/3408//console

This message is automatically generated.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-fix-v2.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501622#comment-13501622 ] 

Hadoop QA commented on HBASE-7109:
----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12554426/HBASE-7109-v5.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 13 new or modified tests.

    {color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 2.0 profile.

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 99 warning messages.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:red}-1 findbugs{color}.  The patch appears to introduce 24 new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
     

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/3381//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3381//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3381//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3381//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3381//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3381//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3381//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3381//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/3381//console

This message is automatically generated.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Attachment: HBASE-7109-v5.patch

Added tests... unfortunately I didn't realize when I started how tedious mucking with jar files and ClassLoader is... But now it's there :)
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Attachment: HBASE-7109-fix-v2.patch

Fixed the visibility; wrt conditionals - sure; C++ habit :)
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-fix-v2.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494477#comment-13494477 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

Split the lines, these and similar.
As for classes - there's javadoc on ClassFinder, plus its API is such that it cannot be used without explicitly making decisions on how to filter classes (due to ctor), so there should be no confusion.
ClassTestFinder only exists to contain the filters, initially ClassFinder was separate and filters separate (because they do separate things), but I encapsulated the filters into ClassTestFinder for convenience.

                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493560#comment-13493560 ] 

Ted Yu commented on HBASE-7109:
-------------------------------

{code}
+public class ClassFinder {
{code}
Please add annotation for audience and stability.
{code}
+  public List<Class<?>> findClasses(String packageName, boolean proceedOnExceptions)
{code}
The above method calls findTestClassesFromFiles() and findTestClassesFromJar(). This gives me impression that ClassFinder is already geared towards finding test classes.
Can ClassFinder and ClassTestFinder be merged ?
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504227#comment-13504227 ] 

Enis Soztutar commented on HBASE-7109:
--------------------------------------

bq. For future, we usually write this kinda thing 'null == this.resourcePathFilter', the other way round.
That's called Yoda Conditionals :)
http://www.codinghorror.com/blog/2012/07/new-programming-jargon.html
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504312#comment-13504312 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

test fails due to HBASE-7110
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-fix-v2.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502192#comment-13502192 ] 

Enis Soztutar commented on HBASE-7109:
--------------------------------------

{code}
+    URLClassLoader urlClassLoader = (URLClassLoader)ClassLoader.getSystemClassLoader();
+    Method method = URLClassLoader.class
+        .getDeclaredMethod("addURL", new Class[] { URL.class });
+    method.setAccessible(true);
+    method.invoke(urlClassLoader, new Object[] { jarFile.toURI().toURL() });
{code}
This part seems scary. Did you test it with JDK7? Can we do smt like use an already known class, which comes from a jar in the classpath anyway. For example, all the zookeeper classes should be coming from the zk jar, can we just search for the Zookeeper.class? wdyt? 
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Attachment: HBASE-7109-squashed.patch

Initial patch
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504222#comment-13504222 ] 

stack commented on HBASE-7109:
------------------------------

Why make below protected?

-  private static final Log LOG = LogFactory.getLog(ClassFinder.class);
+  protected static final Log LOG = LogFactory.getLog(ClassFinder.class);

So an Interface implementation has access?  Make its own logger instead?

For future, we usually write this kinda thing 'null == this.resourcePathFilter', the other way round.

Otherwise +1 on commit
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Attachment: HBASE-7109-v5.patch
    
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505006#comment-13505006 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

ping? thanks.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-fix-v2.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502439#comment-13502439 ] 

Hadoop QA commented on HBASE-7109:
----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12554567/HBASE-7109-v6.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 19 new or modified tests.

    {color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 2.0 profile.

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 99 warning messages.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:red}-1 findbugs{color}.  The patch appears to introduce 24 new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/3391//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3391//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3391//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3391//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3391//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3391//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3391//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3391//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/3391//console

This message is automatically generated.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501616#comment-13501616 ] 

Hadoop QA commented on HBASE-7109:
----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12554426/HBASE-7109-v5.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 13 new or modified tests.

    {color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 2.0 profile.

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 99 warning messages.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:red}-1 findbugs{color}.  The patch appears to introduce 24 new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/3380//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3380//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3380//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3380//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3380//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3380//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3380//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3380//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/3380//console

This message is automatically generated.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505723#comment-13505723 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

[~stack] [~enis] can you guys please take a look at the patch? it's separate from previous patches, should fix mvn package compat-tests-are-not-annotated failures
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-fix-v2.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Reopened] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin reopened HBASE-7109:
-------------------------------------


breaks mvn package
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501634#comment-13501634 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

The behavior is identical to previous code, I will revise tomorrow.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494357#comment-13494357 ] 

Hadoop QA commented on HBASE-7109:
----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12552891/HBASE-7109-v3-squashed.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 10 new or modified tests.

    {color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 2.0 profile.

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 87 warning messages.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:red}-1 findbugs{color}.  The patch appears to introduce 16 new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/3293//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3293//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3293//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3293//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3293//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3293//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3293//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/3293//console

This message is automatically generated.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505729#comment-13505729 ] 

stack commented on HBASE-7109:
------------------------------

[~sershe] So apply the fix2?  If so, I'll do it in a new issue.  Just let me know.  Patch looks good to me.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-fix-v2.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502257#comment-13502257 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

bq. Plus, all tests should only write data under target/. You can use
HBaseTestingUtility is in server project. I will move part of it under package and replace.
bq. This part seems scary.
The method is actually protected; thus it should be part of exposed interface, so it should be no scarier than deriving a custom ClassLoader in terms of potential breakage. Relying on existing classes from some dependency jar, esp. verifying what exactly we get from "find", seems brittle, and not all scenarios are possible.  
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492030#comment-13492030 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

testclassfinder is not a test, it's a finder of test classes... will rename to avoid confusion
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Attachment: HBASE-7109-v6.patch
    
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502177#comment-13502177 ] 

Enis Soztutar commented on HBASE-7109:
--------------------------------------

{code}
private static final String BASEPATH = "/tmp/testclassfinderjars/";
{code}
Please do not assume that we are on a *nix system. Plus, all tests should only write data under target/. You can use
{code}
HBaseTestingUtility.getDataTestDir("the_name_of_the_test") for getting a proper test dir for scratch.  
{code}
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505753#comment-13505753 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

Created HBASE-7229. I will probably also create separate JIRA for 0.94 port.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-fix-v2.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504210#comment-13504210 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

original patch breaks mvn package, as it finds compat tests in the jar and determines they have no annotation; that is due to there being no module path inside package; without path compat couldn't be filtered out.

The above test passed on local run...
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492054#comment-13492054 ] 

Hadoop QA commented on HBASE-7109:
----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12552378/HBASE-7109-squashed.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 10 new or modified tests.

    {color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 2.0 profile.

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 87 warning messages.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:red}-1 findbugs{color}.  The patch appears to introduce 15 new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/3242//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3242//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3242//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3242//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3242//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3242//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3242//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/3242//console

This message is automatically generated.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494417#comment-13494417 ] 

Ted Yu commented on HBASE-7109:
-------------------------------

{code}
+  private List<Class<?>> findClassesFromJar(String jarFileName, String packageName, boolean proceedOnExceptions)
{code}
The above line is too long (> 100 chars).
{code}
+        String className = packageName + '.' + fileName.substring(0, fileName.length() - ".class".length());
{code}
The above line is long. Consider introducing a constant for ".class".length() which appears in two places.

ClassFinder is in src/test. People would think that it is used to find test classes.
{code}
+public class ClassTestFinder extends ClassFinder {
{code}
ClassTestFinder is the class that gets instantiated in the patch. Is it possible to unify the two classes ?

                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492004#comment-13492004 ] 

Ted Yu commented on HBASE-7109:
-------------------------------

{code}
+  private Class<?> makeClass(String className, boolean optimistic)
{code}
optimistic is governing how exception is handled. Would failOnException be a better name ?
{code}
+
+public class TestClassFinder extends ClassFinder {
{code}
The above test is missing test category.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Elliott Clark (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503984#comment-13503984 ] 

Elliott Clark commented on HBASE-7109:
--------------------------------------

The compat modules don't depend on hbase-common so they don't have the annotations.  I was worried about getting the dependency graph too complex.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493568#comment-13493568 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

forgot to rename when splitting them :) will rename. These are different responsibilities, I think it's a good idea to split them.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Status: Patch Available  (was: Open)
    
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-7109:
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.96.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Committed to trunk.  I like how you refactored out the HBaseTestingUtility you needed up in hbase-common Sergey. I'm resolving this issue.  Make a 0.94 to backport it.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504281#comment-13504281 ] 

stack commented on HBASE-7109:
------------------------------

That is an excellent link Enis.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Attachment: HBASE-7109-v3-squashed.patch

renamed the methods
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Resolve comment: re-resolving since bug fix was moved to separate jira, and 0.94 port will be
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-fix-v2.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502479#comment-13502479 ] 

Hudson commented on HBASE-7109:
-------------------------------

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #269 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/269/])
    HBASE-7109 integration tests on cluster are not getting picked up from distribution (Revision 1412348)

     Result = FAILURE
stack : 
Files : 
* /hbase/trunk/hbase-common/src/test/java/org/apache/hadoop/hbase/ClassFinder.java
* /hbase/trunk/hbase-common/src/test/java/org/apache/hadoop/hbase/ClassTestFinder.java
* /hbase/trunk/hbase-common/src/test/java/org/apache/hadoop/hbase/HBaseCommonTestingUtility.java
* /hbase/trunk/hbase-common/src/test/java/org/apache/hadoop/hbase/TestClassFinder.java
* /hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestsDriver.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/TestCheckTestClasses.java

                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506304#comment-13506304 ] 

Hudson commented on HBASE-7109:
-------------------------------

Integrated in HBase-0.94 #606 (See [https://builds.apache.org/job/HBase-0.94/606/])
    HBASE-7230 port HBASE-7109 integration tests on cluster are not getting picked up from distribution to 0.94 (Revision 1415054)

     Result = SUCCESS
stack : 
Files : 
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/ClassFinder.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/ClassTestFinder.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/IntegrationTestsDriver.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/TestCheckTestClasses.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/TestClassFinder.java

                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-fix-v2.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503973#comment-13503973 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

Looks like compat project exclusion checking is not working. I'll check why, probably issues with absolute path in the package. If it's that I'll add jar filter...
Any reason why compat project tests shouldn't be categorized?
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501628#comment-13501628 ] 

Ted Yu commented on HBASE-7109:
-------------------------------

{code}
+  * A class is considered as a test class if:
+   *  - it's not Abstract AND
+   *  - one or more of its methods is annotated with org.junit.Test OR
+   *  - the class is annotated with Suite.SuiteClasses
+  * */
+  private static class TestClassFilter implements ClassFilter {
{code}
Do we need to consider tests that extend junit.framework.TestCase ?
A few examples: TestCompare, TestBase64.
There is also:
{code}
public abstract class HBaseTestCase extends TestCase {
{code}
We have:
{code}
public class TestHRegion extends HBaseTestCase {
{code}
{code}
+    public boolean isCandidateClass(Class<?> c) {
+      return isTestClass(c) && isCategorizedClass(c);
{code}
Some test classes don't satisfy both conditions above (methods aren't annotated with @Test in TestBase64).
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Attachment: HBASE-7109-fix.patch

Jar absolute path is merely a package path... added filtering on actual jar path and c/p-ed tests.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504208#comment-13504208 ] 

stack commented on HBASE-7109:
------------------------------

Your patch breaks mvn package Sergey?   What about the above failure?  Thanks.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Attachment: HBASE-7109-v4-squashed.patch
    
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Status: Patch Available  (was: Reopened)
    
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493559#comment-13493559 ] 

Hadoop QA commented on HBASE-7109:
----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12552708/HBASE-7109-v2-squashed.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 10 new or modified tests.

    {color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 2.0 profile.

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 87 warning messages.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:red}-1 findbugs{color}.  The patch appears to introduce 16 new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/3273//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3273//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3273//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3273//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3273//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3273//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3273//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/3273//console

This message is automatically generated.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Elliott Clark (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502614#comment-13502614 ] 

Elliott Clark commented on HBASE-7109:
--------------------------------------

When running mvn test the tests pass.  When running mvn package this fails.  On looking at it, it appears this happens because the classes without an annotation are coming in from a jar.  These jar names are not sent through the TestFileNameFilter.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493569#comment-13493569 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

ClassFinder can be used to find classes according to different rules, etc.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502570#comment-13502570 ] 

Ted Yu commented on HBASE-7109:
-------------------------------

Trunk build has failed twice since this went in: #3558 and #3559
{code}
Failed tests:   checkClasses(org.apache.hadoop.hbase.TestCheckTestClasses): There are 14 test classes without category: [class org.apache.hadoop.hbase.thrift.TestMetricsThriftServerSourceFactory, class org.apache.hadoop.hbase.regionserver.TestMetricsRegionSourceImpl, class org.apache.hadoop.hbase.regionserver.TestMetricsRegionServerSourceImpl, class org.apache.hadoop.hbase.master.TestMetricsMasterSourceImpl, class org.apache.hadoop.hbase.master.TestMetricsMasterSourceFactory, class org.apache.hadoop.hbase.rest.TestMetricsRESTSource, class org.apache.hadoop.hbase.regionserver.wal.TestMetricsHLogSource, class org.apache.hadoop.hbase.thrift.TestThriftServerMetricsSourceFactoryImpl, class org.apache.hadoop.hbase.metrics.TestBaseSourceImpl, class org.apache.hadoop.hbase.regionserver.wal.TestMetricsWALSourceImpl, class org.apache.hadoop.hbase.rest.TestRESTMetricsSourceImpl, class org.apache.hadoop.hbase.replication.regionserver.TestReplicationMetricsSourceImpl, class org.apache.hadoop.hbase.replication.regionserver.TestMetricsReplicationSourceFactory, class org.apache.hadoop.hbase.regionserver.TestMetricsRegionServerSourceFactory]
{code}
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504197#comment-13504197 ] 

Hadoop QA commented on HBASE-7109:
----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12554917/HBASE-7109-fix.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 9 new or modified tests.

    {color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 2.0 profile.

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 98 warning messages.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:red}-1 findbugs{color}.  The patch appears to introduce 24 new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/3405//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3405//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3405//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3405//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3405//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3405//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3405//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/3405//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/3405//console

This message is automatically generated.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-fix.patch, HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493507#comment-13493507 ] 

Sergey Shelukhin commented on HBASE-7109:
-----------------------------------------

renamed class and parameter, added some javadocs
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Attachment: HBASE-7109-v2-squashed.patch
    
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Updated] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "Sergey Shelukhin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shelukhin updated HBASE-7109:
------------------------------------

    Attachment: HBASE-7109-v6-0.94.patch
    
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch, HBASE-7109-v6-0.94.patch, HBASE-7109-v6.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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

[jira] [Commented] (HBASE-7109) integration tests on cluster are not getting picked up from distribution

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502301#comment-13502301 ] 

stack commented on HBASE-7109:
------------------------------

[~sershe] You are doing some pretty fancy dancing in this patch.  Nice set of tests.  I'd say address Enis comments and then I'd be +1 on commit.
                
> integration tests on cluster are not getting picked up from distribution
> ------------------------------------------------------------------------
>
>                 Key: HBASE-7109
>                 URL: https://issues.apache.org/jira/browse/HBASE-7109
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 0.96.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-7109-squashed.patch, HBASE-7109-v2-squashed.patch, HBASE-7109-v3-squashed.patch, HBASE-7109-v4-squashed.patch, HBASE-7109-v5.patch, HBASE-7109-v5.patch
>
>
> The method of finding test classes only works on local build (or its full copy), not if the distribution is used.

--
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