Member since
09-16-2017
55
Posts
0
Kudos Received
0
Solutions
09-30-2022
03:46 AM
Hello, I have setup the Hadoop cluster on single server ( on my laptop). I have uploaded the simple text file data into Hive. I am running the select query : Select * from ratings; but this simple query is not giving me any result even after 10 minutes. All services of Hive are running. Status of Ambari : my query : What should I do ? Thanks
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
-
Apache Hive
03-16-2018
06:09 AM
@Geoffrey Shelton Okot I have successfully created and recover snapshot directory. Please see the below screen : and another question is : For example if do not remembered the snapshot details number which is something like that "s20180316-053628.936" ? is the another way to recover the snapshot without this detail ? Thanks
... View more
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
Labels:
- Labels:
-
HDFS