SHARE
TWEET

Untitled

a guest Jun 15th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ bin/hdfs dfs -ls input
  2. Found 31 items
  3. -rw-r--r--   1 root supergroup       4436 2015-07-22 11:17 input/capacity-scheduler.xml
  4. -rw-r--r--   1 root supergroup       1335 2015-07-22 11:17 input/configuration.xsl
  5. -rw-r--r--   1 root supergroup        318 2015-07-22 11:17 input/container-executor.cfg
  6. -rw-r--r--   1 root supergroup        155 2015-07-22 11:17 input/core-site.xml
  7. -rw-r--r--   1 root supergroup        154 2015-07-22 11:17 input/core-site.xml.template
  8. -rw-r--r--   1 root supergroup       3670 2015-07-22 11:17 input/hadoop-env.cmd
  9. -rw-r--r--   1 root supergroup       4302 2015-07-22 11:17 input/hadoop-env.sh
  10. -rw-r--r--   1 root supergroup       2490 2015-07-22 11:17 input/hadoop-metrics.properties
  11. -rw-r--r--   1 root supergroup       2598 2015-07-22 11:17 input/hadoop-metrics2.properties
  12. -rw-r--r--   1 root supergroup       9683 2015-07-22 11:17 input/hadoop-policy.xml
  13. -rw-r--r--   1 root supergroup        126 2015-07-22 11:17 input/hdfs-site.xml
  14. -rw-r--r--   1 root supergroup       1449 2015-07-22 11:17 input/httpfs-env.sh
  15. -rw-r--r--   1 root supergroup       1657 2015-07-22 11:17 input/httpfs-log4j.properties
  16. -rw-r--r--   1 root supergroup         21 2015-07-22 11:17 input/httpfs-signature.secret
  17. -rw-r--r--   1 root supergroup        620 2015-07-22 11:17 input/httpfs-site.xml
  18. -rw-r--r--   1 root supergroup       3518 2015-07-22 11:17 input/kms-acls.xml
  19. -rw-r--r--   1 root supergroup       1527 2015-07-22 11:17 input/kms-env.sh
  20. -rw-r--r--   1 root supergroup       1631 2015-07-22 11:17 input/kms-log4j.properties
  21. -rw-r--r--   1 root supergroup       5511 2015-07-22 11:17 input/kms-site.xml
  22. -rw-r--r--   1 root supergroup      11237 2015-07-22 11:17 input/log4j.properties
  23. -rw-r--r--   1 root supergroup        951 2015-07-22 11:17 input/mapred-env.cmd
  24. -rw-r--r--   1 root supergroup       1383 2015-07-22 11:17 input/mapred-env.sh
  25. -rw-r--r--   1 root supergroup       4113 2015-07-22 11:17 input/mapred-queues.xml.template
  26. -rw-r--r--   1 root supergroup        138 2015-07-22 11:17 input/mapred-site.xml
  27. -rw-r--r--   1 root supergroup        758 2015-07-22 11:17 input/mapred-site.xml.template
  28. -rw-r--r--   1 root supergroup         10 2015-07-22 11:17 input/slaves
  29. -rw-r--r--   1 root supergroup       2316 2015-07-22 11:17 input/ssl-client.xml.example
  30. -rw-r--r--   1 root supergroup       2268 2015-07-22 11:17 input/ssl-server.xml.example
  31. -rw-r--r--   1 root supergroup       2250 2015-07-22 11:17 input/yarn-env.cmd
  32. -rw-r--r--   1 root supergroup       4567 2015-07-22 11:17 input/yarn-env.sh
  33. -rw-r--r--   1 root supergroup       1525 2015-07-22 11:17 input/yarn-site.xml
  34.      
  35. $ bin/hdfs dfs -cat test/*
  36.    2060    7737   78618
  37.      
  38. $ bin/hdfs dfs -cat input/* | cat | sort | wc
  39.     729    2588   25574
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top