Support Questions

Find answers, ask questions, and share your expertise

HDInsight: how can you enable 'Files View'??!

New Contributor

Hi everyone,

I wonder if anyone knows whether I can enable 'Files View' in Ambari with HDInsight, and if so how? I want to allow Ambari users to be able to browse HDFS, and I do not want them to have access via the CLI - so it has got to be Files View, or something else via Ambari.

Anyway, please let me know.

Thanks!

6 REPLIES 6

Hi @Mark Lewis. Unfortunately you cannot enable files view in Ambari for HDInsight. You'll need to use Data Explorer located in the Azure Portal.

Explorer

@Mark Lewis I was able to enable Files view in HDInsight cluster and was able to access the files located in default wasb storage.

You just have to place the files view archive(files-2.6.2.2.1.jar) under /var/lib/ambari-server/resources/views/ path in your ambari server host. Once you have placed the file in the path, head to 'Manage Ambari -> views' path in your Ambari web UI.

Now you should find that files view have been enabled and an instance will be added by default. Head to ambari views -> files view and now you should be able to access your default wasb location files from the view.

I had webhdfs enabled in my HDInsight cluster which i'm not sure if required or not.

Please mark this as Answer if you find this useful.

Thanks,

Cibi

New Contributor

@Cibi Chakaravarthi, I am trying to configure the FilesView on ADLS store in HDInsight Ambari, getting small error saying, "Server Status 500: User root is not allowed to impersonate user_id". FYI, I am able to set up hadoop-httpfs service on 14000 port and it is running successfully. Please help.

Explorer

@BALASWAMI BANDI, Please follow the below link and configure HDFS proxy user for root user. Once you configure and restart the required services, the above error should get fixed.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-views/content/setup_HDFS_proxy_us...

PS: I'm not sure if Ambari Files view supports ADLS store and has the necessary jars to make it work. Anyways the above link should get your error fixed. Please let me know how it goes.

Thanks,

Cibi

New Contributor

@Cibi, I have set up both proxy user configs already in the core-site.xml, still complaining about user impersonation. I am guessing the way I have set up the hadoop-httpfs on 14000 port was creating the issue as when I am trying to put the webhdfs link in the fileview configs, it is throwing this impersonation error. Do you have any instructions/links how we can set up the webHDFS in Azure HDInsight?

Explorer

@BALASWAMI BANDI, I haven't got a hands-on configuring WebHDFS. I usually refer to Hortonworks documents link for any steps related to HDP distribution. I'm not sure about webHDFS messing with files view, my guess is that files view access's the URL/path configured with 'fs.defaultFS' property.