I use CDH4.3.1 and run the TestHDFSCLI unit test,but there are below errors:

2013-10-10 13:05:39,671 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(156)) -
-------------------------------------------
2013-10-10 13:05:39,671 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(157)) -                     Test ID: [1]
2013-10-10 13:05:39,671 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(158)) -            Test Description:
[ls: file using absolute path]
2013-10-10 13:05:39,671 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(159)) -
2013-10-10 13:05:39,671 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(163)) -               Test Commands:
[-fs hdfs://localhost.localdomain:41053 -touchz /file1]
2013-10-10 13:05:39,672 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(163)) -               Test Commands:
[-fs hdfs://localhost.localdomain:41053 -ls /file1]
2013-10-10 13:05:39,672 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(167)) -
2013-10-10 13:05:39,672 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(170)) -            Cleanup Commands:
[-fs hdfs://localhost.localdomain:41053 -rm /file1]
2013-10-10 13:05:39,672 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(174)) -
2013-10-10 13:05:39,672 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(178)) -                  Comparator:
[TokenComparator]
2013-10-10 13:05:39,672 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(180)) -          Comparision result:
[pass]
2013-10-10 13:05:39,672 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(182)) -             Expected output:
[Found 1 items]
2013-10-10 13:05:39,672 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(184)) -               Actual output:
[Found 1 items
-rw-r--r--   1 musa.ll supergroup          0 2013-10-10 13:04 /file1
]
2013-10-10 13:05:39,673 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(178)) -                  Comparator:
[RegexpComparator]
2013-10-10 13:05:39,673 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(180)) -          Comparision result:
[fail]
2013-10-10 13:05:39,673 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(182)) -             Expected output:
[^-rw-r--r--( )*1( )*[a-z]*( )*supergroup( )*0(
)*[0-9]{4,}-[0-9]{2,}-[0-9]{2,} [0-9]{2,}:[0-9]{2,}( )*/file1]
2013-10-10 13:05:39,673 INFO  cli.CLITestHelper
(CLITestHelper.java:displayResults(184)) -               Actual output:
[Found 1 items
-rw-r--r--   1 musa.ll supergroup          0 2013-10-10 13:04 /file1
]


How can I handle the error?


Thanks,

LiuLei

Reply via email to