Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Hadoop distcp to Google cloud storage Private endpoint

avatar
New Contributor

Hello,

We are tring to use hadoop distcp command to transfer data from on-prem hadoop cluster to GCS by using a private endpoint.

We have tested many different method, and finally we added directly the following lines into /etc/hosts. (Other GCP auth info has been added into core-site.xml.)
XX.XX.XX.XX storage.googleapis.com
XX.XX.XX.XX googleapis.com
*XX.XX.XX.XX is the IP of our private endpoint

hadoop fs -ls and -cp command can list or copy object correctly to the GCS bucket.

But with hadoop distcp command, its mapreduce jobs always go to public endpoint...

Does anyone knows how to make the distcp working with GCS private endpoint?

Or does anyone have any idea about the private endpoint of distcp trying to reach (so that I can add it into /etc/hosts)?

Thank you.

1 REPLY 1

avatar
Community Manager

Welcome to the community @Hz . Perhaps someone like @Stella Tang can point you in the right direction. 

Keep the questions coming