编译TPC-DS时证书引起报错的解决方法
问题现象描述
编译TPC-DS时,出现以下报错。
1 | curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. |
关键过程、根本原因分析
服务器的SSL证书无法被curl信任。
结论、解决方案及效果
需要在curl命令后面添加参数-k,跳过SSL证书验证,从而避免因证书问题导致的连接失败。
- 打开“/opt/hive-testbench-hdp3/tpcds-gen/Makefile”文件。
1vi /opt/hive-testbench-hdp3/tpcds-gen/Makefile - 按“i”进入编辑模式,在curl后面加上-k。
- 按“Esc”键,输入:wq!,按“Enter”保存并退出编辑。
父主题: OmniMV物化视图