[
https://issues.apache.org/jira/browse/YARN-9365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16795749#comment-16795749
]
Hudson commented on YARN-9365:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16243 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/16243/])
YARN-9365. Fix table creation command in TimelineServiceV2.md (rohithsharmaks:
rev c9e50c48de4ff7ef6bb89153362531833fd8da9f)
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/TimelineServiceV2.md
> fix wrong command in TimelineServiceV2.md
> ------------------------------------------
>
> Key: YARN-9365
> URL: https://issues.apache.org/jira/browse/YARN-9365
> Project: Hadoop YARN
> Issue Type: Bug
> Components: timelineserver
> Affects Versions: 3.2.0, 3.1.1
> Reporter: Runlin Zhang
> Assignee: Runlin Zhang
> Priority: Major
> Fix For: 3.3.0
>
> Attachments: YARN-9365.patch
>
>
> In TimelineServiceV2.md 255,The step to create the timeline service schema
> does not work
>
> {noformat}
> Finally, run the schema creator tool to create the necessary tables:
> bin/hadoop
> org.apache.hadoop.yarn.server.timelineservice.storage.TimelineSchemaCreator
> -create{noformat}
>
> should be
>
> {noformat}
> The schema creation can be run on the hbase cluster which is going to store
> the timeline
> service tables. The schema creator tool requires both the
> timelineservice-hbase as well
> as the hbase-server jars. Hence, during schema creation, you need to ensure
> that the
> hbase classpath contains the yarn-timelineservice-hbase jar.
> On the hbase cluster, you can get it from hdfs since we placed it there for
> the
> coprocessor in the step above.
> ```
> hadoop fs -get
> /hbase/coprocessor/hadoop-yarn-server-timelineservice-hbase-client-${project.version}.jar
> hadoop fs -get
> /hbase/coprocessor/hadoop-yarn-server-timelineservice-${project.version}.jar
> hadoop fs -get
> /hbase/coprocessor/hadoop-yarn-server-timelineservice-hbase-common-${project.version}.jar
> <local-dir>/.
> ```
> Next, add it to the hbase classpath as follows:
> ```
> export
> HBASE_CLASSPATH=$HBASE_CLASSPATH:/home/yarn/hadoop-current/share/hadoop/yarn/timelineservice/hadoop-yarn-server-timelineservice-hbase-client-${project.version}.jar
> export
> HBASE_CLASSPATH=$HBASE_CLASSPATH:/home/yarn/hadoop-current/share/hadoop/yarn/timelineservice/hadoop-yarn-server-timelineservice-${project.version}.jar
> export
> HBASE_CLASSPATH=$HBASE_CLASSPATH:/home/yarn/hadoop-current/share/hadoop/yarn/timelineservice/hadoop-yarn-server-timelineservice-hbase-common-${project.version}.jar
> ```
> Finally, run the schema creator tool to create the necessary tables:
> ```
> bin/hbase
> org.apache.hadoop.yarn.server.timelineservice.storage.TimelineSchemaCreator
> -create
> ```{noformat}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]