You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2010/10/30 06:12:20 UTC

[jira] Created: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
-------------------------------------------------------------------------------------------------

                 Key: HADOOP-7014
                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
             Project: Hadoop Common
          Issue Type: Improvement
          Components: test
    Affects Versions: 0.22.0
            Reporter: Konstantin Boudnik
            Assignee: Konstantin Boudnik


There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Attachment: HADOOP-7014.patch

New version of the patch: removed factories and switches.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931527#action_12931527 ] 

Konstantin Boudnik commented on HADOOP-7014:
--------------------------------------------

Perhaps I have misunderstood your suggestion, but there's already Shell class in common. 
I agree though  that prefix "i" isn't something inherently Java... sounds more like C# word ;(

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Attachment: HADOOP-7014.patch

Fix.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Attachment: HADOOP-7014.patch

Renaming interfaces once more. TestCLI is passing.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (HADOOP-7014) Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)

Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020878#comment-13020878 ] 

Aaron T. Myers commented on HADOOP-7014:
----------------------------------------

Hey Nicholas, Cos committed both the corresponding HDFS and MAPREDUCE patches yesterday. Both of those projects should be back to compiling now.

> Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HADOOP-7014) Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Fix Version/s: 0.23.0

> Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-7014) Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020873#comment-13020873 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-7014:
------------------------------------------------

Hi Cos, hope the HDFS compilation problem could be fixed soon.  Otherwise, we cannot continue development in HDFS.  If you need more time, how about revert the committed patch?

> Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Hadoop QA commented on HADOOP-7014:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12460419/HADOOP-7014.patch
  against trunk revision 1038493.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 23 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

    +1 system test framework.  The patch passed system test framework compile.

Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/123//testReport/
Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/123//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/123//console

This message is automatically generated.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931963#action_12931963 ] 

Todd Lipcon commented on HADOOP-7014:
-------------------------------------

Looks good to me. I like the new name better than the one with the 'i' for sure. +1

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Hadoop QA commented on HADOOP-7014:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12459419/HADOOP-6977.patch
  against trunk revision 1034184.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/93//console

This message is automatically generated.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-6977.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931310#action_12931310 ] 

Todd Lipcon commented on HADOOP-7014:
-------------------------------------

Quick couple notes:
- adds an import org.apache.hadoop.cli.util.* - are we allowed to use wildcard imports? I thought they were discouraged, maybe it's OK in test code
- It seems confusing that in some places it's TestCmd and some places it's CmdTest - eg CLITestCmd implements CmdTest. Why not name the interface TestCmd too?

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

Posted by "Jakob Homan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931511#action_12931511 ] 

Jakob Homan commented on HADOOP-7014:
-------------------------------------

bq. I have change it to iCmdTest so now it seems to be more clear. Thanks for catching it up.
This would be the first time we would be using such a convention and it would be in opposition to the Sun^^^Oracle conventions the project uses: http://www.oracle.com/technetwork/java/codeconventions-135099.html#367
Instead of abbreviating Command Line Interface everywhere, perhaps, Shell would be a better descriptor?

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020358#comment-13020358 ] 

Tom White commented on HADOOP-7014:
-----------------------------------

+1 If this is going to break HDFS and MapReduce builds, I would run their tests with the patch applied (and post the results to those JIRAs) so they can be committed at the same time.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-7014) Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020517#comment-13020517 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-7014:
------------------------------------------------

Hi Cos, HDFD does not compile

{noformat}
compile-hdfs-test:
    [javac] Compiling 194 source files to /export/crawlspace/tsz/hdfs/h2/build/test/hdfs/classes
    [javac] /export/crawlspace/tsz/hdfs/h2/src/test/hdfs/org/apache/hadoop/cli/CmdFactoryDFS.java:20: cannot find symbol
    [javac] symbol  : class CLICommands
    [javac] location: package org.apache.hadoop.cli.util
    [javac] import org.apache.hadoop.cli.util.CLICommands;
    [javac]                                  ^
    [javac] /export/crawlspace/tsz/hdfs/h2/src/test/hdfs/org/apache/hadoop/cli/CmdFactoryDFS.java:22: cannot find symbol
    [javac] symbol  : class CmdFactory
    [javac] location: package org.apache.hadoop.cli.util
    [javac] import org.apache.hadoop.cli.util.CmdFactory;
    [javac]                                  ^

...

    [javac] 11 errors

BUILD FAILED
{noformat}


> Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Attachment: HADOOP-7014.patch

Oops, has attached wrong file

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Affects Version/s:     (was: 0.22.0)
                       0.23.0

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Attachment: HADOOP-7014.patch

Renamed files were missed from the previous patch. Fixed.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930659#action_12930659 ] 

Konstantin Boudnik commented on HADOOP-7014:
--------------------------------------------

Once committed this patch will be causing compile errors in HDFS tests. Nothing to worry as the upstream patch will be there shortly.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Hadoop QA commented on HADOOP-7014:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12458470/HADOOP-7014.patch
  against trunk revision 1032730.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 16 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

    +1 system test framework.  The patch passed system test framework compile.

Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/85//testReport/
Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/85//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/85//console

This message is automatically generated.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Updated] (HADOOP-7014) Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

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

I have just committed this.

> Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Hadoop QA commented on HADOOP-7014:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12459423/HADOOP-7014.patch
  against trunk revision 1034184.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 12 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    -1 javac.  The patch appears to cause tar ant target to fail.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

    -1 system test framework.  The patch failed system test framework compile.

Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/94//testReport/
Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/94//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/94//console

This message is automatically generated.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931974#action_12931974 ] 

Konstantin Boudnik commented on HADOOP-7014:
--------------------------------------------

I will commit it shortly. However, it is going to break upstream (HDFS) project until HDFS-1486 is committed.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020388#comment-13020388 ] 

Konstantin Boudnik commented on HADOOP-7014:
--------------------------------------------

Tom, I will post the test results logs there. Running test-patch however seems impossible at the moment because I can't force it to use internal resolvers without changing the script in many places.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Hadoop QA commented on HADOOP-7014:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12459501/HADOOP-7014.patch
  against trunk revision 1034480.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 16 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

    +1 system test framework.  The patch passed system test framework compile.

Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/99//testReport/
Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/99//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/99//console

This message is automatically generated.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Attachment: HADOOP-7014.patch

Generics need to use interface instead of a concrete implementation

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (HADOOP-7014) Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)

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

Hudson commented on HADOOP-7014:
--------------------------------

Integrated in Hadoop-Common-trunk #663 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-trunk/663/])
    HADOOP-7014. Adding missed files
HADOOP-7014. Generalize CLITest structure and interfaces to facilitate
upstream adoption (e.g. for web testing). Contributed by Konstantin Boudnik


> Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Status: Patch Available  (was: Open)

Let's  check it.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (HADOOP-7014) Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020525#comment-13020525 ] 

Konstantin Boudnik commented on HADOOP-7014:
--------------------------------------------

Nicholas, this is an expected side-effect (patch is here HDFS-1486). Sorry about this. I am running test-patch on HDFS to be technically clear about validity of upstream patch. It will be fixed in no time.

> Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020501#comment-13020501 ] 

Konstantin Boudnik commented on HADOOP-7014:
--------------------------------------------

HDFS/MR full test cycles are successful so I am committing this shortly (which will temporarily break upstream builds).

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-7014) Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021131#comment-13021131 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-7014:
------------------------------------------------

@Cos, I just have tried.  Everything is back to normal.  Thanks.

@Aaron, thanks for the info.

> Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HADOOP-7014) Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Hadoop Flags: [Reviewed]
         Summary: Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)  (was: Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing))

> Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Attachment:     (was: HADOOP-6977.patch)

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Attachment: HADOOP-6977.patch

util.* test replaces a bunch of otherwise explicit imports. I don't like too many explicit imports (after some point they start being messy) but I want to make an issue over it. Technically you are correct: patches shouldn't have unnecessary import mods.

The reason the interface is called CmdTest is that otherwise JUnit (in our configuration) will consider it to be a test class and will try to run it. However, I agree that the name is awkward. I have change it to iCmdTest so now it seems to be more clear. Thanks for catching it up.

Attached patch is full equivalent of the previous one modulo interface name change, I have re-ran TestCLI and it passes Ok.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-6977.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Hadoop QA commented on HADOOP-7014:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12459493/HADOOP-7014.patch
  against trunk revision 1034480.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 16 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

    +1 system test framework.  The patch passed system test framework compile.

Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/98//testReport/
Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/98//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/98//console

This message is automatically generated.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Konstantin Boudnik updated HADOOP-7014:
---------------------------------------

    Attachment: HADOOP-7014.patch

Hopefully the last iteration of renaming :)

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Hadoop QA commented on HADOOP-7014:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12459426/HADOOP-7014.patch
  against trunk revision 1034184.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 16 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

    +1 system test framework.  The patch passed system test framework compile.

Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/97//testReport/
Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/97//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/97//console

This message is automatically generated.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (HADOOP-7014) Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)

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

Hudson commented on HADOOP-7014:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #557 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-trunk-Commit/557/])
    HADOOP-7014. Adding missed files


> Generalize CLITest structure and interfaces to facilitate upstream adoption (e.g. for web testing)
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (HADOOP-7014) Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)

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

Hadoop QA commented on HADOOP-7014:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12464935/HADOOP-7014.patch
  against trunk revision 1071364.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 23 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

    +1 system test framework.  The patch passed system test framework compile.

Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/255//testReport/
Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/255//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/255//console

This message is automatically generated.

> Generalize CLITest structure and interfaces to faciliate upstream adoption (e.g. for web testing)
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7014
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7014
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch, HADOOP-7014.patch
>
>
> There's at least one use case where TestCLI infrastructure is helpful for testing projects outside of core Hadoop (e.g. Owl web testing). In order to make this acceptance easier for upstream project TestCLI needs to be refactored.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira