Member since
09-16-2017
55
Posts
0
Kudos Received
0
Solutions
03-15-2018
11:51 AM
Thanks a lot 🙂 @Geoffrey Shelton Okot I got the desired output. I will do some more work on this topic. I will let you know if i will stuck at any point. one thing i wana let you know, below command not working at my machine : "hdfs lsSnapshottableDir " Show all the snapshot-table directories Cheers 🙂
... View more
03-15-2018
07:28 AM
Thanks A lot @Geoffrey Shelton Okot I have tried this solution and got the output but I am not satisfied from myself on this topic. So i want to do another example, Please help me out. I am using Amazon Machine (Hortonworks) : First of all I create user : "mudassar" then change the ownership by wrote this command : 1. "sudo -u hdfs hadoop fs -chown mudassar:mudassar /user/mudassar" then go to user "mudassar" 2. sudo su - mudassar then i create a directory(snapdemo) in this user : 3. hadoop fs -mkdir /user/mudassar/snapdemo then i create another directory(directory2) in this user : 4. hadoop fs -mkdir /user/mudassar/directory2 Now i have 2 directories in this user. Please see the below screen : 1. Now i want to create the text file (text1.txt) into "snapdemo" directory. and then take a snapshot of this directory into another directory (derectory2) of this user. 2. then delete the file (text1.txt) from directory "snapdemo" and then recover the snapshot from "directory2". Hope above make sense to you. Thanks Again Cheers
... View more
03-11-2018
10:31 AM
Hi @geoffrey shelton Okot I am really sorry. actually i was stuck in another task (deadline). I know if someone comes and help you it it great thing. and you always help us a lot. last time my "Acls" topic covers after you help. I have not tried this solution yet. but in next coming days i will definitely try this solution and will let you know, Many Thanks
... View more
03-08-2018
06:11 AM
Hi guys, I have been using AWS machine for practice.My Question is : How i Create & Recover Snapshot ? Please explain. Thanks, Mudassar Hussain
... View more
01-25-2018
06:33 AM
@Jay Kumar SenSharmaThanks a lot! I got the desired output. but why it is showing "hdfs" the owner instead of "Mark" .although i change the ownership. Correct me where i was wrong : First of all i created user "Mark" [root@namenode] adduser Mark
then check the space for user :
[root@namenode] hadoop fs -ls /user
My user not shown in the list so i create a space for my user [root@namenode] sudo -u hdfs hadoop fs - mkdir /user/Mark
[root@namenode] hadoop fs -ls /user (now user show in the list) Change the ownership
[root@namenode] sudo -u hdfs hadoop fs -chown Mark:hdfs /user/Mark
Now i login to user hdfs
[hdfs@namenode] hdfs dfs -mkdir /user/Mark/cards
[hdfs@namenode] hdfs dfs -touchz /user/Mark/cards/largedeck.txt now login with "Mark" user and then type
[Mark@namenode] hadoop fs -ls /user/Mark/cards Thanks
... View more
01-24-2018
12:05 PM
Thanks @Sandeep Kumar for your prompt reply. I have done the above step but file is not shown in that directory. Please see the below scree. is everything right : directory.jpg
... View more
01-24-2018
07:47 AM
Hi Guys, I have user "Mark" and it have directory "Cards". Now i want to create a file in this directory "Cards" . I have tried below commands : " mkdir cards" " touch cards/largedeck.txt" but file was not created in that directory. NOTE : i am using AWS machine. Thanks
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
01-16-2018
01:30 PM
Currently "Resource Manager High Availability" just on ResourceManager.I can add AdditionalResourceManager on "NameNode" Everything set already on AWS machine. I am using it for exam learning.
... View more
01-16-2018
11:57 AM
@Geoffrey Shelton Okot I have been using amazon machine. node detail : 1. ResourceManager 2. HiveServer 3. ResourceManager 4. Node2 5. Node1 ( I have added this node into cluster) Thanks
... View more
01-16-2018
11:19 AM
Thanks a lot @Geoffrey Shelton Okot for your brief answer. Sorry for late reply! I am unable to see the All user of the Group. please see the attache image :
... View more