
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Hadoop is a framework basically designed to handle a large volume of data both structured and unstructured
Hadoop Distributed File System is a framework designed to manage huge volumes of data in a simple and pragmatic way. It contains a vast amount of servers and each stores a part of file system In order to secure Hadoop, configure Hadoop with the following aspects
PayLoad: The applications implement Map and Reduce functions and form the core of the job MRUnit: Unit test framework for MapReduce Mapper: Mapper maps the input key/value pairs to the set of intermediate key/value pairs NameNode: Node that manages the HDFS is known as namednode DataNode: Node where the data is presented before processing takes place MasterNode: Node where the jobtrackers runs and accept the job request from the clients SlaveNode: Node where the Map and Reduce program runs JobTracker: Schedules jobs and tracks the assigned jobs to the task tracker TaskTracker: Tracks the task and updates the status to the job tracker Job: A program which is an execution of a Mapper and Reducer across a dataset Task: An execution of Mapper and Reducer on a piece of data Task Attempt: A particular instance of an attempt to execute a task on a SlaveNode
Apache Mahout is an open source algebraic framework used for data mining which works along with the distributed environments with simple programming languages
MapReduce is a framework for processing parallelizable problems across huge datasets using a large number of systems referred as clusters. Basically, it is a processing technique and program model for distributed computing based on Java
Hadoop HDFS List File Commands Tasks hdfs dfs – ls / Lists destination^ all^ the path^ files^ and^ directories^ given^ for^ the^ hdfs hdfs dfs – ls – d /hadoop This command lists all the details of the Hadoop files hdfs dfs – ls – R /hadoop Recursively and al sub directories^ lists^ all^ the in Hadoopfiles^ in^ thedirectory^ Hadoop^ directory hdfs dfs – ls hadoop/ dat* This starting^ command with ‘dat^ lists’^ all^ the^ files^ in^ the^ Hadoop^ directory Hdfs basic commands Tasks hdfs dfs - put logs.csv /data/ This system^ command to HDFS^ is^ used^ to^ upload^ the^ files^ from^ local^ file hdfs dfs - cat /data/logs.csv This command is used to read the content from the file hdfs dfs - chmod 744 /data/logs.csv This command is used to change the permission of the files hdfs dfs - chmod – R 744 /data/logs.csv This recursively^ command^ is^ used^ to^ change^ the^ permission^ of^ the^ files hdfs dfs - setrep - w 5 /data/logs.csv This command is used to set the replication factor to 5 hdfs dfs - du - h /data/logs.csv This command is used to check the size of the file hdfs dfs - mv logs.csv logs/ This subdirectory^ command^ is^ used^ to^ move^ the^ files^ to^ a^ newly^ created hdfs dfs - rm - r logs This command is used to remove the directories from Hdfs stop-all.sh This command is used to stop the cluster start-all.sh This command is used to start the cluster Hadoop version This command is used to check the version of Hadoop hdfs fsck/ This command is used to check the health of the files Hdfs dfsadmin – safemode leave This namenode^ command^ is^ used^ to^ turn^ off^ the^ safemode^ of Hdfs namenode - format This command is used to format the NameNode hadoop [--config confdir]archive - archiveName NAME - p This^ command^ is^ used^ to^ create^ a^ Hadoop^ archieve hadoop fs [generic options] - touchz
- input directory/file-name Shows Inputs the location for mapper - output directory-name Shows output location for the mapper - mapper executable or script or JavaClassName Used for Mapper executable - reducer executable or script or JavaClassName Used for reducer executable - file file-name Makes the mapper, reducer, combiner executable available locally on the computing nodes - numReduceTasks This is used to specify number of reducers - mapdebug Script to call when the map task fails - reducedebug Script to call when the reduce task fails