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

Masatake Iwasaki commented on HDFS-8844:
----------------------------------------

{noformat}
Expected output:   [get: `.*': No such file or directory]
  Actual output:   [get: 
`/iwasakims/srcs/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test-classes//file':
 File exists
{noformat}

> TestHDFSCLI does not cleanup the test directory
> -----------------------------------------------
>
>                 Key: HDFS-8844
>                 URL: https://issues.apache.org/jira/browse/HDFS-8844
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>            Reporter: Akira AJISAKA
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>         Attachments: HDFS-8844.001.patch
>
>
> If TestHDFSCLI is executed twice without {{mvn clean}}, the second try fails. 
> Here are the failing test cases:
> {noformat}
> 2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(231)) - Failing tests:
> 2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(232)) - --------------
> 2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(238)) - 226: get: getting non 
> existent(absolute path)
> 2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(238)) - 227: get: getting non existent 
> file(relative path)
> 2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(238)) - 228: get: Test for hdfs:// path - 
> getting non existent
> 2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(238)) - 229: get: Test for Namenode's path 
> - getting non existent
> 2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(238)) - 250: copyToLocal: non existent 
> relative path
> 2015-07-31 21:35:17,654 [main] INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(238)) - 251: copyToLocal: non existent 
> absolute path
> 2015-07-31 21:35:17,655 [main] INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(238)) - 252: copyToLocal: Test for hdfs:// 
> path - non existent file/directory
> 2015-07-31 21:35:17,655 [main] INFO  cli.CLITestHelper 
> (CLITestHelper.java:displayResults(238)) - 253: copyToLocal: Test for 
> Namenode's path - non existent file/directory
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to