- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我试图在 Windows 7 上从源代码安装 Hadoop 2.4.1,在最后阶段出现以下错误。我搜索了解决方案,但无济于事。
操作系统 Windows 7:6.1(32 位)
Java:Java 版本“1.8.0_11”
协议(protocol) 2.5.0
Apache 行家 3.2.2
我使用这个教程:https://wiki.apache.org/hadoop/Hadoop2OnWindows和 https://www.srccodes.com/p/article/38/build-install-configure-run-apache-hadoop-2.2.0-microsoft-windows-os
Maven 命令:mvn package -Pdist,native-win -DskipTests -Dtar
请帮忙。
错误代码:
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Hadoop Distribution 2.4.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (create-testdirs) @ hadoop-dist ---
[INFO] Executing tasks
main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.2:resources (default-resources) @ hadoop-dist ---
[INFO] Using default encoding to copy filtered resources.
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ hadoop-dist ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.2:testResources (default-testResources) @ hadoop-dist ---
[INFO] Using default encoding to copy filtered resources.
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ hadoop-dist ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ hadoop-dist ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (dist) @ hadoop-dist ---
[INFO] Executing tasks
main:
[exec]
[exec] Current directory /cygdrive/c/hdc/hadoop-dist/target
[exec]
[exec] $ rm -rf hadoop-2.4.1
[exec] $ mkdir hadoop-2.4.1
[exec] $ cd hadoop-2.4.1
[exec] $ cp -r /cygdrive/c/hdc/hadoop-common-project/hadoop-common/target/hadoop-common-2.4.1/bin /cygdrive/c/hdc/ha
doop-common-project/hadoop-common/target/hadoop-common-2.4.1/etc /cygdrive/c/hdc/hadoop-common-project/hadoop-common/targ
et/hadoop-common-2.4.1/libexec /cygdrive/c/hdc/hadoop-common-project/hadoop-common/target/hadoop-common-2.4.1/sbin /cygdr
ive/c/hdc/hadoop-common-project/hadoop-common/target/hadoop-common-2.4.1/share .
[exec] cp.exe: /cygdrive/c/hdc/hadoop-common-project/hadoop-common/target/hadoop-common-2.4.1/bin: No such file or d
irectory
[exec] cp.exe: /cygdrive/c/hdc/hadoop-common-project/hadoop-common/target/hadoop-common-2.4.1/etc: No such file or d
irectory
[exec] cp.exe: /cygdrive/c/hdc/hadoop-common-project/hadoop-common/target/hadoop-common-2.4.1/libexec: No such file
or directory
[exec] cp.exe: /cygdrive/c/hdc/hadoop-common-project/hadoop-common/target/hadoop-common-2.4.1/sbin: No such file or
directory
[exec] cp.exe: /cygdrive/c/hdc/hadoop-common-project/hadoop-common/target/hadoop-common-2.4.1/share: No such file or
directory
[exec]
[exec] Failed!
[exec]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Main ................................. SUCCESS [ 4.006 s]
[INFO] Apache Hadoop Project POM .......................... SUCCESS [ 1.592 s]
[INFO] Apache Hadoop Annotations .......................... SUCCESS [ 4.343 s]
[INFO] Apache Hadoop Assemblies ........................... SUCCESS [ 0.233 s]
[INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [ 3.262 s]
[INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [ 4.871 s]
[INFO] Apache Hadoop MiniKDC .............................. SUCCESS [ 4.450 s]
[INFO] Apache Hadoop Auth ................................. SUCCESS [ 3.150 s]
[INFO] Apache Hadoop Auth Examples ........................ SUCCESS [ 3.384 s]
[INFO] Apache Hadoop Common ............................... SUCCESS [02:26 min]
[INFO] Apache Hadoop NFS .................................. SUCCESS [ 9.297 s]
[INFO] Apache Hadoop Common Project ....................... SUCCESS [ 0.058 s]
[INFO] Apache Hadoop HDFS ................................. SUCCESS [03:31 min]
[INFO] Apache Hadoop HttpFS ............................... SUCCESS [ 34.454 s]
[INFO] Apache Hadoop HDFS BookKeeper Journal .............. SUCCESS [ 9.568 s]
[INFO] Apache Hadoop HDFS-NFS ............................. SUCCESS [ 4.962 s]
[INFO] Apache Hadoop HDFS Project ......................... SUCCESS [ 0.071 s]
[INFO] hadoop-yarn ........................................ SUCCESS [ 0.055 s]
[INFO] hadoop-yarn-api .................................... SUCCESS [ 42.210 s]
[INFO] hadoop-yarn-common ................................. SUCCESS [ 36.877 s]
[INFO] hadoop-yarn-server ................................. SUCCESS [ 0.048 s]
[INFO] hadoop-yarn-server-common .......................... SUCCESS [ 7.941 s]
[INFO] hadoop-yarn-server-nodemanager ..................... SUCCESS [ 14.402 s]
[INFO] hadoop-yarn-server-web-proxy ....................... SUCCESS [ 2.625 s]
[INFO] hadoop-yarn-server-applicationhistoryservice ....... SUCCESS [ 4.543 s]
[INFO] hadoop-yarn-server-resourcemanager ................. SUCCESS [ 16.911 s]
[INFO] hadoop-yarn-server-tests ........................... SUCCESS [ 1.438 s]
[INFO] hadoop-yarn-client ................................. SUCCESS [ 3.495 s]
[INFO] hadoop-yarn-applications ........................... SUCCESS [ 0.042 s]
[INFO] hadoop-yarn-applications-distributedshell .......... SUCCESS [ 2.033 s]
[INFO] hadoop-yarn-applications-unmanaged-am-launcher ..... SUCCESS [ 1.682 s]
[INFO] hadoop-yarn-site ................................... SUCCESS [ 0.051 s]
[INFO] hadoop-yarn-project ................................ SUCCESS [ 3.453 s]
[INFO] hadoop-mapreduce-client ............................ SUCCESS [ 0.117 s]
[INFO] hadoop-mapreduce-client-core ....................... SUCCESS [ 33.057 s]
[INFO] hadoop-mapreduce-client-common ..................... SUCCESS [ 23.963 s]
[INFO] hadoop-mapreduce-client-shuffle .................... SUCCESS [ 2.181 s]
[INFO] hadoop-mapreduce-client-app ........................ SUCCESS [ 13.202 s]
[INFO] hadoop-mapreduce-client-hs ......................... SUCCESS [ 8.889 s]
[INFO] hadoop-mapreduce-client-jobclient .................. SUCCESS [ 7.842 s]
[INFO] hadoop-mapreduce-client-hs-plugins ................. SUCCESS [ 1.379 s]
[INFO] Apache Hadoop MapReduce Examples ................... SUCCESS [ 5.019 s]
[INFO] hadoop-mapreduce ................................... SUCCESS [ 3.700 s]
[INFO] Apache Hadoop MapReduce Streaming .................. SUCCESS [ 3.600 s]
[INFO] Apache Hadoop Distributed Copy ..................... SUCCESS [ 12.786 s]
[INFO] Apache Hadoop Archives ............................. SUCCESS [ 2.083 s]
[INFO] Apache Hadoop Rumen ................................ SUCCESS [ 6.695 s]
[INFO] Apache Hadoop Gridmix .............................. SUCCESS [ 4.275 s]
[INFO] Apache Hadoop Data Join ............................ SUCCESS [ 1.995 s]
[INFO] Apache Hadoop Extras ............................... SUCCESS [ 2.223 s]
[INFO] Apache Hadoop Pipes ................................ SUCCESS [ 0.042 s]
[INFO] Apache Hadoop OpenStack support .................... SUCCESS [ 4.186 s]
[INFO] Apache Hadoop Client ............................... SUCCESS [ 7.937 s]
[INFO] Apache Hadoop Mini-Cluster ......................... SUCCESS [ 0.158 s]
[INFO] Apache Hadoop Scheduler Load Simulator ............. SUCCESS [ 3.874 s]
[INFO] Apache Hadoop Tools Dist ........................... SUCCESS [ 5.658 s]
[INFO] Apache Hadoop Tools ................................ SUCCESS [ 0.038 s]
[INFO] Apache Hadoop Distribution ......................... FAILURE [ 2.740 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:23 min
[INFO] Finished at: 2014-07-18T17:43:34+04:00
[INFO] Final Memory: 65M/238M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (dist) on project hadoop-dist: An Ant
BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="C:\hdc\hadoop-dist\target" executable="sh">... @ 34:76 in C:\hdc
\hadoop-dist\target\antrun\build-main.xml
[ERROR] -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hadoop-dist
最佳答案
我遇到了同样的问题。
“Reactor Summar”上面有一些信息,
比如
“cp:无法打开 `/cygdrive/c/hadoop/hadoop-common-project/hadoop-common/target/hadoop-common-3.0.0-SNAPSHOT/bin/hadoop.dll' 进行读取:权限被拒绝”。
只需以管理员身份运行命令提示符
关于windows - Ant BuildException 错误构建 Hadoop 2.4.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24827416/
我已经使用 vue-cli 两个星期了,直到今天一切正常。我在本地建立这个项目。 https://drive.google.com/open?id=0BwGw1zyyKjW7S3RYWXRaX24tQ
您好,我正在尝试使用 python 库 pytesseract 从图像中提取文本。请找到代码: from PIL import Image from pytesseract import image_
我的错误 /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference
我已经训练了一个模型,我正在尝试使用 predict函数但它返回以下错误。 Error in contrasts<-(*tmp*, value = contr.funs[1 + isOF[nn]])
根据Microsoft DataConnectors的信息我想通过 this ODBC driver 创建一个从 PowerBi 到 PostgreSQL 的连接器使用直接查询。我重用了 Micros
我已经为 SoundManagement 创建了一个包,其中有一个扩展 MediaPlayer 的类。我希望全局控制这个变量。这是我的代码: package soundmanagement; impo
我在Heroku上部署了一个应用程序。我正在使用免费服务。 我经常收到以下错误消息。 PG::Error: ERROR: out of memory 如果刷新浏览器,就可以了。但是随后,它又随机发生
我正在运行 LAMP 服务器,这个 .htaccess 给我一个 500 错误。其作用是过滤关键字并重定向到相应的域名。 Options +FollowSymLinks RewriteEngine
我有两个驱动器 A 和 B。使用 python 脚本,我在“A”驱动器中创建一些文件,并运行 powerscript,该脚本以 1 秒的间隔将驱动器 A 中的所有文件复制到驱动器 B。 我在 powe
下面的函数一直返回这个错误信息。我认为可能是 double_precision 字段类型导致了这种情况,我尝试使用 CAST,但要么不是这样,要么我没有做对...帮助? 这是错误: ERROR: i
这个问题已经有答案了: Syntax error due to using a reserved word as a table or column name in MySQL (1 个回答) 已关闭
我的数据库有这个小问题。 我创建了一个表“articoli”,其中包含商品的品牌、型号和价格。 每篇文章都由一个 id (ID_ARTICOLO)` 定义,它是一个自动递增字段。 好吧,现在当我尝试插
我是新来的。我目前正在 DeVry 在线学习中级 C++ 编程。我们正在使用 C++ Primer Plus 这本书,到目前为止我一直做得很好。我的老师最近向我们扔了一个曲线球。我目前的任务是这样的:
这个问题在这里已经有了答案: What is an undefined reference/unresolved external symbol error and how do I fix it?
我的网站中有一段代码有问题;此错误仅发生在 Internet Explorer 7 中。 我没有在这里发布我所有的 HTML/CSS 标记,而是发布了网站的一个版本 here . 如您所见,我在列中有
如果尝试在 USB 设备上构建 node.js 应用程序时在我的树莓派上使用 npm 时遇到一些问题。 package.json 看起来像这样: { "name" : "node-todo",
在 Python 中,您有 None单例,在某些情况下表现得很奇怪: >>> a = None >>> type(a) >>> isinstance(a,None) Traceback (most
这是我的 build.gradle (Module:app) 文件: apply plugin: 'com.android.application' android { compileSdkV
我是 android 的新手,我的项目刚才编译和运行正常,但在我尝试实现抽屉导航后,它给了我这个错误 FAILURE: Build failed with an exception. What wen
谁能解释一下?我想我正在做一些非常愚蠢的事情,并且急切地等待着启蒙。 我得到这个输出: phpversion() == 7.2.25-1+0~20191128.32+debian8~1.gbp108
我是一名优秀的程序员,十分优秀!