Cloudera manager manually installs flink and livy parcel, and the hash verification fails

problem:

Recently, the hadoop big data processing platform built by cloudera manager, because of the need to install livy, flink, and then manually made flink and livy parcel, (there are many tutorials on the Internet) the problem I encountered here is that the hash appears when downloading the parcel Verification failed:
Insert picture description here
At first, I always suspected that the hash value of parcel is different from the hash value of parcel.sha, but I checked it carefully and there is no problem. Here is an example of
flink : FLINK-1.10.2-BIN- SCALA_2.12-el7.parcel.sha
Insert picture description here
manifest.json
Insert picture description here

Solution

Therefore, the exclusion is caused by the hash value. Later, I found out that it was a problem with the httpd service. In the configuration file, you need to add the parcel option, you need to modify the httpd.conf configuration file, and add parcel.
httpd.conf directory is in


```/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

Then download the parcel again, find that it can be downloaded, the problem is solved, and then install the parcel according to the tutorial and it will be OK. Hope it helps you.

Guess you like

Origin blog.csdn.net/hyy_blue/article/details/108538182