[
https://issues.apache.org/jira/browse/BIGTOP-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13848462#comment-13848462
]
Plamen Jeliazkov edited comment on BIGTOP-997 at 12/14/13 9:28 PM:
-------------------------------------------------------------------
This appears to have already been fixed.
>From master branch -- the test code:
{code}
<test> <!-- TESTED test-id=5 -->
<description>ls: directory using relative path</description>
<test-commands>
<command>-fs NAMENODE -mkdir -p dir1</command>
<command>-fs NAMENODE -ls </command>
</test-commands>
<cleanup-commands>
<command>-fs NAMENODE -rm -r /user/USER_NAME/dir1</command>
</cleanup-commands>
<comparators>
<comparator>
<type>TokenComparator</type>
<expected-output>Found 1 items</expected-output>
</comparator>
<comparator>
<type>RegexpComparator</type>
<expected-output>^drwxr-xr-x( )*-( )*[a-z]*( )*supergroup( )*0(
)*[0-9]{4,}-[0-9]{2,}-[0-9]{2,} [0-9]{2,}:[0-9]{2,}( )*dir1</expected-output>
</comparator>
</comparators>
</test>
{code}
The comparator has already been changed to check for the supergroup group, not
the hadoop group. This is safe to close I think.
was (Author: zero45):
This appears to have already been fixed.
>From master branch -- the test code:
{code}
<test> <!-- TESTED test-id=5 -->
<description>ls: directory using relative path</description>
<test-commands>
<command>-fs NAMENODE -mkdir -p dir1</command>
<command>-fs NAMENODE -ls </command>
</test-commands>
<cleanup-commands>
<command>-fs NAMENODE -rm -r /user/USER_NAME/dir1</command>
</cleanup-commands>
<comparators>
<comparator>
<type>TokenComparator</type>
<expected-output>Found 1 items</expected-output>
</comparator>
<comparator>
<type>RegexpComparator</type>
<expected-output>^drwxr-xr-x( )*-( )*[a-z]*( )*supergroup( )*0(
)*[0-9]{4,}-[0-9]{2,}-[0-9]{2,} [0-9]{2,}:[0-9]{2,}( )*dir1</expected-output>
</comparator>
</comparators>
</test>
{code}
The comparator has already been changed to check for the supergroup user, not
the hadoop user. This is safe to close I think.
> TestCLI fails test id 5: comparator fails
> ------------------------------------------
>
> Key: BIGTOP-997
> URL: https://issues.apache.org/jira/browse/BIGTOP-997
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.5.0
> Reporter: Konstantin Boudnik
> Assignee: Anatoli Fomenko
> Labels: hackathon-7-2013
> Fix For: 0.8.0
>
>
> I am running hadoop smokes against a cluster and at least one test case is
> failing in TestCLI:
> {noformat}
> 13/06/05 19:22:02 INFO cli.CLITestHelper: Test ID: [5]
> ...
> 13/06/05 19:22:02 INFO cli.CLITestHelper: Comparision result:
> [fail]
> 13/06/05 19:22:02 INFO cli.CLITestHelper: Expected output:
> [^drwxr-xr-x( )*-( )*[a-z]*( )*hadoo
> p( )*0( )*[0-9]{4,}-[0-9]{2,}-[0-9]{2,} [0-9]{2,}:[0-9]{2,}( )*dir1]
> 13/06/05 19:22:02 INFO cli.CLITestHelper: Actual output:
> [Found 1 items
> drwxr-xr-x - cos supergroup 0 2013-06-05 19:20 dir1
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)