falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pallavi Rao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1308) Allow namespace-ing of custom properties in the entity specification
Date Tue, 07 Jul 2015 09:00:09 GMT

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

Pallavi Rao commented on FALCON-1308:

The error that gets thrown:
java.lang.IllegalArgumentException: opt contains illegal character value '.'
	at org.apache.commons.cli.OptionValidator.validateOption(OptionValidator.java:73)
	at org.apache.commons.cli.Option.<init>(Option.java:123)
	at org.apache.commons.cli.Option.<init>(Option.java:105)

Option uses an OptionValidator that rejects an option name if it has '.' in it.

> Allow namespace-ing of custom properties in the entity specification
> --------------------------------------------------------------------
>                 Key: FALCON-1308
>                 URL: https://issues.apache.org/jira/browse/FALCON-1308
>             Project: Falcon
>          Issue Type: Improvement
>          Components: common
>            Reporter: Pallavi Rao
> There are some Falcon system properties that are supplied as custom properties in the
Entity definition. Ideally, we should prefix these with "falcon.system" to distinguish them
from user-supplied properties.
> Currently, we cannot have property names that have '.' in them as the Commons CLI (OptionValidator)
rejects such names.

This message was sent by Atlassian JIRA

View raw message