You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Kannan Muthukkaruppan (JIRA)" <ji...@apache.org> on 2010/07/06 20:13:51 UTC

[jira] Created: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

not able to run the test suite in background because TestShell gets suspended on tty output
-------------------------------------------------------------------------------------------

                 Key: HBASE-2815
                 URL: https://issues.apache.org/jira/browse/HBASE-2815
             Project: HBase
          Issue Type: Bug
          Components: shell
            Reporter: Kannan Muthukkaruppan


Can't run the test suite in background. Problem seems to be due to TestShell.

This works fine:
% mvn test -Dtest=TestShell -Dtest.output=true

But:
% mvn test -Dtest=TestShell -Dtest.output=true & 
or,
mvn test -Dtest=TestShell -Dtest.output=true >& test.log &

causes test to hang, and eventually timeout after 3600 seconds.

The process is reported as being suspended on tty output.

[3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891156#action_12891156 ] 

Jonathan Gray commented on HBASE-2815:
--------------------------------------

@Kannan, can you confirm this fixes your problem?  Will commit after you give +1.  Otherwise patch looks good, thanks Alexey!

> not able to run the test suite in background because TestShell gets suspended on tty output
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2815
>                 URL: https://issues.apache.org/jira/browse/HBASE-2815
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kannan Muthukkaruppan
>            Assignee: Alexey Kovyrin
>         Attachments: HBASE-2815.patch
>
>
> Can't run the test suite in background. Problem seems to be due to TestShell.
> This works fine:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true
> {code}
> But:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true & 
> or,
> % mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
> {code}
> causes test to hang, and eventually timeout after 3600 seconds.
> The process is reported as being suspended on tty output.
> [3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

Posted by "Kannan Muthukkaruppan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889746#action_12889746 ] 

Kannan Muthukkaruppan commented on HBASE-2815:
----------------------------------------------

Alexey: did you get a chance to look at this? 

> not able to run the test suite in background because TestShell gets suspended on tty output
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2815
>                 URL: https://issues.apache.org/jira/browse/HBASE-2815
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kannan Muthukkaruppan
>            Assignee: Alexey Kovyrin
>
> Can't run the test suite in background. Problem seems to be due to TestShell.
> This works fine:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true
> {code}
> But:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true & 
> or,
> % mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
> {code}
> causes test to hang, and eventually timeout after 3600 seconds.
> The process is reported as being suspended on tty output.
> [3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-2815:
-------------------------

           Status: Resolved  (was: Patch Available)
     Hadoop Flags: [Reviewed]
    Fix Version/s: 0.90.0
       Resolution: Fixed

Committed.  Thanks for the fix Alexey.  Thanks for reviewing and testing Kannan.

> not able to run the test suite in background because TestShell gets suspended on tty output
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2815
>                 URL: https://issues.apache.org/jira/browse/HBASE-2815
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kannan Muthukkaruppan
>            Assignee: Alexey Kovyrin
>             Fix For: 0.90.0
>
>         Attachments: HBASE-2815.patch
>
>
> Can't run the test suite in background. Problem seems to be due to TestShell.
> This works fine:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true
> {code}
> But:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true & 
> or,
> % mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
> {code}
> causes test to hang, and eventually timeout after 3600 seconds.
> The process is reported as being suspended on tty output.
> [3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

Posted by "Kannan Muthukkaruppan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kannan Muthukkaruppan updated HBASE-2815:
-----------------------------------------

    Description: 
Can't run the test suite in background. Problem seems to be due to TestShell.

This works fine:
{code}
% mvn test -Dtest=TestShell -Dtest.output=true
{code}

But:
{code}
% mvn test -Dtest=TestShell -Dtest.output=true & 
or,
% mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
{code}

causes test to hang, and eventually timeout after 3600 seconds.

The process is reported as being suspended on tty output.

[3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true


  was:
Can't run the test suite in background. Problem seems to be due to TestShell.

This works fine:
% mvn test -Dtest=TestShell -Dtest.output=true

But:
% mvn test -Dtest=TestShell -Dtest.output=true & 
or,
mvn test -Dtest=TestShell -Dtest.output=true >& test.log &

causes test to hang, and eventually timeout after 3600 seconds.

The process is reported as being suspended on tty output.

[3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true



> not able to run the test suite in background because TestShell gets suspended on tty output
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2815
>                 URL: https://issues.apache.org/jira/browse/HBASE-2815
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kannan Muthukkaruppan
>
> Can't run the test suite in background. Problem seems to be due to TestShell.
> This works fine:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true
> {code}
> But:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true & 
> or,
> % mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
> {code}
> causes test to hang, and eventually timeout after 3600 seconds.
> The process is reported as being suspended on tty output.
> [3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack reassigned HBASE-2815:
----------------------------

    Assignee: Alexey Kovyrin

Any chance of your taking a look at this one?

> not able to run the test suite in background because TestShell gets suspended on tty output
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2815
>                 URL: https://issues.apache.org/jira/browse/HBASE-2815
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kannan Muthukkaruppan
>            Assignee: Alexey Kovyrin
>
> Can't run the test suite in background. Problem seems to be due to TestShell.
> This works fine:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true
> {code}
> But:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true & 
> or,
> % mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
> {code}
> causes test to hang, and eventually timeout after 3600 seconds.
> The process is reported as being suspended on tty output.
> [3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

Posted by "Alexey Kovyrin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kovyrin updated HBASE-2815:
----------------------------------

    Attachment: HBASE-2815.patch

Fixed. The problem was in the call we used to determine terminal width.

> not able to run the test suite in background because TestShell gets suspended on tty output
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2815
>                 URL: https://issues.apache.org/jira/browse/HBASE-2815
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kannan Muthukkaruppan
>            Assignee: Alexey Kovyrin
>         Attachments: HBASE-2815.patch
>
>
> Can't run the test suite in background. Problem seems to be due to TestShell.
> This works fine:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true
> {code}
> But:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true & 
> or,
> % mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
> {code}
> causes test to hang, and eventually timeout after 3600 seconds.
> The process is reported as being suspended on tty output.
> [3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

Posted by "Kannan Muthukkaruppan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891041#action_12891041 ] 

Kannan Muthukkaruppan commented on HBASE-2815:
----------------------------------------------

Nice! Thanks Alexey. And take are of your back :)

> not able to run the test suite in background because TestShell gets suspended on tty output
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2815
>                 URL: https://issues.apache.org/jira/browse/HBASE-2815
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kannan Muthukkaruppan
>            Assignee: Alexey Kovyrin
>         Attachments: HBASE-2815.patch
>
>
> Can't run the test suite in background. Problem seems to be due to TestShell.
> This works fine:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true
> {code}
> But:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true & 
> or,
> % mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
> {code}
> causes test to hang, and eventually timeout after 3600 seconds.
> The process is reported as being suspended on tty output.
> [3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

Posted by "Kannan Muthukkaruppan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891949#action_12891949 ] 

Kannan Muthukkaruppan commented on HBASE-2815:
----------------------------------------------

@Jonathan: +1. It fixes the issue. Please go ahead and commit.

> not able to run the test suite in background because TestShell gets suspended on tty output
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2815
>                 URL: https://issues.apache.org/jira/browse/HBASE-2815
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kannan Muthukkaruppan
>            Assignee: Alexey Kovyrin
>         Attachments: HBASE-2815.patch
>
>
> Can't run the test suite in background. Problem seems to be due to TestShell.
> This works fine:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true
> {code}
> But:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true & 
> or,
> % mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
> {code}
> causes test to hang, and eventually timeout after 3600 seconds.
> The process is reported as being suspended on tty output.
> [3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890995#action_12890995 ] 

stack commented on HBASE-2815:
------------------------------

@Alexey: Look after your back first!   We'll survive meantime.

> not able to run the test suite in background because TestShell gets suspended on tty output
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2815
>                 URL: https://issues.apache.org/jira/browse/HBASE-2815
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kannan Muthukkaruppan
>            Assignee: Alexey Kovyrin
>
> Can't run the test suite in background. Problem seems to be due to TestShell.
> This works fine:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true
> {code}
> But:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true & 
> or,
> % mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
> {code}
> causes test to hang, and eventually timeout after 3600 seconds.
> The process is reported as being suspended on tty output.
> [3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

Posted by "Alexey Kovyrin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890992#action_12890992 ] 

Alexey Kovyrin commented on HBASE-2815:
---------------------------------------

I've got some serious back problems and was pretty much away from the computer for a few weeks. Now I'm back and building the trunk to figure out this problem.

> not able to run the test suite in background because TestShell gets suspended on tty output
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2815
>                 URL: https://issues.apache.org/jira/browse/HBASE-2815
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kannan Muthukkaruppan
>            Assignee: Alexey Kovyrin
>
> Can't run the test suite in background. Problem seems to be due to TestShell.
> This works fine:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true
> {code}
> But:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true & 
> or,
> % mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
> {code}
> causes test to hang, and eventually timeout after 3600 seconds.
> The process is reported as being suspended on tty output.
> [3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

Posted by "Alexey Kovyrin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kovyrin updated HBASE-2815:
----------------------------------

          Status: Patch Available  (was: Open)
    Release Note: Fixed. Please review and apply the patch.

> not able to run the test suite in background because TestShell gets suspended on tty output
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2815
>                 URL: https://issues.apache.org/jira/browse/HBASE-2815
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kannan Muthukkaruppan
>            Assignee: Alexey Kovyrin
>         Attachments: HBASE-2815.patch
>
>
> Can't run the test suite in background. Problem seems to be due to TestShell.
> This works fine:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true
> {code}
> But:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true & 
> or,
> % mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
> {code}
> causes test to hang, and eventually timeout after 3600 seconds.
> The process is reported as being suspended on tty output.
> [3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-2815) not able to run the test suite in background because TestShell gets suspended on tty output

Posted by "Alexey Kovyrin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886058#action_12886058 ] 

Alexey Kovyrin commented on HBASE-2815:
---------------------------------------

Yes, I'll take a look at the issue this week.

> not able to run the test suite in background because TestShell gets suspended on tty output
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2815
>                 URL: https://issues.apache.org/jira/browse/HBASE-2815
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kannan Muthukkaruppan
>            Assignee: Alexey Kovyrin
>
> Can't run the test suite in background. Problem seems to be due to TestShell.
> This works fine:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true
> {code}
> But:
> {code}
> % mvn test -Dtest=TestShell -Dtest.output=true & 
> or,
> % mvn test -Dtest=TestShell -Dtest.output=true >& test.log &
> {code}
> causes test to hang, and eventually timeout after 3600 seconds.
> The process is reported as being suspended on tty output.
> [3]  + Suspended (tty output)        mvn test -Dtest=TestShell -Dtest.output=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.