How to create database externally

where is my hdfs ?
I have created many directories
so I can’t see in hdfs

Also how to create external database
there is no flexibility given in the environment like unix

Just use “hadoop fs” from console to use HDFS.

Are you able to locate terminal/console?

Yes but I m unable to locate my hdfs
I didn’t see my directories and all

Hi Rishabh,

You can use the hadoop fs -ls command to list down all the files and directories located in your HDFS such as:

Though we strongly recommend using console because the commands from the console are the most powerful way to interact with various components. Powerful because it is the first step in automation. But if you want a better UI you can use Ambari. You can follow the below steps for it:

  1. Go to the “My Lab” page.
  2. Click on the Ambari button there.
  3. Login into Ambari using the credentials provided to you.
  4. After Ambari UI has opened, Click on the 9 dots option listed in the navigation bar such as:

  1. Then click on the ‘File View’ option in it. It will redirect you to the HDFS root directory. There you need to click on the ‘user’ directory which is listed last. There is also a ‘User’ directory with the capital ‘U’. So don’t confuse it with the ‘user’ directory.

  2. Just search your username in the search bar inside the ‘user’ directory such as:

Then just click on the directory with the name as your username. There you can find all your files and directories

You can refer to Getting Started with Ambari for understanding it better.