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

Ravi Phulari edited comment on HADOOP-5080 at 4/7/09 3:21 PM:
--------------------------------------------------------------


  -1  ant test-core failed against current hadoop trunk. 

  Test 643: version: display the version of current hadoop failed . 

----------------------------------------------
jar-test:
      [jar] Building jar: 
/home/rphulari/tasks/5080/hadoop/build/hadoop-0.21.0-dev-test.jar

test-core:
    [mkdir] Created dir: /home/rphulari/tasks/5080/hadoop/build/test/data
    [mkdir] Created dir: /home/rphulari/tasks/5080/hadoop/build/test/logs
     [copy] Copying 1 file to 
/home/rphulari/tasks/5080/hadoop/build/test/extraconf
    [junit] Running org.apache.hadoop.cli.TestCLI
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 95.039 sec
    [junit] Test org.apache.hadoop.cli.TestCLI FAILED
    [junit] Running org.apache.hadoop.conf.TestConfiguration
    [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.868 sec
    [junit] Running org.apache.hadoop.conf.TestConfigurationSubclass


Log from TEST-org.apache.hadoop.cli.TestCLI.txt
-------------------------------------
2009-04-07 18:27:43,927 INFO  cli.TestCLI (TestCLI.java:displayResults(233)) - 
2009-04-07 18:27:43,927 INFO  cli.TestCLI (TestCLI.java:displayResults(237)) - 
Summary results:
2009-04-07 18:27:43,927 INFO  cli.TestCLI (TestCLI.java:displayResults(238)) - 
----------------------------------

2009-04-07 18:27:43,927 INFO  cli.TestCLI (TestCLI.java:displayResults(258)) -  
              Testing mode: test
2009-04-07 18:27:43,927 INFO  cli.TestCLI (TestCLI.java:displayResults(259)) - 
2009-04-07 18:27:43,928 INFO  cli.TestCLI (TestCLI.java:displayResults(260)) -  
            Overall result: --- FAIL ---
2009-04-07 18:27:43,928 INFO  cli.TestCLI (TestCLI.java:displayResults(262)) -  
              # Tests pass: 642 (99%)
2009-04-07 18:27:43,928 INFO  cli.TestCLI (TestCLI.java:displayResults(264)) -  
              # Tests fail: 1 (0%)
2009-04-07 18:27:43,928 INFO  cli.TestCLI (TestCLI.java:displayResults(266)) -  
        # Validations done: 1860 (each test may do multiple validations)
2009-04-07 18:27:43,928 INFO  cli.TestCLI (TestCLI.java:displayResults(269)) - 
2009-04-07 18:27:43,928 INFO  cli.TestCLI (TestCLI.java:displayResults(270)) - 
Failing tests:
2009-04-07 18:27:43,928 INFO  cli.TestCLI (TestCLI.java:displayResults(271)) - 
--------------
2009-04-07 18:27:43,928 INFO  cli.TestCLI (TestCLI.java:displayResults(277)) - 
643: version: display the version of current hadoop
2009-04-07 18:27:43,929 INFO  cli.TestCLI (TestCLI.java:displayResults(287)) - 
2009-04-07 18:27:43,929 INFO  cli.TestCLI (TestCLI.java:displayResults(288)) - 
Passing tests:
2009-04-07 18:27:43,929 INFO  cli.TestCLI (TestCLI.java:displayResults(289)) - 
--------------
2009-04-07 18:27:43,929 INFO  cli.TestCLI (TestCLI.java:displayResults(293)) - 
1: ls: file using absolute path
2009-04-07 18:27:43,929 INFO  cli.TestCLI (TestCLI.java:displayResults(293)) - 
2: ls: file using relative path
2009-04-07 18:27:43,929 INFO  cli.TestCLI (TestCLI.java:displayResults(293)) - 
3: ls: files using globbing
2009-04-07 18:27:43,929 INFO  cli.TestCLI (TestCLI.java:displayResults(293)) - 
4: ls: directory using absolute path
2009-04-07 18:27:43,929 INFO  cli.TestCLI (TestCLI.java:displayResults(293)) - 
5: ls: directory using relative path





      was (Author: raviphulari):
    +1 reviewed the Updated patch and ran the ant test.
  
> Update TestCLI and split the test as HDFS,MR and core
> -----------------------------------------------------
>
>                 Key: HADOOP-5080
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5080
>             Project: Hadoop Core
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.20.0
>            Reporter: Ramya R
>            Priority: Minor
>             Fix For: 0.21.0
>
>         Attachments: Hadoop-5080.patch, Hadoop-5080Updated.patch, 
> hadoop-5080v1.patch, hadoop5080.patch, patch5080-v1.txt, 
> TEST-org.apache.hadoop.cli.TestCLI.txt, TestCLI.doc
>
>
> Currently TestCLI contains few of the dfs commands and verifies some of the 
> error messages for quota and refreshServiceAcl.. Here is a proposal to add 
> additional test cases to TestCLI to cover an exhaustive list of Hadoop 
> commands. Here is a list of action items for the same:
> 1) Complete the test cases for dfs commands which are not yet automated such 
> as count, chmod, chown, chgrp etc
> 2) Verify help messages in fs, dfsadmin, mradmin
> 3) Add other Hadoop commands such as archives, dfsadmin, balancer, job, 
> queue, version, jar, distcp, daemonlog etc to the command line test.
> 4) Also, this test needs to be broken up as MR, HDFS, Core

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

Reply via email to