본문 바로가기
이것저것(독후감같은거)

hadoop fs -put users_20180516.json ./

by 혜룐 2018. 5. 18.



me$ /Users/me/Documents/workspace/hadoop-client-env/doopey/hadoop-2.6.0-cdh5.10.0/share/hadoop/mapreduce/bin/hadoop fs -put users_20180516.json ./

18/05/18 15:11:51 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

meui-MacBook-Pro:hadoop-hive me$ /Users/me/Documents/workspace/hadoop-client-env/doopey/hadoop-2.6.0-cdh5.10.0/share/hadoop/mapreduce/bin/hadoop fs -ls ./

18/05/18 15:12:14 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

Found 3 items

drwx------   - me-lee path          0 2018-05-16 14:51 .staging

-rw-rw-r--   3 me-lee path        314 2018-02-02 17:15 me-lee.keytab

-rw-rw-r--   3 me-lee path   38924378 2018-05-18 15:11 users_20180516.json




hadoop-hive me$ $HADOOP_HOME/bin/hadoop fs -mkdir blablafoo

18/05/18 15:17:10 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

meui-MacBook-Pro:hadoop-hive me$ $HADOOP_HOME/bin/hadoop fs -ls ./

18/05/18 15:17:37 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

Found 4 items

drwx------   - me-lee path          0 2018-05-16 14:51 .staging

drwxrwxr-x   - me-lee path          0 2018-05-18 15:17 blablafoo

-rw-rw-r--   3 me-lee path        314 2018-02-02 17:15 me-lee.keytab

-rw-rw-r--   3 me-lee path   38924378 2018-05-18 15:11 users_20180516.json

meui-MacBook-Pro:hadoop-hive me$ $HADOOP_HOME/bin/hadoop fs -rm -r blablafoo

18/05/18 15:18:02 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

18/05/18 15:18:02 INFO fs.TrashPolicyDefault: Moved: 'hdfs://doopey/user/me-lee/blablafoo' to trash at: hdfs://doopey/user/me-lee/.Trash/Current/user/me-lee/blablafoo