hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuan Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8453) Add unit tests for winutils
Date Wed, 20 Jun 2012 21:57:43 GMT

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

Chuan Liu commented on HADOOP-8453:
-----------------------------------

We have thought about writing JUnit tests first. However, it seems there is no precedent in
Hadoop to test C/C++ projects using JUnit directly. Other C/C++ projects use shell scripts
or C/C++ code for testing. That is the reason I choose batch script. If this is not the case,
we can add JUnit tests as well, e.g. TestWinutils.java. Another route may be to extend existing
test for Java interface and test 'winutils' indirectly. For example, we can add more test
cases to TestShell.java and test 'winutils' commands from there. What is your thought?
                
> Add unit tests for winutils
> ---------------------------
>
>                 Key: HADOOP-8453
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8453
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: test
>    Affects Versions: 1.1.0, 0.24.0
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>            Priority: Minor
>         Attachments: HADOOP-8453-branch-1-win.patch
>
>
> In [Hadoop-8235|https://issues.apache.org/jira/browse/HADOOP-8235], we created a Windows
console program, named ‘winutils’, to emulate some Linux command line utilities used by
Hadoop. However no tests are provided in the original patch. As this code is quite complicated,
and the complexity may even grow up in the future. We think unit tests are necessary to ensure
code quality, as well as smooth future development.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message