cloudera manager手动安装flink、livy parcel出现哈希验证失败

问题:

最近用cloudera manager 搭建的hadoop大数据处理平台,因为需求要安装livy、flink,然后自己就手动制作了flink 和livy parcel,(网上有很多的教程)这里我遇到的问题是下载parcel出现哈希验证失败:
在这里插入图片描述
一开始总是怀疑是parcel的hash值与parcel.sha的hash值不一样,但是我仔细查看了一下,是没有问题的,这里就按照flink为例:
FLINK-1.10.2-BIN-SCALA_2.12-el7.parcel.sha
在这里插入图片描述
manifest.json
在这里插入图片描述

解决方法

所以排除是hash值导致的,后来查阅资料是发现是httpd服务的问题,在配置文件中需要加上parcel选项,需要修改httpd.conf配置文件,添加parcel。
httpd.conf目录在


```/etc/httpd/conf/httpd.conf
#在<IfModule mime_module>模块添加 parcel选项

<IfModule mime_module>
    #
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    #
    TypesConfig /etc/mime.types

    #
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #
    #AddType application/x-gzip .tgz
    #
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    #
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    #
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz .parcel #此处添加.parcel

    #

#重启http服务
[root@localhost bigdata]#systemctl restart httpd

然后重新进行下载parcel,发现就可以进行下载了,问题解决,然后载根据教程进行parcel的安装就OK。希望对你有帮助。

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值