-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhdfssetup
More file actions
executable file
·19 lines (19 loc) · 1008 Bytes
/
hdfssetup
File metadata and controls
executable file
·19 lines (19 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
~/hadoop/bin/hdfs dfs -mkdir -p /cs736/input
echo $( date +%T ) >> hdfsSetupTime$1
echo $( date +%T )
for f in ~/tweets/test/*_FIXED*
do
echo "adding $f"
~/hadoop/bin/hdfs dfs -put $f /cs736/input
done
echo $( date +%T ) >>hdfsSetupTime$1
echo $( date +%T )
#~/hadoop/bin/hdfs dfs -put ~/tweets/new_tweets_timeA.txt_FIXED /cs736/input
#~/hadoop/bin/hdfs dfs -put ~/tweets/new_tweets_timeA.txt.2014-11-29.txt_FIXED /cs736/input
#~/hadoop/bin/hdfs dfs -put ~/tweets/new_tweets_timeB.txt_FIXED /cs736/input
#~/hadoop/bin/hdfs dfs -put ~/tweets/new_tweets_timeB.txt.2014-11-29.txt_FIXED /cs736/input
#~/hadoop/bin/hdfs dfs -put ~/tweets/new_tweets_timeTech.txt_FIXED /cs736/input
#~/hadoop/bin/hdfs dfs -put ~/tweets/new_tweets_timeTech.txt.2014-11-29.txt_FIXED /cs736/input
#~/hadoop/bin/hdfs dfs -put ~/tweets/new_tweets_time.txt_FIXED /cs736/input
#~/hadoop/bin/hdfs dfs -put ~/tweets/new_tweets_time.txt.2014-11-29.txt_FIXED /cs736/input
~/hadoop/bin/hdfs dfs -ls /cs736/input