2

我阅读了关于时间线服务器 v.2 文档的 Hadoop 3,它说

最后,运行模式创建工具来创建必要的表:

bin/hadoop org.apache.hadoop.yarn.server.timelineservice.storage.TimelineSchemaCreator -create

TimelineSchemaCreator 工具支持一些可能会派上用场的选项,尤其是在您进行测试时。例如,您可以使用 -skipExistingTable(简称 -s)跳过现有表并继续创建其他表,而不是使架构创建失败。默认情况下,表的模式前缀为“prod.”。当未提供选项或“-help”(简称“-h”)时,将打印命令用法。并继续创建其他表,而不是使架构创建失败。当未提供选项或“-help”(简称“-h”)时,将打印命令用法。默认情况下,表的架构前缀为“prod”。</p>

但是我在任何有关时间线服务器的 jar 中都找不到有关 TimelineSchemaCreator 代码的包 org.apache.hadoop.yarn.server.timelineservice.storage 的代码,为什么?文件没有及时更新?

# find /opt/ -name 'hadoop-yarn-server-timelineservice*jar'
/opt/hadoop-3.1.1/share/hadoop/yarn/timelineservice/hadoop-yarn-server-timelineservice-3.1.1.jar
/opt/hadoop-3.1.1/share/hadoop/yarn/timelineservice/hadoop-yarn-server-timelineservice-hbase-common-3.1.1.jar
/opt/hadoop-3.1.1/share/hadoop/yarn/timelineservice/test/hadoop-yarn-server-timelineservice-hbase-tests-3.1.1.jar
/opt/hadoop-3.1.1/share/hadoop/yarn/timelineservice/hadoop-yarn-server-timelineservice-hbase-coprocessor-3.1.1.jar
/opt/hadoop-3.1.1/share/hadoop/yarn/timelineservice/hadoop-yarn-server-timelineservice-hbase-client-3.1.1.jar
4

1 回答 1

1

我在 hadoop-yarn-server-timelineservice-hbase-client-3.1.1.jar 中找到

于 2018-08-29T07:09:52.030 回答