Skip to content

hcoyote/hadoop-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

hadoop-scripts

A group of scripts useful for managing a hadoop cluster.

bin/hdfs_du.py

  Version of hdfs_du using the snakebite HDFS client library from 
  Spotify.

bin/hdfs_du (deprecated - only here for history)

  Simple wrapper around fs -du command to make it more human readable.

bin/hdfs_tmp_cleaner.py

  A tool to automate cleaning out of the /tmp inside HDFS utilizing the
  snakebite library from Spotify.  Will operate in a recursive and non-
  recursive mode when looking through paths.  By default, it looks at
  just the top-level path to determine what should be deleted; if you
  need it to descend into the directory structure, you can enable that
  but it can significantly increase run time depending on how many files
  it has to work through.

  Works on Kerberized and HA HDFS clusters.

bin/hdfs_tmp_cleaner.pl (deprecated - only here for history)

  A tool to automate cleaning out of the /tmp inside HDFS.  This only
  looks at the top-level directory structure for the file and directory
  timestamps.  It will not recursively descend within subdirectories of
  /tmp.

bin/hdfs_user_dir_creator.py

  Automate the creation of the HDFS /user dir for every account found in
  the /etc/passwd map or the system's configured posixAccount LDAP server.

bin/mapred_find_stuck_tasks

  A tool to find and kill MapReduce v1 jobs stuck throwing 
  "Error launching tasks" errors in Cloudera Hadoop.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published