Support Questions

Find answers, ask questions, and share your expertise

How can hadoop client libraries be added to a node which is not part of the cluster? Can this be done through Ambari?

avatar
Expert Contributor

How can hadoop client libraries be added to a node which is not part of the cluster? Can this be done through Ambari?

1 ACCEPTED SOLUTION

avatar
Master Mentor

You can install clients by doing yum install hadoop* etc but you need to manually add the hdp.repo to your repolist. Its easier to install an edgenode as part of cluster and only install clients. If you still insist going manual way, pull the packages you need and download the xml for each client you need from cluster. This poses a problem every time you make a config change, it's best to have Ambari manage your client node.

View solution in original post

3 REPLIES 3

avatar
Master Mentor

You can install clients by doing yum install hadoop* etc but you need to manually add the hdp.repo to your repolist. Its easier to install an edgenode as part of cluster and only install clients. If you still insist going manual way, pull the packages you need and download the xml for each client you need from cluster. This poses a problem every time you make a config change, it's best to have Ambari manage your client node.

avatar
Master Mentor

just to close the loop on this, I tested this and it works. Here's my article that describes the process https://community.hortonworks.com/articles/52844/hdp-clients-with-multi-version-and-multi-os-suppor....

avatar
Master Mentor
@AR

You can use yum install hadoop-* if that particular node is not part of ambari stack

check this http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_installing_manually_book/content/ch_getti...

for example:

yum install hadoop hadoop-hdfs hadoop-libhdfs hadoop-yarn hadoop-mapreduce hadoop-client openssl

You can pick hadoop-client

Its really good doc.