Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

CDP private cloud trial version on AWS - How to use CLI

avatar
New Contributor

Hi,

I have successfully installed CDP private cloud trial version on AWS using below instructions.
https://www.cloudera.com/tutorials/how-to-create-a-cdp-private-cloud-base-development-cluster.html

Question:
How to access the CDP components (spark, hive, etc) from my local laptop through CLI?
As part of installation, 4 hosts were created in aws, but I do not know how to access those hosts through CLI from my laptop. I am using ubuntu on my laptop.
Also I am able to access all the 4 aws hosts through ssh using below command, but after getting into the aws host I am not able to invoke pyspark because I am getting below error.

ssh command:
ssh -i '/home/<localuser>/.ssh/cdp-trial-key.pem' centos@<aws_ip_address>

Error:
org.apache.hadoop.security.AccessControlException: Permission denied: user=centos, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x

My objective:
I need to learn all components in CDP, write few lines of code using python and spark, access HDFS, etc. But I am new to this setup. Could you please help with solutions?

Thank you.

1 ACCEPTED SOLUTION

avatar
Master Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar
Master Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
New Contributor

Hi @aakulov 

 

Welcome and thank you very much for the reply.

 

Regards,

Ragav