[
https://issues.apache.org/jira/browse/YARN-6316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15951833#comment-15951833
]
Haibo Chen commented on YARN-6316:
----------------------------------
Looked into this a little bit. I was thinking of have two subcommands, help and
create, but common-cli unfortunately has no support for that. We can add a
mandatory option to create tables and handle different cases in the following
way
1) `java TimelineSchemaCreator -help [...]` print usage
2) `java TimelineSchemaCreator -create [-entityTableName] [-metricsTTL]
[-appToflowTableName] [-applicationTableName] [-skipExistingTable]`
create tables the same way as today
3) `java TimelineSchemaCreator` print usage
4) all other cases print
usage
> Provide help information and documentation for TimelineSchemaCreator
> --------------------------------------------------------------------
>
> Key: YARN-6316
> URL: https://issues.apache.org/jira/browse/YARN-6316
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: timelineserver
> Reporter: Li Lu
> Assignee: Haibo Chen
>
> Right now there is no help information for timeline schema creator. We may
> probably want to provide an option to print help. Also, ideally, if users
> passed in no argument, we may want to print out help, instead of directly
> create the tables. This will simplify cluster operations and timeline v2
> deployments.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]