在ApacheHadoop1.2.1上安装snapy时生成错误

0wi1tuuw  于 2021-05-29  发布在  Hadoop
关注(0)|答案(0)|浏览(163)

我在构建数据库时出错 snappy . 我遵循以下步骤:
从以下位置下载http://code.google.com/p/snappy/.
用命令解开它 tar xvzf snappy-1.1.3 然后执行以下命令
hadoop@hadooppseudovm:~$mv google-snappy-0852af7 snappy1hadoop@hadooppseudovm用法:~$vi/home/hadoop/.bashrc
hadoop@hadooppseudovm用法:~$exec bash
hadoop@hadooppseudovm用法:~$mvn包-dsnappy.prefix=/home/hadoop/snappy1

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.433s
[INFO] Finished at: Fri Sep 18 16:08:43 IST 2015
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/hadoop). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException

错误说明我没有提到这个项目。怎么说呢?

暂无答案!

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

相关问题