在Apache hadoop 1.2.1上安装snaapy时构建错误

时间:2015-09-18 10:46:42

标签: hadoop snappy

我在构建snappy时遇到错误。我按照下面提到的步骤进行了操作:

  1. http://code.google.com/p/snappy/下载。
  2. 使用命令tar xvzf snappy-1.1.3
  3. 解压缩它
  4. 然后按照以下命令
  5.   

    hadoop @ HadoopPseudoVM:〜$ mv google-snappy-0852af7 snappy1       hadoop @ HadoopPseudoVM:〜$ vi /home/hadoop/.bashrc
          hadoop @ HadoopPseudoVM:〜$ exec bash
          hadoop @ HadoopPseudoVM:〜$ mvn package -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
    

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

0 个答案:

没有答案