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

Anatoli Fomenko commented on BIGTOP-895:
----------------------------------------

After closer look and some updates of TestCLI.java, including changing the HDFS 
/ permissions to "777", 80% of tests pass.

The remaining 20% of tests fail because of the following reasons:
* Commands such as {code}-fs hdfs://localhost:8020 -count -q /dir1{code} 
provide different output than expected:
{noformat}
[mini cluster] Expected output:   [( |\t)*10( |\t)*9( |\t)*1048576( 
|\t)*1048576( |\t)*1( |\t)*0( |\t)*0 /dir1]
[Bigtop cluser] Actual output:   [        none             inf            none  
           inf            1            0                  0 /dir1 
{noformat}
* Commands such as {code}-fs hdfs://localhost:8020 -chown newowner:newgroup 
hdfs:///file1{code} and {code}-fs hdfs://localhost:8020 -chgrp newgroup 
/file1{code} fail due to absence of the expected user and group.
* Commands such as "help for dfsadmin report" fail due to not quite clear 
reason, perhaps related to the fact that TestCLI extends CLITestHelper, not 
CLITestHelperDFS. Or perhaps due to superuser requirements.
* Cause of the failure of commands such as {code}hdfs dfs -fs 
hdfs://localhost:8020 -moveFromLocal file:...{code} is unclear.
                
> 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, 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