[
https://issues.apache.org/jira/browse/FALCON-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14791331#comment-14791331
]
Sowmya Ramesh commented on FALCON-1434:
---------------------------------------
[~pallavi.rao]: I ran the IT tests and
org.apache.falcon.cli.FalconCLIIT.testScheduleEntityValidCommands test is
failing.
{noformat}
org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option:
-properties
at org.apache.commons.cli.Parser.processOption(Parser.java:363)
at org.apache.commons.cli.Parser.parse(Parser.java:199)
at org.apache.commons.cli.Parser.parse(Parser.java:119)
at org.apache.falcon.cli.CLIParser.parse(CLIParser.java:120)
at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:195)
at
org.apache.falcon.cli.FalconCLIIT.executeWithURL(FalconCLIIT.java:995)
at
org.apache.falcon.cli.FalconCLIIT.testScheduleEntityValidCommands(FalconCLIIT.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
{noformat}
> Enhance schedule API to accept key-value properties
> ---------------------------------------------------
>
> Key: FALCON-1434
> URL: https://issues.apache.org/jira/browse/FALCON-1434
> Project: Falcon
> Issue Type: Sub-task
> Reporter: Pallavi Rao
> Assignee: Pallavi Rao
> Fix For: 0.8
>
> Attachments: FALCON-1434-v2.patch, FALCON-1434-v3.patch,
> FALCON-1434.patch
>
>
> The schedule API will be enhanced to accept a key-value properties. This is a
> foundation to enable users to specify the scheduler on which they want to
> schedule the entity. This in turn enables migration to native scheduler from
> Oozie.
> Example:
> bin/falcon entity -schedule -props falcon.scheduler=native -name <entity name>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)