You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Terence Kwan (JIRA)" <ji...@apache.org> on 2009/04/23 02:35:47 UTC

[jira] Created: (CHUKWA-177) Adding Testing script for database to UI data path

Adding Testing script for database to UI data path
--------------------------------------------------

                 Key: CHUKWA-177
                 URL: https://issues.apache.org/jira/browse/CHUKWA-177
             Project: Hadoop Chukwa
          Issue Type: Test
          Components: User Interface
    Affects Versions: 0.1.2
            Reporter: Terence Kwan
             Fix For: 0.1.2


Adding testing script to test the database tables cluster_disk,cluster_system_metrics,disk,mr_job,mr_task,system_metrics.

Assume the data is in the database, the script will get the data from the web UI json page and compare the json page to the actual value in the database.

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


[jira] Commented: (CHUKWA-177) Adding Testing script for database to UI data path

Posted by "Terence Kwan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702105#action_12702105 ] 

Terence Kwan commented on CHUKWA-177:
-------------------------------------

good +!

> Adding Testing script for database to UI data path
> --------------------------------------------------
>
>                 Key: CHUKWA-177
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-177
>             Project: Hadoop Chukwa
>          Issue Type: Test
>          Components: User Interface
>    Affects Versions: 0.1.2
>            Reporter: Terence Kwan
>            Assignee: Terence Kwan
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: CHUKWA-177.patch, patch
>
>
> Adding testing script to test the database tables cluster_disk,cluster_system_metrics,disk,mr_job,mr_task,system_metrics.
> Assume the data is in the database, the script will get the data from the web UI json page and compare the json page to the actual value in the database.

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


[jira] Updated: (CHUKWA-177) Adding Testing script for database to UI data path

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

Eric Yang updated CHUKWA-177:
-----------------------------

    Status: Patch Available  (was: Open)

> Adding Testing script for database to UI data path
> --------------------------------------------------
>
>                 Key: CHUKWA-177
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-177
>             Project: Hadoop Chukwa
>          Issue Type: Test
>          Components: User Interface
>    Affects Versions: 0.1.2
>            Reporter: Terence Kwan
>            Assignee: Terence Kwan
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: CHUKWA-177.patch, patch
>
>
> Adding testing script to test the database tables cluster_disk,cluster_system_metrics,disk,mr_job,mr_task,system_metrics.
> Assume the data is in the database, the script will get the data from the web UI json page and compare the json page to the actual value in the database.

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


[jira] Commented: (CHUKWA-177) Adding Testing script for database to UI data path

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702807#action_12702807 ] 

Hudson commented on CHUKWA-177:
-------------------------------

Integrated in Chukwa-trunk #8 (See [http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/8/])
    

> Adding Testing script for database to UI data path
> --------------------------------------------------
>
>                 Key: CHUKWA-177
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-177
>             Project: Hadoop Chukwa
>          Issue Type: Test
>          Components: User Interface
>    Affects Versions: 0.1.2
>            Reporter: Terence Kwan
>            Assignee: Terence Kwan
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: CHUKWA-177.patch, patch
>
>
> Adding testing script to test the database tables cluster_disk,cluster_system_metrics,disk,mr_job,mr_task,system_metrics.
> Assume the data is in the database, the script will get the data from the web UI json page and compare the json page to the actual value in the database.

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


[jira] Updated: (CHUKWA-177) Adding Testing script for database to UI data path

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

Terence Kwan updated CHUKWA-177:
--------------------------------

    Attachment: patch

2 completely new files.

1. src/web/hicc/jsp/get_db_data.jsp - output database result as JSON
2. src.test/org/apache/hadoop/chukwa/database/TestWebJson.java - handle the actual testing of the json output and database data.

> Adding Testing script for database to UI data path
> --------------------------------------------------
>
>                 Key: CHUKWA-177
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-177
>             Project: Hadoop Chukwa
>          Issue Type: Test
>          Components: User Interface
>    Affects Versions: 0.1.2
>            Reporter: Terence Kwan
>             Fix For: 0.1.2
>
>         Attachments: patch
>
>
> Adding testing script to test the database tables cluster_disk,cluster_system_metrics,disk,mr_job,mr_task,system_metrics.
> Assume the data is in the database, the script will get the data from the web UI json page and compare the json page to the actual value in the database.

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


[jira] Updated: (CHUKWA-177) Adding Testing script for database to UI data path

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

Eric Yang updated CHUKWA-177:
-----------------------------

    Attachment: CHUKWA-177.patch

The original patch looks good.  However, rename TestWebJson.java to TestDatabaseWebJson.java.  This ensure the database test cases are disabled, and can be enabled when there is a database running locally.

> Adding Testing script for database to UI data path
> --------------------------------------------------
>
>                 Key: CHUKWA-177
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-177
>             Project: Hadoop Chukwa
>          Issue Type: Test
>          Components: User Interface
>    Affects Versions: 0.1.2
>            Reporter: Terence Kwan
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: CHUKWA-177.patch, patch
>
>
> Adding testing script to test the database tables cluster_disk,cluster_system_metrics,disk,mr_job,mr_task,system_metrics.
> Assume the data is in the database, the script will get the data from the web UI json page and compare the json page to the actual value in the database.

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


[jira] Updated: (CHUKWA-177) Adding Testing script for database to UI data path

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

Eric Yang updated CHUKWA-177:
-----------------------------

    Priority: Blocker  (was: Major)

> Adding Testing script for database to UI data path
> --------------------------------------------------
>
>                 Key: CHUKWA-177
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-177
>             Project: Hadoop Chukwa
>          Issue Type: Test
>          Components: User Interface
>    Affects Versions: 0.1.2
>            Reporter: Terence Kwan
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: patch
>
>
> Adding testing script to test the database tables cluster_disk,cluster_system_metrics,disk,mr_job,mr_task,system_metrics.
> Assume the data is in the database, the script will get the data from the web UI json page and compare the json page to the actual value in the database.

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


[jira] Updated: (CHUKWA-177) Adding Testing script for database to UI data path

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

Eric Yang updated CHUKWA-177:
-----------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this, thanks Terence.

> Adding Testing script for database to UI data path
> --------------------------------------------------
>
>                 Key: CHUKWA-177
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-177
>             Project: Hadoop Chukwa
>          Issue Type: Test
>          Components: User Interface
>    Affects Versions: 0.1.2
>            Reporter: Terence Kwan
>            Assignee: Terence Kwan
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: CHUKWA-177.patch, patch
>
>
> Adding testing script to test the database tables cluster_disk,cluster_system_metrics,disk,mr_job,mr_task,system_metrics.
> Assume the data is in the database, the script will get the data from the web UI json page and compare the json page to the actual value in the database.

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


[jira] Commented: (CHUKWA-177) Adding Testing script for database to UI data path

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716965#action_12716965 ] 

Hudson commented on CHUKWA-177:
-------------------------------

Integrated in Chukwa-trunk #45 (See [http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/45/])
    

> Adding Testing script for database to UI data path
> --------------------------------------------------
>
>                 Key: CHUKWA-177
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-177
>             Project: Hadoop Chukwa
>          Issue Type: Test
>          Components: User Interface
>    Affects Versions: 0.1.2
>            Reporter: Terence Kwan
>            Assignee: Terence Kwan
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: CHUKWA-177.patch, patch
>
>
> Adding testing script to test the database tables cluster_disk,cluster_system_metrics,disk,mr_job,mr_task,system_metrics.
> Assume the data is in the database, the script will get the data from the web UI json page and compare the json page to the actual value in the database.

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


[jira] Assigned: (CHUKWA-177) Adding Testing script for database to UI data path

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

Eric Yang reassigned CHUKWA-177:
--------------------------------

    Assignee: Terence Kwan

> Adding Testing script for database to UI data path
> --------------------------------------------------
>
>                 Key: CHUKWA-177
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-177
>             Project: Hadoop Chukwa
>          Issue Type: Test
>          Components: User Interface
>    Affects Versions: 0.1.2
>            Reporter: Terence Kwan
>            Assignee: Terence Kwan
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: CHUKWA-177.patch, patch
>
>
> Adding testing script to test the database tables cluster_disk,cluster_system_metrics,disk,mr_job,mr_task,system_metrics.
> Assume the data is in the database, the script will get the data from the web UI json page and compare the json page to the actual value in the database.

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