hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6316) Provide help information and documentation for TimelineSchemaCreator
Date Fri, 31 Mar 2017 23:59:41 GMT

    [ 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message