Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (1)
avatar

Snakebite is a pure python based HDFS client which is much faster than the classic hdfs client operations(hadoop fs / hdfs dfs).Snakebite is developed by Spotify. More details can be found at

https://github.com/spotify/snakebite

I am using HDP 2.4 and Ambari 2.2.1.1 on CentOS/

1). Install Python Pip.

yum install python-pip

2).Install Snakebite.

pip install snakebite

Now snakebite is installed.

You can run below sample commands.

snakebite ls /tmp

snakebite ls /

Use snakebite help for more options.

Happy Snakebiting!

9,287 Views
Comments
avatar
Master Guru

Does it support Kerberos by now? Would be very nice to be able to use it instead of os.system("hadoop ... ") commands as I currently do.

avatar

@Benjamin Leonhardi. Yes. you need to do

pip install "snakebite[kerberos]"

I haven't installed on kerberized cluster. Will try and let you know.

avatar
Master Guru

cool thanks, that should speed things up.

Version history
Last update:
‎04-07-2016 02:56 PM
Updated by:
Contributors