Alex Raj Kaliamoorthy
Alex Raj Kaliamoorthy

Reputation: 2095

How to configure HDFS CLI on a windows machine?

There is a CLI tool which can be used on HDFS File System directly. Here is the GitHub Link

I am using a windows machine and I use a Putty terminal to connect the HDFS in my Cluster. I came across the above git hub link and I want the HDFS CLI tool to be integrated with putty. I did go through the link and the Author has asked to configure couple of environmental variables to make this tool work. I am quite confused in configuring them.

I have downloaded the binary to my windows machine. Should I configure my Windows environmental variables? If I do so, how would this change affect the putty terminal as I use to connect my cluster from Putty. Could any of you look into this and answer it in a detail to integrate the tool. Appreciate your help.

Upvotes: 1

Views: 1235

Answers (1)

franklinsijo
franklinsijo

Reputation: 18300

Putty is only a client. The CLI tool has to be downloaded and configured on the server to which you connect through Putty.

Login to the server using Putty, then

  • Download the binary on the server along with the pre-requisites
  • Follow the configuration steps based on the Server Operating System

Edit the .bashrc to update the classpath,

export CLASSPATH=/path/to/hbase-shell/lib/:$HADOOP_CONF_DIR:$CLASSPATH

Upvotes: 2

Related Questions