bda unit 1 - mam
bda unit 1 - mam
infrastructure.
APACHE RANGER
Ranger is a framework designed to
enable, monitor, and manage data
security across the Hadoop platform. It
provides centralized administration for
managing all security-related tasks.
APACHE DRILL
Apache Drill is an innovative schema-free SQL query
engine for Hadoop, NoSQL, and cloud storage.
Syntax:
$hadoop fs -touchz <HDFS file
path>
rm – remove a file
This command is used to delete/remove a
file from HDFS.
Syntax:
$hadoop fs -rm <HDFS file path>
rmr – Remove Directory
Recursively
rmr command is used to deletes a file
from Directory recursively, it is a very
useful command when you want to delete
a non-empty directory.
$hadoop fs -rmr /directory-name
or
$hdfs dfs -rmr /directory-name
put – Upload a File to HDFS
from Local
Copy file/folder from local disk to HDFS.
On put command specifies the local file-
path where you wanted to copy from and
then hdfs-file-path where you wanted to
copy to on hdfs.
$ hadoop fs -put /local-file-path /hdfs-file-
path
or
$ hdfs dfs -put /local-file-path /hdfs-file-
path
get – Copy the File from HDFS
to Local
Get command is used to store files from
HDFS to the local file. HDFS file gets the
local machine.