New hive 0.11.3 charm, also enables hive-server2 .

Bug #1322214 reported by amir sanjar on 2014-05-22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juju Charms Collection
amir sanjar

Bug Description

Hive 0.11.3 is a data warehouse infrastructure built on top of Hadoop that
provides tools to enable easy data summarization, adhoc querying and
analysis of large datasets data stored in Hadoop files. It provides a
mechanism to put structure on this data and it also provides a simple
query language called Hive QL which is based on SQL and which enables
users familiar with SQL to query this data. At the same time, this
language also allows traditional map/reduce programmers to be able to
plug in their custom mappers and reducers to do more sophisticated
analysis which may not be supported by the built-in capabilities of
the language.

Hive provides:

- HiveQL - An SQL dialect language for querying data in a RDBMS fashion
- UDF/UDAF/UDTF (User Defined [Aggregate/Table] Functions) - Allows user to
  create custom Map/Reduce based functions for regular use
- Ability to do joins (inner/outer/semi) between tables
- Support (limited) for sub-queries
- Support for table 'Views'
- Ability to partition data into Hive partitions or buckets to enable faster
- Hive Web Interface - A web interface to Hive
- Hive Server2 - Supports multi-suer querying using Thrift, JDBC and ODBC clients
- Hive Metastore - Ability to run a separate Metadata storage process
-* Hive cli - A Hive commandline that supports HiveQL

Matt Bruzek (mbruzek) wrote :

The code in the related branch has "source" as an immutable configuration option. Meaning that if a user sets the "source" to something different after the install hook has run the new source value will not be picked up and acted on.

I see that the previous hive charm also handles source in the same way. It looks to me like the code is modular enough to call configure_sources() in the config-changed and upgrade-charm hook followed by installing potentially a new version of hive. Then call the install_base_packages() and any other methods that are needed to fully change the hive code.

José Antonio Rey (jose) wrote :


Thanks for your submission of the hive2 charm for the Charm Store!

At the current time, Charm Store policies prevent non-idempotent charms to be promulgated to the store. Based on Matt's comment that the 'source' configuration option is not idempotent, I will have to mark this charm as Incomplete. Please, make sure to mark it as New or Fix Committed once you are ready for another review. As always, if you have any questions, make sure to email us at <email address hidden>, or find us on #juju on I can't wait to see the charm on the queue again!

Changed in charms:
status: New → Incomplete
assignee: nobody → amir sanjar (asanjar)
Changed in charms:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers