Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9365

fix wrong command in TimelineServiceV2.md

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0, 3.1.1
    • 3.3.0
    • timelineserver
    • None
    • Reviewed

    Description

      In TimelineServiceV2.md  255,The step to  create  the timeline service schema does  not work

       

      Finally, run the schema creator tool to create the necessary tables:
      
          bin/hadoop org.apache.hadoop.yarn.server.timelineservice.storage.TimelineSchemaCreator -create

       

      should be

       

      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
      ```

       

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            runlin Runlin Zhang Assign to me
            runlin Runlin Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment