在hadoop中编译保险丝时出错

时间:2015-01-05 08:58:58

标签: windows hadoop video-streaming fuse

我正在尝试使用hadoop流式传输视频,但我遇到了以下链接

http://internetmemory.org/en/index.php/synapse/using_hadoop_for_video_streaming/

由此我学到的保险丝可用于将HDFS作为本地文件系统安装,并使用保险库库我们可以进行文件操作。还要挂载我已经按照以下链接

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

任何人都可以告诉我如何解决这个问题吗?

0 个答案:

没有答案