安装datax的问题

yangqm22 发布于 2012/11/06 17:58
阅读 2K+
收藏 0

环境是在red hat linux下

执行如下:

rpmbuild --ba t_dp_datax_engine.spec

报:

+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: t_dp_datax_engine-1.0.0-1.noarch
error: File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/bin
error: File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/conf
error: File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/engine
error: File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/common
error: File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/libs
error: File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/logs
error: File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/jobs


RPM build errors:
    File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/bin
    File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/conf
    File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/engine
    File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/common
    File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/libs
    File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/logs
    File not found: /root/rpmbuild/BUILDROOT/t_dp_datax_engine-1.0.0-1.i386/home/taobao/datax/jobs

加载中
0
y
yangqm22

有高手知道吗?

0
木吒
楼上的问题解决了没,我也碰到了这个问题
0
W
WCL365
楼上的问题 解决了么? 我也遇到这个问题了?
0
y
yangqm22

这个问题就是不用管。直接到/home/taobao/datax下去运行就行了。那个是配置rpm包的

0
墨文
墨文
这个同步工具同步的原理是什么?是否会产生大量的读写操作?
0
纸凤凰
楼主的问题解决了么??我在Centos 5 上制作RPM包时正常,跑到Centos 6 上就遇到了那样的错误!!!
0
peter112358
peter112358
报错很清楚。。。“ File not found”。要么真的找不到,要么用户权限不够。不能读。
0
TieFan_Ding
TieFan_Ding

我遇到的问题就是相似的。

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.76971
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /home/taobao/datax/rpm/../

+ export LANG=zh_CN.UTF-8
+ LANG=zh_CN.UTF-8
+ ant dist
/var/tmp/rpm-tmp.76971: line 25: ant: command not found
error: Bad exit status from /var/tmp/rpm-tmp.76971 (%prep)

希望高手指点一下!!!!!


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.76971 (%prep)

返回顶部
顶部