Created on 11-12-2016 08:48 AM - edited 09-16-2022 03:47 AM
Hi there:
I am an existing student of self paced learning. In one of the modules titled 'HDP Developer: Apache Pig and Hive Rev 6', I need to use a VM from the following link: https://s3.amazonaws.com/vm-us-east/data_analyst/HDP2.3-Pig-Hive-Rev6.zip./.
There is a folder titled DEVPH under /root. I can easily navigate to the folder using the command prompt, as shown below:
However I am struggling to navigate to DEVPH using the UI. I am trying to edit a file under DEVPH using GEDIT. However I can't see the folder under root, through the UI, as shown below:
Any help will be much appreciated.
Thanks and regards,
Anindya
Created 11-19-2016 06:41 PM
You are right. Let me explain other way -
1. You have your local system which has ubuntu installed.
2. On Ubuntu you are running Sandbox [for which you ssh to Login]
3. Sandbox has also operating system [generally centos/ubuntu - depends upon which sandbox you downloaded].
4. And you have HDFS filesystem which is in Sandbox which is Hadoop Filesystem.
5. All hadoop config files are stored on Sandbox Local filesystem [ie. core-site.xml,hdfs-site.xml.etc..]
You can do ssh to sandbox and then access the hadoop config files using [vi or cat command].
But you cannot browse it from the UI as you shown in screenshot above, since the UI/browser which you are loading is of your Local Ubuntu machine and not of Sandbox.
if you need to do the same for Sandbox then you need to install GUI for Sandbox [As sandbox does not comes default with GUI]
Hope that makes clear now.
Created 11-22-2016 03:33 AM
Good to know I have got the same understanding.
Anyways I will give it a go with the Vi /CAT editor and let you know.
Cheers!
Created 02-06-2017 03:24 AM
See my answer as well as the reply I gave you from our Training group's service ticket system.
Created on 02-06-2017 03:22 AM - edited 08-18-2019 03:26 AM
@Sagar Shimpi explains this well, but there is another option. You basically can just "map" the inner VM filesystem so it can be "seen" by the outer machine. Instructions for this are in the course lab guide (step 7 of lab 1). For benefit of all, I stripped out just those pages and am attaching the steps as jpegs.
Created 05-31-2017 03:15 PM
Thank you @Lester Martin
That helped!