Configuring a trust between clusters
As Administrator, create the CDP Private Cloud Base source and target clusters for Hive replication, you must understand the prerequisites for setting up a trust between the source and target clusters. Depending on your source and target cluster security, you set up a one- or two-way trust between clusters.
- Your source and target clusters for replication are kerberized clusters.
- The staging directory is on the source cluster.
The target cluster accesses the staging directory on the source cluster and the DistCp jobs also run on the target cluster.
Otherwise, you configure a two-way trust.
Different Kerberos KDC servers in different realms
To set up two-way trust between the CDP Private Cloud Base source cluster and target cluster. For more information, see topics Distcp between secure clusters in different Kerberos realms and Adding trusted realms to the cluster..
kinit krbtgt/DRS@DRT hadoop fs -ls hdfs://[***REMOTE HDFS ENDPOINT***]:8020/