- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Zeppelin HDP 2.4 SparkSql aggregate functions failing
Created on ‎03-14-2016 04:54 AM - edited ‎08-19-2019 03:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HDP 2.4 SparkSql on zeppelin aggregate functions are not working. I do a select * from table and it works. However when I do select count(*) from table or any another aggregate function (sum, etc) it fails. I am using Zeppelin version zeppelin-server-0.6.0.2.4.0.0-169.jar
Created ‎05-05-2016 06:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We had similar issues with the hive interpreter while trying to run aggregations and gouping by columns:
1. Hive interpreter cannot be declared directly in notebook by using %hive. Interpreter must already be set to hive
2. First line in editor must be blank and Hive QL statements must start on second line, otherwise a NullPointer exception will be thrown after you submit job. This threw us off. Somehow we started the statement on the second line and it executed without errors. Then, when we went back and put the statement on the first line, it failed again. Moved the statement to the second line, with the first line blank, and it executed without any errors. Strange.
Created ‎03-14-2016 09:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Sunile Manjee Are you able to run select count from beeline?
Created ‎03-14-2016 02:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Neeraj Sabharwal Yes.
Created ‎03-15-2016 09:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This seems to be a bug. I am opening a Jira.
Created ‎03-31-2016 05:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the issue. I restarted the interpertur and rebinded the variables. works fine now.
Created ‎05-05-2016 06:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We had similar issues with the hive interpreter while trying to run aggregations and gouping by columns:
1. Hive interpreter cannot be declared directly in notebook by using %hive. Interpreter must already be set to hive
2. First line in editor must be blank and Hive QL statements must start on second line, otherwise a NullPointer exception will be thrown after you submit job. This threw us off. Somehow we started the statement on the second line and it executed without errors. Then, when we went back and put the statement on the first line, it failed again. Moved the statement to the second line, with the first line blank, and it executed without any errors. Strange.
