Reputation: 2095
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
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
Edit the .bashrc
to update the classpath,
export CLASSPATH=/path/to/hbase-shell/lib/:$HADOOP_CONF_DIR:$CLASSPATH
Upvotes: 2