You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by brian Foster <ho...@juno.com> on 2012/03/17 00:31:47 UTC
Review Request: Improved CAS-PGE logging,
product ingest fail CAS-PGE will fail,
and PgeConfigBuilder configurable via PgeTaskMetKeys
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4393/
-----------------------------------------------------------
Review request for oodt, Chris Mattmann, Ricky Nguyen, Paul Ramirez, and Thomas Bennett.
Summary
-------
The 2 main issues here (and they are small changes) are:
- CAS-PGE now fails when products fail to ingest
* this was the changes found in createPgeConfig() and the addition of the key to PgeTaskMetKeys
- PgeConfigBuilder is configurable via PgeTaskMetKeys
* this was the removal of the Exception catching in: runIngestCrawler
The other issue is just overall improvement to PgeTaskInstance logging
ALSO: run(Metadata, WorkflowTaskConfiguration) method was moved to the top for better visibility
This addresses bugs OODT-418, OODT-419 and OODT-420.
https://issues.apache.org/jira/browse/OODT-418
https://issues.apache.org/jira/browse/OODT-419
https://issues.apache.org/jira/browse/OODT-420
Diffs
-----
trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java 1301762
trunk/pge/src/main/java/org/apache/oodt/cas/pge/config/XmlFilePgeConfigBuilder.java 1301761
trunk/pge/src/main/java/org/apache/oodt/cas/pge/metadata/PgeTaskMetKeys.java 1301762
Diff: https://reviews.apache.org/r/4393/diff
Testing
-------
Thanks,
brian
Re: Review Request: Improved CAS-PGE logging,
product ingest fail CAS-PGE will fail,
and PgeConfigBuilder configurable via PgeTaskMetKeys
Posted by brian Foster <ho...@juno.com>.
> On 2012-03-17 02:35:38, Chris Mattmann wrote:
> > trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java, line 133
> > <https://reviews.apache.org/r/4393/diff/1/?file=93140#file93140line133>
> >
> > Typo, should be //Run the PGE and process its data.
done!
> On 2012-03-17 02:35:38, Chris Mattmann wrote:
> > trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java, line 139
> > <https://reviews.apache.org/r/4393/diff/1/?file=93140#file93140line139>
> >
> > Typo, should be //Ingest products.
done!
> On 2012-03-17 02:35:38, Chris Mattmann wrote:
> > trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java, line 391
> > <https://reviews.apache.org/r/4393/diff/1/?file=93140#file93140line391>
> >
> > Should we LOG.fine this? Maybe:
> >
> > log(Level.FINE, "File: ["+file+"] matched.");
done!
> On 2012-03-17 02:35:38, Chris Mattmann wrote:
> > trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java, line 467
> > <https://reviews.apache.org/r/4393/diff/1/?file=93140#file93140line467>
> >
> > extraneous removal of this.build... for consistency?
i'm remove all the this's from this.<method> calls, it just looks cleaner and the this is totally not necessary.
> On 2012-03-17 02:35:38, Chris Mattmann wrote:
> > trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java, line 594
> > <https://reviews.apache.org/r/4393/diff/1/?file=93140#file93140line594>
> >
> > Should be: Verifying
done!
- brian
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4393/#review6060
-----------------------------------------------------------
On 2012-03-17 20:19:38, brian Foster wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/4393/
> -----------------------------------------------------------
>
> (Updated 2012-03-17 20:19:38)
>
>
> Review request for oodt, Chris Mattmann, Ricky Nguyen, Paul Ramirez, and Thomas Bennett.
>
>
> Summary
> -------
>
> The 2 main issues here (and they are small changes) are:
> - CAS-PGE now fails when products fail to ingest
> * this was the changes found in createPgeConfig() and the addition of the key to PgeTaskMetKeys
> - PgeConfigBuilder is configurable via PgeTaskMetKeys
> * this was the removal of the Exception catching in: runIngestCrawler
>
> The other issue is just overall improvement to PgeTaskInstance logging
>
> ALSO: run(Metadata, WorkflowTaskConfiguration) method was moved to the top for better visibility
>
>
> This addresses bugs OODT-418, OODT-419 and OODT-420.
> https://issues.apache.org/jira/browse/OODT-418
> https://issues.apache.org/jira/browse/OODT-419
> https://issues.apache.org/jira/browse/OODT-420
>
>
> Diffs
> -----
>
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java 1301762
> trunk/pge/src/test/org/apache/oodt/cas/pge/config/MockPgeConfigBuilder.java PRE-CREATION
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/config/XmlFilePgeConfigBuilder.java 1301761
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/logging/PgeLogHandler.java 1301762
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/logging/PgeLogRecord.java 1301762
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/metadata/PgeTaskMetKeys.java 1301762
> trunk/pge/src/test/org/apache/oodt/cas/pge/TestPGETaskInstance.java 1301762
> trunk/pge/src/test/org/apache/oodt/cas/pge/logging/TestPgeLogHandler.java 1301762
>
> Diff: https://reviews.apache.org/r/4393/diff
>
>
> Testing
> -------
>
> Still need to write unit-test for this patch...
>
>
> Thanks,
>
> brian
>
>
Re: Review Request: Improved CAS-PGE logging,
product ingest fail CAS-PGE will fail,
and PgeConfigBuilder configurable via PgeTaskMetKeys
Posted by Chris Mattmann <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4393/#review6060
-----------------------------------------------------------
trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java
<https://reviews.apache.org/r/4393/#comment13030>
Thanks for keeping this!
trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java
<https://reviews.apache.org/r/4393/#comment13032>
Typo, should be //Run the PGE and process its data.
trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java
<https://reviews.apache.org/r/4393/#comment13031>
Typo, should be //Ingest products.
trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java
<https://reviews.apache.org/r/4393/#comment13033>
Should we LOG.fine this? Maybe:
log(Level.FINE, "File: ["+file+"] matched.");
trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java
<https://reviews.apache.org/r/4393/#comment13034>
extraneous removal of this.build... for consistency?
trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java
<https://reviews.apache.org/r/4393/#comment13035>
Love it!
trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java
<https://reviews.apache.org/r/4393/#comment13036>
Should be: Verifying
trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java
<https://reviews.apache.org/r/4393/#comment13037>
Hahahahahha! Nice removal!
- Chris
On 2012-03-16 23:32:12, brian Foster wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/4393/
> -----------------------------------------------------------
>
> (Updated 2012-03-16 23:32:12)
>
>
> Review request for oodt, Chris Mattmann, Ricky Nguyen, Paul Ramirez, and Thomas Bennett.
>
>
> Summary
> -------
>
> The 2 main issues here (and they are small changes) are:
> - CAS-PGE now fails when products fail to ingest
> * this was the changes found in createPgeConfig() and the addition of the key to PgeTaskMetKeys
> - PgeConfigBuilder is configurable via PgeTaskMetKeys
> * this was the removal of the Exception catching in: runIngestCrawler
>
> The other issue is just overall improvement to PgeTaskInstance logging
>
> ALSO: run(Metadata, WorkflowTaskConfiguration) method was moved to the top for better visibility
>
>
> This addresses bugs OODT-418, OODT-419 and OODT-420.
> https://issues.apache.org/jira/browse/OODT-418
> https://issues.apache.org/jira/browse/OODT-419
> https://issues.apache.org/jira/browse/OODT-420
>
>
> Diffs
> -----
>
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java 1301762
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/config/XmlFilePgeConfigBuilder.java 1301761
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/metadata/PgeTaskMetKeys.java 1301762
>
> Diff: https://reviews.apache.org/r/4393/diff
>
>
> Testing
> -------
>
> Still need to write unit-test for this patch...
>
>
> Thanks,
>
> brian
>
>
Re: Review Request: Improved CAS-PGE logging,
product ingest fail CAS-PGE will fail,
and PgeConfigBuilder configurable via PgeTaskMetKeys
Posted by Chris Mattmann <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4393/#review6065
-----------------------------------------------------------
Ship it!
LGTM, thanks!
- Chris
On 2012-03-17 20:19:38, brian Foster wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/4393/
> -----------------------------------------------------------
>
> (Updated 2012-03-17 20:19:38)
>
>
> Review request for oodt, Chris Mattmann, Ricky Nguyen, Paul Ramirez, and Thomas Bennett.
>
>
> Summary
> -------
>
> The 2 main issues here (and they are small changes) are:
> - CAS-PGE now fails when products fail to ingest
> * this was the changes found in createPgeConfig() and the addition of the key to PgeTaskMetKeys
> - PgeConfigBuilder is configurable via PgeTaskMetKeys
> * this was the removal of the Exception catching in: runIngestCrawler
>
> The other issue is just overall improvement to PgeTaskInstance logging
>
> ALSO: run(Metadata, WorkflowTaskConfiguration) method was moved to the top for better visibility
>
>
> This addresses bugs OODT-418, OODT-419 and OODT-420.
> https://issues.apache.org/jira/browse/OODT-418
> https://issues.apache.org/jira/browse/OODT-419
> https://issues.apache.org/jira/browse/OODT-420
>
>
> Diffs
> -----
>
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java 1301762
> trunk/pge/src/test/org/apache/oodt/cas/pge/config/MockPgeConfigBuilder.java PRE-CREATION
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/config/XmlFilePgeConfigBuilder.java 1301761
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/logging/PgeLogHandler.java 1301762
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/logging/PgeLogRecord.java 1301762
> trunk/pge/src/main/java/org/apache/oodt/cas/pge/metadata/PgeTaskMetKeys.java 1301762
> trunk/pge/src/test/org/apache/oodt/cas/pge/TestPGETaskInstance.java 1301762
> trunk/pge/src/test/org/apache/oodt/cas/pge/logging/TestPgeLogHandler.java 1301762
>
> Diff: https://reviews.apache.org/r/4393/diff
>
>
> Testing
> -------
>
> Still need to write unit-test for this patch...
>
>
> Thanks,
>
> brian
>
>
Re: Review Request: Improved CAS-PGE logging,
product ingest fail CAS-PGE will fail,
and PgeConfigBuilder configurable via PgeTaskMetKeys
Posted by brian Foster <ho...@juno.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4393/
-----------------------------------------------------------
(Updated 2012-03-17 20:19:38.958054)
Review request for oodt, Chris Mattmann, Ricky Nguyen, Paul Ramirez, and Thomas Bennett.
Changes
-------
Updated unit-tests and updates per chris's comments
Summary
-------
The 2 main issues here (and they are small changes) are:
- CAS-PGE now fails when products fail to ingest
* this was the changes found in createPgeConfig() and the addition of the key to PgeTaskMetKeys
- PgeConfigBuilder is configurable via PgeTaskMetKeys
* this was the removal of the Exception catching in: runIngestCrawler
The other issue is just overall improvement to PgeTaskInstance logging
ALSO: run(Metadata, WorkflowTaskConfiguration) method was moved to the top for better visibility
This addresses bugs OODT-418, OODT-419 and OODT-420.
https://issues.apache.org/jira/browse/OODT-418
https://issues.apache.org/jira/browse/OODT-419
https://issues.apache.org/jira/browse/OODT-420
Diffs (updated)
-----
trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java 1301762
trunk/pge/src/test/org/apache/oodt/cas/pge/config/MockPgeConfigBuilder.java PRE-CREATION
trunk/pge/src/main/java/org/apache/oodt/cas/pge/config/XmlFilePgeConfigBuilder.java 1301761
trunk/pge/src/main/java/org/apache/oodt/cas/pge/logging/PgeLogHandler.java 1301762
trunk/pge/src/main/java/org/apache/oodt/cas/pge/logging/PgeLogRecord.java 1301762
trunk/pge/src/main/java/org/apache/oodt/cas/pge/metadata/PgeTaskMetKeys.java 1301762
trunk/pge/src/test/org/apache/oodt/cas/pge/TestPGETaskInstance.java 1301762
trunk/pge/src/test/org/apache/oodt/cas/pge/logging/TestPgeLogHandler.java 1301762
Diff: https://reviews.apache.org/r/4393/diff
Testing
-------
Still need to write unit-test for this patch...
Thanks,
brian
Re: Review Request: Improved CAS-PGE logging,
product ingest fail CAS-PGE will fail,
and PgeConfigBuilder configurable via PgeTaskMetKeys
Posted by brian Foster <ho...@juno.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4393/
-----------------------------------------------------------
(Updated 2012-03-16 23:32:12.090230)
Review request for oodt, Chris Mattmann, Ricky Nguyen, Paul Ramirez, and Thomas Bennett.
Summary
-------
The 2 main issues here (and they are small changes) are:
- CAS-PGE now fails when products fail to ingest
* this was the changes found in createPgeConfig() and the addition of the key to PgeTaskMetKeys
- PgeConfigBuilder is configurable via PgeTaskMetKeys
* this was the removal of the Exception catching in: runIngestCrawler
The other issue is just overall improvement to PgeTaskInstance logging
ALSO: run(Metadata, WorkflowTaskConfiguration) method was moved to the top for better visibility
This addresses bugs OODT-418, OODT-419 and OODT-420.
https://issues.apache.org/jira/browse/OODT-418
https://issues.apache.org/jira/browse/OODT-419
https://issues.apache.org/jira/browse/OODT-420
Diffs
-----
trunk/pge/src/main/java/org/apache/oodt/cas/pge/PGETaskInstance.java 1301762
trunk/pge/src/main/java/org/apache/oodt/cas/pge/config/XmlFilePgeConfigBuilder.java 1301761
trunk/pge/src/main/java/org/apache/oodt/cas/pge/metadata/PgeTaskMetKeys.java 1301762
Diff: https://reviews.apache.org/r/4393/diff
Testing (updated)
-------
Still need to write unit-test for this patch...
Thanks,
brian