Created on 01-07-2018 06:56 PM - edited 09-16-2022 05:42 AM
Hi guys,
I need to integrate Hitachi Object Storage (HCP) with Cloudera 5.12.
I read some whitepaper from Hitachi, that HCP treated as S3 AWS Object Storage
https://community.hds.com/docs/DOC-1000184
I already follow the instruction from that whitepaper, but still no luck
[root@quickstart hadoop]# hadoop fs -Dfs.s3a.access.key="dGVYW50MQ==" -Dfs.s3a.secret.key="161ebd7d45089b3446ee4e06dbcf92" -ls s3a://cloudera
ls: doesBucketExist on cloudera: com.amazonaws.SdkClientException: Unable to execute HTTP request: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target: Unable to execute HTTP request: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Is there any somebody already success with Object Storage integration ? please help
thanks,
jimmy
Created 01-07-2018 07:09 PM
Created on 01-07-2018 08:02 PM - edited 01-07-2018 08:11 PM
Actually i already add endpoint in S3 Connector service through Cloudera manager
Created 02-19-2018 03:30 AM
Hi Jimmy,
Did you able to integrate Cloudera with HCP? Or still struggling?
Created 10-22-2024 03:01 AM
I actually ran into this same issue when integrating Hitachi HCP with Cloudera 5.12. It was super frustrating at first, but I finally got it working while I was studying for some cloud certifications and practicing with sample questions. Here's what worked for me:
The problem you're seeing (PKIX path building failed) is related to SSL certificate validation. HCP’s certificate might not be recognized by your Java truststore, so Java blocks the connection.
Here’s what I did to fix it:
sudo keytool -import -alias hcp-cert -keystore $JAVA_HOME/jre/lib/security/cacerts -file /path/to/hcp-cert.pem
3. Restart the Cloudera services after the import.
Also, in case you're just trying things out, you could disable SSL validation temporarily (not for production though) by adding this parameter:
-Dfs.s3a.connection.ssl.enabled=false
Honestly, working through similar practice scenarios on Study4Exam really helped me get a grip on these types of configurations. They have questions that dive deep into AWS, S3, and related security settings. Hope that helps!