Created 03-02-2017 04:33 PM
We are having an issue previewing and downloading files from File View.
I noticed one other user on here had a similar problem and their solutions did not work for us.
When attempting to preview a file in file view, it is blank and we get an error in the logs:
02 Mar 2017 16:21:57,867 ERROR [ambari-client-thread-8502] [FILES 1.0.0 AUTO_FILES_INSTANCE] FilePreviewService:96 - Error occurred while previewing /topics/xyz/2017/02/15/xyz.1487116808176.log :
And when we attempt to download a file, it states:
{ "status": 500, "message": "Server Error" }
If anyone has any insight or have had this problem, please assist. Thank you.
Created 03-02-2017 04:37 PM
Have you added the "proxyuser" configuration properly in the advanced core-site via Ambari?
hadoop.proxyuser.root.groups=* hadoop.proxyuser.root.hosts=*
Like:http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.18/bk_ambari-views/content/_configuring_your_cluster_for_files_view.html
- Also what is the size of the file that you are trying to download/view? Is it too large?
Created 03-02-2017 04:34 PM
We have also tried creating another Files-View instance and the same error occurs.
Created 03-02-2017 04:37 PM
Have you added the "proxyuser" configuration properly in the advanced core-site via Ambari?
hadoop.proxyuser.root.groups=* hadoop.proxyuser.root.hosts=*
Like:http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.18/bk_ambari-views/content/_configuring_your_cluster_for_files_view.html
- Also what is the size of the file that you are trying to download/view? Is it too large?
Created 03-02-2017 04:52 PM
That worked! Thank you!!