使用Ant编译Hadoop工程报错

在win7用Ant编译hadoop工程的时候,遇到了一个报错,如下:

org.eclipse.core.runtime.CoreException: D:\workspace\hadoop-1.1.2\build.xml:83:
Execute failed: java.io.IOException: Cannot run program "sed"

打开build.xml文件,找到sed,然后把注释掉即可,这段内容是为了替换苹果系统的空格的,但是。。Windows出错啦,也难怪,因为hadoop他们压根儿就没想让它在windows上面跑。

 <exec executable="sed" inputstring="${os.name}"
        outputproperty="nonspace.os">
     <arg value="s/ /_/g"/>
  </exec>
时间: 2024-07-28 15:50:48

使用Ant编译Hadoop工程报错的相关文章

android应用-新建android工程 报错,大神看过来

问题描述 新建android工程 报错,大神看过来 [2015-06-21 09:40:53 - HellowWord] F:eclipse 32workspaceHellowWordresvaluesstyles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. [2015-06-21 09:40:53 -

vs2013-使用VS2013编译C++出现报错:值不能为null,参数名:SolutionDirectory

问题描述 使用VS2013编译C++出现报错:值不能为null,参数名:SolutionDirectory 使用VS2013编译C++出现报错:值不能为null,参数名:SolutionDirectory,我写的是最简单的helloworld,求解 解决方案 参考 How to use Visual Studio C++ Compiler? 在VS中,你不能够直接写一个cpp文件,然后编译.需要先创建一个项目,或在现有项目中编译. 解决方案二: 用VS工程向导建立工程,然后在自动生成的代码中添加

maven compile报错-eclipse中指定父pom的compile插件版本后子工程报错

问题描述 eclipse中指定父pom的compile插件版本后子工程报错 开发环境:eclipse mars,m2eclipse,maven3.3(external) parent pom中,Management配置compile插件,但是不指定版本, son pom中不配置compile-Plugin, 此时执行编译:发现使用的是compile plugin version = 3.1 问题开始: 此时修改 Management配置compile插件version= other,比如3.3

eclipse-个人app在android系统里面编译的时候报错

问题描述 个人app在android系统里面编译的时候报错 Error: Can't read proguard.ClassPathEntry@53ef9f1d) make[1]: *** [out/target/common/obj/APPS/Netants_intermediates/proguard.classes.jar] Error 1 描述:自己编写的app,工程名为Netants,在eclipse下能正常运行,但是放进android系统里面编译就会出错.各位大神求指点 解决方案 在

mingw-Code::Blocks Windows环境下编译HelloWorld程序报错,求高手支招!

问题描述 Code::Blocks Windows环境下编译HelloWorld程序报错,求高手支招! 很简单的Hello World 程序,编译时提示: D:MinGWincludec++3.4.5bitscodecvt.h|475 这个文件中引用的 bits/codecvt_specializations.h 文件找不到 请问是哪里出了问题? ?

library-请教大神帮忙解决一下eclipse里面android_NDK编译.c文件报错

问题描述 请教大神帮忙解决一下eclipse里面android_NDK编译.c文件报错 "D:Androidandroid-ndk-r9dndk-build.cmd" all 系统找不到指定的文件. [armeabi-v7a] Compile thumb : hello-jni <= hello-jni.c jni/hello-jni.c:31:1: fatal error: opening dependency file ./obj/local/armeabi-v7a/objs

springmvc 工程报错,不知道原因求解答。

问题描述 springmvc 工程报错,不知道原因求解答. 报的是这个错,请问哪位大神知道,跪求解决. 六月 07, 2015 9:22:40 上午 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoa

sping mvc 工程报错,求解决。

问题描述 sping mvc 工程报错,求解决. 大神,帮我看看怎么解决. 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean wit

求大神看看 unity导出android工程报错!!急!!!!

问题描述 求大神看看 unity导出android工程报错!!急!!!! CommandInvokationFailure: Android Asset Packaging Tool failed. See the Console for details. E:adt-bundle-windows-x86_64-20140702sdkbuild-tools21.1.1aapt.exe package -v -f -F raw.ap_ -A raw -0 """" s