我要评分
获取效率
正确性
完整性
易理解

An Error Is Reported During TPC-DS Compilation

Symptom

The following error message is displayed during TPC-DS compilation:

curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it.

Key Process and Cause Analysis

This is a certificate-related problem. You need to add -k after curl in the command to ignore the certificate check.

Conclusion and Solution

  1. Modify /opt/hive-testbench-hdp3/tpcds-gen/Makefile.
    vim /opt/hive-testbench-hdp3/tpcds-gen/Makefile
  2. Press i to enter the insert mode and add -k next to curl. The following figure shows the modification result.

  3. Press Esc, type :wq!, and press Enter to save the file and exit.