Support Questions
Find answers, ask questions, and share your expertise

How to access HDFS and Hive database in the PC

How to access HDFS and Hive database in the PC

New Contributor

Hello community,

I have logged into the Sandbox for the first time using Putty.exe.

Can someone please show me how to access the HDFS drive and Hive database. Thank you

1 REPLY 1
Highlighted

Re: How to access HDFS and Hive database in the PC

Hi @buihuuhieu buihuuhieu

To access HDFS type in ' hadoop fs -ls'

To access hive type , hive . You will logged into hive shell, where you can query the sample databases and the files which already exists in HDP. Hope it helps!!