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

Konstantin Boudnik commented on BIGTOP-895:
-------------------------------------------

I see two issues in this patch:
- in {{ 
bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/FSCmdExecutor.java}}
you still have 
{{args[i] = args[i].replaceAll("TEST_DIR_ABSOLUTE", 
TestCLI.TEST_DIR_ABSOLUTE);}}
that breaks the compilation 
- the following tests are failing:
{noformat}
13/04/23 19:49:36 INFO cli.CLITestHelper: 260: mkdir: Test recreate of existing 
directory with -p succeeds
13/04/23 19:49:36 INFO cli.CLITestHelper: 284: test: non existent file 
(absolute path)
13/04/23 19:49:36 INFO cli.CLITestHelper: 285: test: non existent file 
(relative path)
13/04/23 19:49:36 INFO cli.CLITestHelper: 286: test: non existent directory 
(absolute path)
13/04/23 19:49:36 INFO cli.CLITestHelper: 287: test: non existent directory 
(relative path)
13/04/23 19:49:36 INFO cli.CLITestHelper: 288: test: Test for hdfs:// path - 
non existent file
13/04/23 19:49:36 INFO cli.CLITestHelper: 289: test: Test for hdfs:// path - 
non existent directory
13/04/23 19:49:36 INFO cli.CLITestHelper: 290: test: Test for Namenode's path - 
non existent file
13/04/23 19:49:36 INFO cli.CLITestHelper: 291: test: Test for Namenode's path - 
non existent directory
{noformat}

the 1st:
{noformat}
13/04/23 19:49:36 INFO cli.CLITestHelper:                     Test ID: [260]
13/04/23 19:49:36 INFO cli.CLITestHelper:            Test Description: [mkdir: 
Test recreate of existing directory with -p succeeds]
13/04/23 19:49:36 INFO cli.CLITestHelper: 
13/04/23 19:49:36 INFO cli.CLITestHelper:               Test Commands: [-fs 
hdfs://localhost:8020 -rm -r -f dir0]
13/04/23 19:49:36 INFO cli.CLITestHelper:               Test Commands: [-fs 
hdfs://localhost:8020 -mkdir -p dir0/dir1]
13/04/23 19:49:36 INFO cli.CLITestHelper:               Test Commands: [-fs 
hdfs://localhost:8020 -mkdir -p dir0/dir1]
13/04/23 19:49:36 INFO cli.CLITestHelper: 
13/04/23 19:49:36 INFO cli.CLITestHelper:            Cleanup Commands: [-fs 
hdfs://localhost:8020 -rm -r dir0]
13/04/23 19:49:36 INFO cli.CLITestHelper: 
13/04/23 19:49:36 INFO cli.CLITestHelper:                  Comparator: 
[ExactComparator]
13/04/23 19:49:36 INFO cli.CLITestHelper:          Comparision result:   [fail]
13/04/23 19:49:36 INFO cli.CLITestHelper:             Expected output:   []
13/04/23 19:49:36 INFO cli.CLITestHelper:               Actual output:   
[13/04/23 19:49:04 TRACE ipc.ProtobufRpcEngine: 1: Call -> 
null@localhost/127.0.0.1:8020: getFileInfo {src: 
"/user/cos/dir0/dir1"}
13/04/23 19:49:04 DEBUG ipc.Client: IPC Client (164014493) connection to 
localhost/127.0.0.1:8020 from cos sending #5045
13/04/23 19:49:04 DEBUG ipc.Client: IPC Client (164014493) connection to 
localhost/127.0.0.1:8020 from cos got value #5045
13/04/23 19:49:04 DEBUG ipc.ProtobufRpcEngine: Call: getFileInfo took 0ms
13/04/23 19:49:04 TRACE ipc.ProtobufRpcEngine: 1: Response <- 
null@localhost/127.0.0.1:8020: getFileInfo {fs { fileType: IS_DIR path: 
"" length: 0 permission { perm: 493 } owner: "cos" group: 
"supergroup" modification_time: 1366771744038 access_time: 0 
block_replication: 0 blocksize: 0 }}
{noformat}
that might be the cause for the rest of failures.
                
> A number of testcases in TestCLI are failing with (at least) Hadoop 2.0.3 and 
> later
> -----------------------------------------------------------------------------------
>
>                 Key: BIGTOP-895
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-895
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.5.0
>            Reporter: Konstantin Boudnik
>            Assignee: Anatoli Fomenko
>            Priority: Blocker
>             Fix For: 0.6.0
>
>         Attachments: BIGTOP-895.patch, BIGTOP-895.patch, failing-testCLI.txt
>
>
> The list of failing tests is attached.

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

Reply via email to