gpt4 book ai didi

hadoop - 节俭安装./bootstrap配置错误的解释器

转载 作者:行者123 更新时间:2023-12-02 20:52:17 24 4
gpt4 key购买 nike

当安装Thrift以使用其他语言访问我的hbase时,

在配置过程中,当我运行时

[hadoop@localhost thrift]$  ./bootstrap.sh

我得到:
-bash: ./bootstrap.sh: /bin/sh^M: bad interpreter: No such file or directory

如何解决这个问题?

最佳答案

从报告的错误来看,bootstrap.sh似乎具有一些控制字符(注意^ M错误)。可能是bootstrap.sh需要显式转换为Unix格式,您可以使用dos2unix命令。

dos2unix ./bootstrap.sh

关于hadoop - 节俭安装./bootstrap配置错误的解释器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45612815/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com