首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >format Alluxio: No Under File System Factory found for: hdfs://nameservice1/alluxio/journal/BlockMaster

format Alluxio: No Under File System Factory found for: hdfs://nameservice1/alluxio/journal/BlockMaster
EN

Stack Overflow用户
提问于 2021-01-08 10:44:40
回答 1查看 260关注 0票数 0

我想在HA.My专用宿主机版本: 3.0.0+cdh6.3.2的集群上部署Alluxio。

我使用特定的Hadoop发布版本构建Alluxio:

代码语言:javascript
复制
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放到了每一个节点的lib/文件夹中。

/opt/alluxio-2.4.1-1/conf/alluxio-site.properties:

代码语言:javascript
复制
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集群时:

代码语言:javascript
复制
./bin/alluxio format

我得到一个错误:

代码语言:javascript
复制
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)

任何帮助都将不胜感激。

EN

回答 1

Stack Overflow用户

发布于 2021-02-03 06:51:27

使用"--option alluxio.underfs.version=“将您的hadoop版本添加到装载命令中

例如。alluxio fs mount --选项alluxio.underfs.version=3.2 /mnt/hdfs/emr hdfs://主机名:8020/tmp/emr

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65622732

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档