Testcase # 04 Purpose: Permission changes to files: hdfs dfs chmod 755 /user/cloudera/hdfs-renamed.txt Owner Changes to Files/Directories Testcase # 05 Purpose: To check the owner changes to files we have performed the following steps. Owner changes to files: hdfs dfs -chown cloudera:admin /tmp/hdfs-renamed.txt
Copy from HDFS to HDFS
Testcase # 06 Purpose: To check the files copy from HDFS to HDFS we have performed the following steps. Copy from HDFS to HDFS: Hdfs dfs -cp /tmp/hdfs-renamed /user/cloudera
Copy from Local to HDFS
Testcase # 07 Purpose: To check the copy from local to hdfs working, we have performed the following steps. Copy from Local to HDFS: Hdfs dfs -put hdfs-test.txt /user/cloudera Copy from HDFS to Local Testcase # 08 Purpose: To check the file copy hdfs to local we have performed the following steps. Copy from HDFS to Local: Hdfs dfs -get /user/cloudera/hdfs-renamed.txt .
Change Replication Factor
Testcase # 09 Purpose: To check the hdfs replication factor we have performed the following steps. Change replication Factor: Hdfs dfs –setrep –w 2 /tmp/hdfs-renamed.txt