- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Problems with views
Created on ‎11-08-2017 08:10 PM - edited ‎09-16-2022 05:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the HDP 2.6 sandbox installed. As I am going through the tutorial, I can not get anything to display in the Files view. I have tried this for both the admin and maria_dev accounts. When I try to open the Hive View 2.0, it runs through the checks and give me a "Cannot open a hive connection with connect string" error. I'd love to be able to make it through the tutorial so I can adequately evaluate Hortonworks, but I'm struggling with issues like these that don't seem to be documented and questions asked previously in this community for related issues don't seem to have been answered. Or at least the answers provided do not seem to resolve my issues.
Created ‎11-09-2017 06:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The connect string that Hive View 2.0 is using looks ok, however, the Hive View logs show an underlying error: ava.sql.SQLException: org.apache.hive.jdbc.ZooKeeperHiveClientException: Unable to read HiveServer2 configs from ZooKeeper
Do you have HiveServerHA enabled?
I would start by starting/stopping ZooKeeper, then starting/stopping Hive all from Ambari and trying again. Can you do this and report back results.
Created ‎11-08-2017 08:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems I have figured out part of the problem. I had been using Google Chrome. When I changed to use Microsoft Edge, I was able to see the Files View. However, I still get the same error when trying to view the Hive View 2.0.
Created ‎11-08-2017 08:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a 2.6 single node kerberized cluster but I would think the setup should be the same.
Could you attach here the screenshot of the File view config in the Manage Ambari UI
Created ‎11-08-2017 09:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just did a fresh download of the 2.6.1 Sandbox for VirtualBox, and was able to use the 'admin' account to load the files view and the hive server 2.0 view without any issues. Do you have the following entry in your system's hosts file?
127.0.0.1 sandbox.hortonworks.com sandbox
Created ‎11-08-2017 09:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FYI mine is a single node HDP 2.6 kerberized cluster not a sandbox
Can you upload or what the error in /var/log/hive/hiveserver2.log
Created ‎11-09-2017 02:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As far as the Files View is concerned, I was able to get that to work - using a different browser. It won't work with Google Chrome, but will work with Microsoft Edge. In relation to the Hive View 2 issue, I am attaching my hiveserver2.log.hiveserver2.zip
Created ‎11-09-2017 04:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error could actually be in the Hive View log, and not necessarily in the hiveserver2 log. You might want to check
/var/log/ambari-server/hive20-view/hive20-view.log to see what the connect string error is and could help point us to the right resolution.
Created ‎11-09-2017 04:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is that log file. hive20-view.zip
Created ‎11-09-2017 05:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a solution for exactly the same issue already posted in HCC have a look at this link
That should help
Created ‎11-09-2017 05:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had seen that post, but was unable to find in the tutorial the optional prerequisite for installing JDBC. I do see the optional install for the ODBC driver, though.
