Reply
Champion
Posts: 543
Registered: ‎05-16-2016

Re: Configure hadoop-client tools to access hdfs from external computer

@mbigelow  " It is part of the magic that happens when you install a gateway role "

 

Are you referring to the  NFS gateway role ?

Posts: 630
Topics: 3
Kudos: 102
Solutions: 66
Registered: ‎08-16-2016

Re: Configure hadoop-client tools to access hdfs from external computer

@csguna No, the YARN gateway, HDFS gateway, Hive gateway, etc. Each of these will install the binaries, libraries, set env vars, and client configuration files for its service.
New Contributor
Posts: 12
Registered: ‎04-13-2017

Re: Configure hadoop-client tools to access hdfs from external computer

Yes, thank you.  That did the trick.

 

So, basically, my procedure was as follows.

 

  • Add the cloudera repository containing the hadoop binaries
sudo vim /etc/apt/sources.list.d/cloudera-manager.list
  • Install the binaries.  I used hadoop-client package and that was enough. 
sudo apt-get install hadoop-client
  • Install Java.  This made the error about $JAVA_HOME go away even though I still don't have that env set.
sudo apt-get install openjdk-6-jre-headless
  • Copy the config files from a functioning cluster node
sudo scp user@cluster:/etc/hadoop/conf/* /etc/hadoop/conf   

 

Champion
Posts: 543
Registered: ‎05-16-2016

Re: Configure hadoop-client tools to access hdfs from external computer

@mbigelow  I got confused . THanks for clarifying it .

Announcements