在hadoop中编译fuse时出错

bihw5rsg  于 2021-05-30  发布在  Hadoop
关注(0)|答案(0)|浏览(282)

我正在尝试使用hadoop流式传输视频,我遇到了以下链接
http://internetmemory.org/en/index.php/synapse/using_hadoop_for_video_streaming/
从这里我学到了fuse可以用来挂载hdfs作为本地文件系统,使用fuse库我们可以进行文件操作。我还按照下面的链接进行了安装
http://wiki.apache.org/hadoop/buildfusedfs023
根据链接,我切换到 hadoop-home/hadoop-hdfsproject/hadoop-hdfs 并下达了命令 mvn package -Pnative . 但它显示了以下错误

main:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.969 s
[INFO] Finished at: 2015-01-05T14:03:43+05:30
[INFO] Final Memory: 32M/613M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:
run (make) on project hadoop-hdfs: An Ant BuildException has occured: Execute fa
iled: java.io.IOException: Cannot run program "cmake" (in directory "D:\hadoopso
urces\hadoop-2.5.1-src\hadoop-hdfs-project\hadoop-hdfs\target\native"): CreatePr
ocess error=2, The system cannot find the file specified
[ERROR] around Ant part ...<exec dir="D:\hadoopsources\hadoop-2.5.1-src\hadoop-h
dfs-project\hadoop-hdfs\target/native" executable="cmake" failonerror="true">...
 @ 5:133 in D:\hadoopsources\hadoop-2.5.1-src\hadoop-hdfs-project\hadoop-hdfs\ta
rget\antrun\build-main.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception

有谁能告诉我怎么解决这个问题吗?

暂无答案!

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

相关问题