INSTALLATION DOCUMENTS BY RAVI

Tuesday, October 31, 2017

Basic hadoop commands

1. Creating a directory in hdfs

$ hdfs dfs -mkdir <paths>








2. List the directories in hdfs
$ hdfs dfs  -ls  <args>






3. Permissions









4. Putting a file in to hdfs file system
$ hdfs dfs -put <local-src> ... <HDFS_dest_path>
























5. Space utilization in hdfs directory
$ hdfs dfs -du URI










6. Downloading files from hdfs to local file system
$ hdfs dfs -get <hdfs_src> <localdst>








7. Merging two files
We can merge two files in hdfs file system into a single file to the local file system as below
$ hdfs dfs -getmerge <src1> <src2> <localdst> [addnl]










8. Copying files or directories recursively
$ hdfs dfs -cp <src-url> <dest-url>
























9. Help command
Use help command to access hadoop command manual
























10. Seeing the contents of a file
$ hdfs dfs -cat <path[filename]>



















11. Copying a file from source to destination in hdfs file system
$ hdfs dfs -cp <source> <dest>












12. Copy a file using copyFromLocal and copyToLocal
copyFromLocal
$ hdfs dfs -copyFromLocal <localsrc> URI











CopyToLocal
$ hdfs dfs -copyToLocal [-ignorecrc] [-crc] URI <localdst>








13. Move file from source to destination in hdfs file system
$ hdfs dfs -mv <src> <dest>





















14. Remove a file or directory from hdfs file system
$ hdfs dfs -rm <arg>















15. Remove files recursively








16. To display last few lines of a file
$ hdfs dfs -tail <path[filename]>



















17. Hadoop version









18. To check amount of space used by hdfs file system







19. To count the number of files and directories in hdfs








19 comments:

  1. Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.
    biztalk-training-in-chennai


    ReplyDelete
  2. Appreciation for really being thoughtful and also for deciding on certain marvelous guides most people really want to be aware of.
    Best Hadoop Training Institute In chennai

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. I have to voice my passion for your kindness giving support to those people that should have guidance on this important matter.
    docker-training-in-chennai

    ReplyDelete
  5. Thanks for your article on Android technology. Android is an open source platform that allows developers to create stunning website loaded with various advanced features and functionalities.
    No.1 Vacation Classes for Multimedia in Chennai | Perfect Summer Courses for IT in Chennai

    ReplyDelete
  6. A course in information science can enable you to have that additional edge over different representatives, and it can likewise enable you to expand your current bundle. ExcelR Data Science Courses

    ReplyDelete
  7. Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!

    Correlation vs Covariance

    ReplyDelete
  8. I want to say thanks to you. I have bookmark your site for future updates.
    Data Science Course in Bangalore

    ReplyDelete
  9. I have been searching to find a comfort or effective procedure to complete this process and I think this is the most suitable way to do it effectively.
    Data Science Training in Bangalore

    ReplyDelete
  10. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.

    Simple Linear Regression

    Correlation vs Covariance

    ReplyDelete
  11. Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!!!
    data analytics certification training course

    ReplyDelete
  12. I think this is the minimum value to earn more than just commit
    ai training in noida

    ReplyDelete
  13. Thanks for a marvelous posting! I seriously enjoyed reading it, you are
    a great author.I will be sure to bookmark your blog and will often come back in the future.
    I want to encourage yourself to continue your great job, have a
    nice weekend!

    data science training in chennai

    data science training in velachery

    android training in chennai

    android training in velachery

    devops training in chennai

    devops training in velachery

    artificial intelligence training in chennai

    artificial intelligence training in velachery

    ReplyDelete
  14. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.

    Simple Linear Regression

    Correlation vs covariance

    KNN Algorithm

    Logistic Regression explained

    ReplyDelete
  15. Very nice blogs!!! i have to learning for lot of information for this sites…Sharing for wonderful information.Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing, data scientist course in hyderabad with placement

    ReplyDelete
  16. I am looking for and I love to post a comment that "The content of your post is awesome" Great work!

    data science interview questions

    ReplyDelete
  17. Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area. data science training in Hyderabad

    ReplyDelete
  18. I am looking for and I love to post a comment that "The content of your post is awesome" Great work!

    Simple Linear Regression

    Correlation vs Covariance

    ReplyDelete

SQL query to find whether OdiSendMail is configured or not ODI 12c

In the SQL developer connect to the ODI work repository user (Ex: DEV_ODI_REPO) and run the below query. select SCEN_NAME,TASK_NAME3,DE...