falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-302) Issues with distributed package properties
Date Thu, 06 Feb 2014 12:14:08 GMT

     [ https://issues.apache.org/jira/browse/FALCON-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shwetha G S updated FALCON-302:
-------------------------------

    Description: 
1. there is no config.store.uri defined for falcon and prism separately
2. If there is a property defined for different domain, falcon star fails:
{noformat}
java.lang.NullPointerException
        at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
        at java.util.regex.Matcher.reset(Matcher.java:291)
        at java.util.regex.Matcher.<init>(Matcher.java:211)
        at java.util.regex.Pattern.matcher(Pattern.java:888)
        at org.apache.falcon.expression.ExpressionHelper.substitute(ExpressionHelper.java:189)
        at org.apache.falcon.expression.ExpressionHelper.substitute(ExpressionHelper.java:185)
        at org.apache.falcon.util.ApplicationProperties.doLoadProperties(ApplicationProperties.java:145)
        at org.apache.falcon.util.ApplicationProperties.loadProperties(ApplicationProperties.java:87)
        at org.apache.falcon.util.ApplicationProperties.loadProperties(ApplicationProperties.java:67)
        at org.apache.falcon.util.ApplicationProperties.init(ApplicationProperties.java:53)
        at org.apache.falcon.util.ApplicationProperties.<init>(ApplicationProperties.java:48)
        at org.apache.falcon.util.StartupProperties.<init>(StartupProperties.java:37)
        at org.apache.falcon.util.StartupProperties.get(StartupProperties.java:48)
{noformat}
3. FALCON_OPTS should use different names for server, client and prism
4. EL substitute not called for getting domain in ApplicationProperties
5. The variables used in startup and runtime properties like falcon.app.type do not evaluate
with EL evaluator as it resolves . for maps

  was:
1. there is no config.store.uri defined for falcon and prism separately
2. If there is a property defined for different domain, falcon star fails:
{noformat}
java.lang.NullPointerException
        at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
        at java.util.regex.Matcher.reset(Matcher.java:291)
        at java.util.regex.Matcher.<init>(Matcher.java:211)
        at java.util.regex.Pattern.matcher(Pattern.java:888)
        at org.apache.falcon.expression.ExpressionHelper.substitute(ExpressionHelper.java:189)
        at org.apache.falcon.expression.ExpressionHelper.substitute(ExpressionHelper.java:185)
        at org.apache.falcon.util.ApplicationProperties.doLoadProperties(ApplicationProperties.java:145)
        at org.apache.falcon.util.ApplicationProperties.loadProperties(ApplicationProperties.java:87)
        at org.apache.falcon.util.ApplicationProperties.loadProperties(ApplicationProperties.java:67)
        at org.apache.falcon.util.ApplicationProperties.init(ApplicationProperties.java:53)
        at org.apache.falcon.util.ApplicationProperties.<init>(ApplicationProperties.java:48)
        at org.apache.falcon.util.StartupProperties.<init>(StartupProperties.java:37)
        at org.apache.falcon.util.StartupProperties.get(StartupProperties.java:48)
{noformat}
3. FALCON_OPTS should use different names for server, client and prism
4. EL substitute not called for getting domain in ApplicationProperties


> Issues with distributed package properties
> ------------------------------------------
>
>                 Key: FALCON-302
>                 URL: https://issues.apache.org/jira/browse/FALCON-302
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Shwetha G S
>             Fix For: 0.5
>
>
> 1. there is no config.store.uri defined for falcon and prism separately
> 2. If there is a property defined for different domain, falcon star fails:
> {noformat}
> java.lang.NullPointerException
>         at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
>         at java.util.regex.Matcher.reset(Matcher.java:291)
>         at java.util.regex.Matcher.<init>(Matcher.java:211)
>         at java.util.regex.Pattern.matcher(Pattern.java:888)
>         at org.apache.falcon.expression.ExpressionHelper.substitute(ExpressionHelper.java:189)
>         at org.apache.falcon.expression.ExpressionHelper.substitute(ExpressionHelper.java:185)
>         at org.apache.falcon.util.ApplicationProperties.doLoadProperties(ApplicationProperties.java:145)
>         at org.apache.falcon.util.ApplicationProperties.loadProperties(ApplicationProperties.java:87)
>         at org.apache.falcon.util.ApplicationProperties.loadProperties(ApplicationProperties.java:67)
>         at org.apache.falcon.util.ApplicationProperties.init(ApplicationProperties.java:53)
>         at org.apache.falcon.util.ApplicationProperties.<init>(ApplicationProperties.java:48)
>         at org.apache.falcon.util.StartupProperties.<init>(StartupProperties.java:37)
>         at org.apache.falcon.util.StartupProperties.get(StartupProperties.java:48)
> {noformat}
> 3. FALCON_OPTS should use different names for server, client and prism
> 4. EL substitute not called for getting domain in ApplicationProperties
> 5. The variables used in startup and runtime properties like falcon.app.type do not evaluate
with EL evaluator as it resolves . for maps



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message