format alluxio:未找到以下文件系统工厂:hdfs://nameservice1/alluxio/journal/blockmaster

zbsbpyhn  于 2021-06-27  发布在  Java
关注(0)|答案(0)|浏览(465)

我想在具有ha的集群上部署alluxio。我的cdh版本:3.0.0+cdh6.3.2。
我使用特定的hadoop发布版本构建alluxio:

mvn install -Phadoop-3 -Dhadoop.version=3.0.0 -DskipTests

我将alluxio-assembly-server-2.4.1-2-snapshot-jar-with-dependencies.jar和alluxio-underfs-hdfs-2.4.1-2-snapshot-jar-with-dependencies.jar放在alluxio every节点的lib/文件夹中。
/opt/alluxio-2.4.1-1/conf/alluxio-site.properties:

alluxio.master.mount.table.root.ufs=hdfs://nameservice1/alluxio/data
alluxio.master.journal.type=UFS
alluxio.master.journal.folder=hdfs://nameservice1/alluxio/journal/
alluxio.master.security.impersonation.root.users=*
alluxio.worker.tieredstore.level0.dirs.quota=10GB
alluxio.worker.tieredstore.level1.dirs.quota=10GB
alluxio.worker.tieredstore.level2.dirs.quota=10GB

alluxio.zookeeper.enabled=true
alluxio.zookeeper.address=test-cdh001:2181,test-cdh002:2181,test-cdh003:2181

alluxio.underfs.hdfs.configuration=/etc/hadoop/conf/core-site.xml:/etc/hadoop/conf/hdfs-site.xml

在其中一个主节点中使用以下命令格式化alluxio群集时:

./bin/alluxio format

我有个错误:

Executing the following command on all worker nodes and logging to /opt/alluxio-2.4.1-1/logs/task.log: /opt/alluxio-2.4.1-1/bin/alluxio formatWorker
Waiting for tasks to finish...
All tasks finished
Formatting Alluxio Master @ test-cdh001
2021-01-07 18:35:58,766 INFO  Format - Formatting master journal: hdfs://nameservice1/alluxio/journal/
2021-01-07 18:35:58,806 INFO  ExtensionFactoryRegistry - Loading core jars from /opt/alluxio-2.4.1-1/lib
2021-01-07 18:35:58,869 INFO  ExtensionFactoryRegistry - Loading extension jars from /opt/alluxio-2.4.1-1/extensions
2021-01-07 18:35:58,886 WARN  ExtensionFactoryRegistry - No factory implementation supports the path hdfs://nameservice1/alluxio/journal/BlockMaster
2021-01-07 18:35:58,887 INFO  ExtensionFactoryRegistry - Loading core jars from /opt/alluxio-2.4.1-1/lib
2021-01-07 18:35:58,906 INFO  ExtensionFactoryRegistry - Loading extension jars from /opt/alluxio-2.4.1-1/extensions
2021-01-07 18:35:58,915 WARN  ExtensionFactoryRegistry - No factory implementation supports the path hdfs://nameservice1/alluxio/journal/BlockMaster
2021-01-07 18:35:58,915 ERROR Format - Failed to format
java.lang.IllegalArgumentException: No Under File System Factory found for: hdfs://nameservice1/alluxio/journal/BlockMaster
    at alluxio.underfs.UnderFileSystem$Factory.create(UnderFileSystem.java:95)
    at alluxio.master.journal.ufs.UfsJournal.<init>(UfsJournal.java:149)
    at alluxio.master.journal.ufs.UfsJournalSystem.createJournal(UfsJournalSystem.java:73)
    at alluxio.master.journal.ufs.UfsJournalSystem.createJournal(UfsJournalSystem.java:47)
    at alluxio.cli.Format.format(Format.java:120)
    at alluxio.cli.Format.main(Format.java:97)

任何帮助都将不胜感激。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题