falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesh Seetharam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-65) Avoid bundling compilation path dependent configs in artifact and allow for config scan to seamlessly fallback to classpath if not found in default conf location
Date Sun, 28 Jul 2013 06:13:48 GMT

    [ https://issues.apache.org/jira/browse/FALCON-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13721887#comment-13721887
] 

Venkatesh Seetharam commented on FALCON-65:
-------------------------------------------

Verified the build, all unit and integration tests pass. Also verified the properties files
loading is correct. 

{code}
2013-07-27 23:03:30,191 INFO  - [main:] ~ Fallback to classpath for: jar:file:/Users/seetharam/Dev/apache-workspace/falcon/sandbox/falcon-sandbox/target/falcon-0.4-incubating-SNAPSHOT/server/webapp/lib/falcon-prism-0.4-incubating-SNAPSHOT-classes.jar!/falcon-buildinfo.properties
(ApplicationProperties:119)
2013-07-27 23:03:30,195 INFO  - [main:] ~ Initializing properties with domain all (ApplicationProperties:141)

....

2013-07-27 23:03:32,742 INFO  - [main:] ~ Initializing startup properties ... (ContextStartupListener:48)
2013-07-27 23:03:32,742 INFO  - [main:] ~ config.location is set, using: /Users/seetharam/Dev/apache-workspace/falcon/sandbox/falcon-sandbox/target/falcon-0.4-incubating-SNAPSHOT/conf/startup.properties
(ApplicationProperties:106)
2013-07-27 23:03:32,743 INFO  - [main:] ~ Initializing properties with domain debug (ApplicationProperties:141)
2013-07-27 23:03:32,744 DEBUG - [main:] ~ configstore.listeners=org.apache.falcon.entity.v0.EntityGraph,org.apache.falcon.entity.ColoClusterRelation,org.apache.falcon.group.FeedGroupMap,org.apache.falcon.service.SharedLibraryHostingService
(ApplicationProperties:146)
2013-07-27 23:03:32,745 DEBUG - [main:] ~ system.lib.location=/Users/seetharam/Dev/apache-workspace/falcon/sandbox/falcon-sandbox/target/falcon-0.4-incubating-SNAPSHOT/server/lib
(ApplicationProperties:146)
2013-07-27 23:03:32,752 DEBUG - [main:] ~ config.store.uri=file:///Users/seetharam/Dev/apache-workspace/falcon/sandbox/falcon-sandbox/target/falcon-0.4-incubating-SNAPSHOT/store
(ApplicationProperties:146)

...

2013-07-27 23:03:32,753 INFO  - [main:] ~ Initializing runtime properties ... (ContextStartupListener:51)
2013-07-27 23:03:32,754 INFO  - [main:] ~ config.location is set, using: /Users/seetharam/Dev/apache-workspace/falcon/sandbox/falcon-sandbox/target/falcon-0.4-incubating-SNAPSHOT/conf/runtime.properties
(ApplicationProperties:106)
2013-07-27 23:03:32,754 INFO  - [main:] ~ Initializing properties with domain debug (ApplicationProperties:141)
2013-07-27 23:03:32,754 DEBUG - [main:] ~ log.cleanup.frequency.hours.retention=minutes(1)
(ApplicationProperties:146)

...

{code}

But I do see one issue. Somehow I see each of the properties being initialized twice apart
from logging it twice in each. I'm attaching the application.log for your convenience.

{code}
2013-07-27 23:03:32,753 INFO  - [main:] ~ Initializing runtime properties ... (ContextStartupListener:51)
2013-07-27 23:03:32,753 INFO  - [main:] ~ Initializing runtime properties ... (ContextStartupListener:51)
2013-07-27 23:03:32,754 INFO  - [main:] ~ config.location is set, using: /Users/seetharam/Dev/apache-workspace/falcon/sandbox/falcon-sandbox/target/falcon-0.4-incubating-SNAPSHOT/conf/runtime.properties
(ApplicationProperties:106)
2013-07-27 23:03:32,754 INFO  - [main:] ~ config.location is set, using: /Users/seetharam/Dev/apache-workspace/falcon/sandbox/falcon-sandbox/target/falcon-0.4-incubating-SNAPSHOT/conf/runtime.properties
(ApplicationProperties:106)
2013-07-27 23:03:32,754 INFO  - [main:] ~ Initializing properties with domain debug (ApplicationProperties:141)
2013-07-27 23:03:32,754 INFO  - [main:] ~ Initializing properties with domain debug (ApplicationProperties:141)
2013-07-27 23:03:32,754 DEBUG - [main:] ~ log.cleanup.frequency.hours.retention=minutes(1)
(ApplicationProperties:146)
2013-07-27 23:03:32,754 DEBUG - [main:] ~ log.cleanup.frequency.hours.retention=minutes(1)
(ApplicationProperties:146)
2013-07-27 23:03:32,755 DEBUG - [main:] ~ log.cleanup.frequency.months.retention=months(3)
(ApplicationProperties:146)
2013-07-27 23:03:32,755 DEBUG - [main:] ~ log.cleanup.frequency.months.retention=months(3)
(ApplicationProperties:146)
2013-07-27 23:03:32,755 DEBUG - [main:] ~ log.cleanup.frequency.minutes.retention=hours(6)
(ApplicationProperties:146)
2013-07-27 23:03:32,755 DEBUG - [main:] ~ log.cleanup.frequency.minutes.retention=hours(6)
(ApplicationProperties:146)
2013-07-27 23:03:32,755 DEBUG - [main:] ~ domain=debug (ApplicationProperties:146)
2013-07-27 23:03:32,755 DEBUG - [main:] ~ domain=debug (ApplicationProperties:146)
2013-07-27 23:03:32,756 DEBUG - [main:] ~ log.cleanup.frequency.days.retention=days(7) (ApplicationProperties:146)
2013-07-27 23:03:32,756 DEBUG - [main:] ~ log.cleanup.frequency.days.retention=days(7) (ApplicationProperties:146)
2013-07-27 23:03:32,757 INFO  - [Thread-9:] ~ config.location is set, using: /Users/seetharam/Dev/apache-workspace/falcon/sandbox/falcon-sandbox/target/falcon-0.4-incubating-SNAPSHOT/conf/runtime.properties
(ApplicationProperties:106)
2013-07-27 23:03:32,757 INFO  - [Thread-9:] ~ config.location is set, using: /Users/seetharam/Dev/apache-workspace/falcon/sandbox/falcon-sandbox/target/falcon-0.4-incubating-SNAPSHOT/conf/runtime.properties
(ApplicationProperties:106)
2013-07-27 23:03:32,757 INFO  - [Thread-9:] ~ Initializing properties with domain debug (ApplicationProperties:141)
2013-07-27 23:03:32,757 INFO  - [Thread-9:] ~ Initializing properties with domain debug (ApplicationProperties:141)
2013-07-27 23:03:32,757 DEBUG - [Thread-9:] ~ log.cleanup.frequency.hours.retention=minutes(1)
(ApplicationProperties:146)
2013-07-27 23:03:32,757 DEBUG - [Thread-9:] ~ log.cleanup.frequency.hours.retention=minutes(1)
(ApplicationProperties:146)
2013-07-27 23:03:32,758 DEBUG - [Thread-9:] ~ log.cleanup.frequency.months.retention=months(3)
(ApplicationProperties:146)
2013-07-27 23:03:32,758 DEBUG - [Thread-9:] ~ log.cleanup.frequency.months.retention=months(3)
(ApplicationProperties:146)
2013-07-27 23:03:32,758 DEBUG - [Thread-9:] ~ log.cleanup.frequency.minutes.retention=hours(6)
(ApplicationProperties:146)
2013-07-27 23:03:32,758 DEBUG - [Thread-9:] ~ log.cleanup.frequency.minutes.retention=hours(6)
(ApplicationProperties:146)
2013-07-27 23:03:32,758 DEBUG - [Thread-9:] ~ domain=debug (ApplicationProperties:146)
2013-07-27 23:03:32,758 DEBUG - [Thread-9:] ~ domain=debug (ApplicationProperties:146)
2013-07-27 23:03:32,758 DEBUG - [Thread-9:] ~ log.cleanup.frequency.days.retention=days(7)
(ApplicationProperties:146)
2013-07-27 23:03:32,758 DEBUG - [Thread-9:] ~ log.cleanup.frequency.days.retention=days(7)
(ApplicationProperties:146)
{code}
                
> Avoid bundling compilation path dependent configs in artifact and allow for config scan
to seamlessly fallback to classpath if not found in default conf location
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FALCON-65
>                 URL: https://issues.apache.org/jira/browse/FALCON-65
>             Project: Falcon
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 0.3
>            Reporter: Srikanth Sundarrajan
>            Assignee: Srikanth Sundarrajan
>              Labels: general
>             Fix For: 0.3
>
>         Attachments: application.log, FALCON-65.patch
>
>
> Avoid bundling compilation path dependent configs in artifact and allow for config scan
to seamlessly fallback to classpath if not found in default conf location

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message