Files
impala/testdata/bin/kill-mini-dfs.sh
2012-06-22 16:05:03 -07:00

10 lines
233 B
Bash
Executable File

#!/bin/sh
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
# kill DFS
jps | grep MiniDFSClusterManager | awk '{print $1}' | xargs kill -9;
sleep 2;
# clear up dfs data to avoid recovery when it starts
rm -rf /tmp/hadoop-*;