You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2011/09/14 00:58:08 UTC

[jira] [Created] (OOZIE-557) Simplify/normalize testing configuration when using different databases

Simplify/normalize testing configuration when using different databases
-----------------------------------------------------------------------

                 Key: OOZIE-557
                 URL: https://issues.apache.org/jira/browse/OOZIE-557
             Project: Oozie
          Issue Type: Improvement
            Reporter: Alejandro Abdelnur
            Assignee: Alejandro Abdelnur


Each database should have a custom $DB-oozie-setup.xml in test/resources.

The 'oozie.test.db' property should drive the loading of the corresponding site file.

There should be site files for the supported DBs: hsqldb, derby, mysql, oracle & postgres.

The same property should drive the inclusion of the Oracle/Mysql JAR file as a dependency.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OOZIE-557) Simplify/normalize testing configuration when using different databases

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

Alejandro Abdelnur updated OOZIE-557:
-------------------------------------

    Attachment: OOZIE-557v1.patch

there is an oozie-site.xml for each DB an they are picked up via the -Doozie.test.db=hsqldb*|derby|oracle|mysql|postgres property.

> Simplify/normalize testing configuration when using different databases
> -----------------------------------------------------------------------
>
>                 Key: OOZIE-557
>                 URL: https://issues.apache.org/jira/browse/OOZIE-557
>             Project: Oozie
>          Issue Type: Improvement
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: OOZIE-557v1.patch
>
>
> Each database should have a custom $DB-oozie-setup.xml in test/resources.
> The 'oozie.test.db' property should drive the loading of the corresponding site file.
> There should be site files for the supported DBs: hsqldb, derby, mysql, oracle & postgres.
> The same property should drive the inclusion of the Oracle/Mysql JAR file as a dependency.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-557) Simplify/normalize testing configuration when using different databases

Posted by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104697#comment-13104697 ] 

jiraposter@reviews.apache.org commented on OOZIE-557:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1894/
-----------------------------------------------------------

(Updated 2011-09-14 17:31:01.400505)


Review request for oozie.


Summary (updated)
-------

Simplify/normalize testing configuration when using different databases


This addresses bug OOZIE-557.
    https://issues.apache.org/jira/browse/OOZIE-557


Diffs
-----

  /trunk/core/pom.xml 1170637 
  /trunk/core/src/test/java/org/apache/oozie/test/XTestCase.java 1170637 
  /trunk/core/src/test/resources/derby-oozie-site.xml PRE-CREATION 
  /trunk/core/src/test/resources/hsqldb-oozie-site.xml PRE-CREATION 
  /trunk/core/src/test/resources/mysql-oozie-site.xml 1170637 
  /trunk/core/src/test/resources/oracle-oozie-site.xml PRE-CREATION 
  /trunk/core/src/test/resources/postgres-oozie-site.xml PRE-CREATION 
  /trunk/core/src/test/resources/postgresql-oozie-site.xml 1170637 
  /trunk/docs/src/site/twiki/ENG_Building.twiki 1170637 
  /trunk/pom.xml 1170637 

Diff: https://reviews.apache.org/r/1894/diff


Testing
-------

tested with all supported DBs (hsqldb, derby, oracle, mysql, postgres)


Thanks,

Alejandro



> Simplify/normalize testing configuration when using different databases
> -----------------------------------------------------------------------
>
>                 Key: OOZIE-557
>                 URL: https://issues.apache.org/jira/browse/OOZIE-557
>             Project: Oozie
>          Issue Type: Improvement
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: OOZIE-557v1.patch
>
>
> Each database should have a custom $DB-oozie-setup.xml in test/resources.
> The 'oozie.test.db' property should drive the loading of the corresponding site file.
> There should be site files for the supported DBs: hsqldb, derby, mysql, oracle & postgres.
> The same property should drive the inclusion of the Oracle/Mysql JAR file as a dependency.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-557) Simplify/normalize testing configuration when using different databases

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119734#comment-13119734 ] 

jiraposter@reviews.apache.org commented on OOZIE-557:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1894/#review2060
-----------------------------------------------------------



/trunk/pom.xml
<https://reviews.apache.org/r/1894/#comment4640>

    Pls remove these tabs.



/trunk/pom.xml
<https://reviews.apache.org/r/1894/#comment4641>

    Same remove tabs


- Mohammad


On 2011-09-14 17:31:01, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/1894/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-09-14 17:31:01)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Simplify/normalize testing configuration when using different databases
bq.  
bq.  
bq.  This addresses bug OOZIE-557.
bq.      https://issues.apache.org/jira/browse/OOZIE-557
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /trunk/core/pom.xml 1170637 
bq.    /trunk/core/src/test/java/org/apache/oozie/test/XTestCase.java 1170637 
bq.    /trunk/core/src/test/resources/derby-oozie-site.xml PRE-CREATION 
bq.    /trunk/core/src/test/resources/hsqldb-oozie-site.xml PRE-CREATION 
bq.    /trunk/core/src/test/resources/mysql-oozie-site.xml 1170637 
bq.    /trunk/core/src/test/resources/oracle-oozie-site.xml PRE-CREATION 
bq.    /trunk/core/src/test/resources/postgres-oozie-site.xml PRE-CREATION 
bq.    /trunk/core/src/test/resources/postgresql-oozie-site.xml 1170637 
bq.    /trunk/docs/src/site/twiki/ENG_Building.twiki 1170637 
bq.    /trunk/pom.xml 1170637 
bq.  
bq.  Diff: https://reviews.apache.org/r/1894/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  tested with all supported DBs (hsqldb, derby, oracle, mysql, postgres)
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> Simplify/normalize testing configuration when using different databases
> -----------------------------------------------------------------------
>
>                 Key: OOZIE-557
>                 URL: https://issues.apache.org/jira/browse/OOZIE-557
>             Project: Oozie
>          Issue Type: Improvement
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: OOZIE-557v1.patch
>
>
> Each database should have a custom $DB-oozie-setup.xml in test/resources.
> The 'oozie.test.db' property should drive the loading of the corresponding site file.
> There should be site files for the supported DBs: hsqldb, derby, mysql, oracle & postgres.
> The same property should drive the inclusion of the Oracle/Mysql JAR file as a dependency.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OOZIE-557) Simplify/normalize testing configuration when using different databases

Posted by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104679#comment-13104679 ] 

jiraposter@reviews.apache.org commented on OOZIE-557:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1894/
-----------------------------------------------------------

Review request for oozie.


Summary
-------

Simplify/normalize testing configuration when using different databases


This addresses bug OOZIE-557.
    https://issues.apache.org/jira/browse/OOZIE-557


Diffs
-----

  /trunk/core/pom.xml 1170637 
  /trunk/core/src/test/java/org/apache/oozie/test/XTestCase.java 1170637 
  /trunk/core/src/test/resources/derby-oozie-site.xml PRE-CREATION 
  /trunk/core/src/test/resources/hsqldb-oozie-site.xml PRE-CREATION 
  /trunk/core/src/test/resources/mysql-oozie-site.xml 1170637 
  /trunk/core/src/test/resources/oracle-oozie-site.xml PRE-CREATION 
  /trunk/core/src/test/resources/postgres-oozie-site.xml PRE-CREATION 
  /trunk/core/src/test/resources/postgresql-oozie-site.xml 1170637 
  /trunk/docs/src/site/twiki/ENG_Building.twiki 1170637 
  /trunk/pom.xml 1170637 

Diff: https://reviews.apache.org/r/1894/diff


Testing
-------

tested with all supported DBs (hsqldb, derby, oracle, mysql, postgres)


Thanks,

Alejandro



> Simplify/normalize testing configuration when using different databases
> -----------------------------------------------------------------------
>
>                 Key: OOZIE-557
>                 URL: https://issues.apache.org/jira/browse/OOZIE-557
>             Project: Oozie
>          Issue Type: Improvement
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: OOZIE-557v1.patch
>
>
> Each database should have a custom $DB-oozie-setup.xml in test/resources.
> The 'oozie.test.db' property should drive the loading of the corresponding site file.
> There should be site files for the supported DBs: hsqldb, derby, mysql, oracle & postgres.
> The same property should drive the inclusion of the Oracle/Mysql JAR file as a dependency.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira