[
https://issues.apache.org/jira/browse/BIGTOP-955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646933#comment-13646933
]
Nick Dimiduk commented on BIGTOP-955:
-------------------------------------
I was hoping I could just provide a patch, but I think that'll take a bit more
time than I hoped. Here's what I've found though.
1. HBase should have an {{/etc/default/hbase}}, analogous to
{{/etc/default/hadoop}}, that exports these two env variables. (BigTop provides)
2. Pig, Hive, HCat, etc wrapper scripts (ie, {{$\{PREFIX\}/$BIN_DIR/hcat}} in
{{[install_hcatalog.sh:115|https://github.com/apache/bigtop/blob/master/bigtop-packages/src/common/hcatalog/install_hcatalog.sh#L115]}})
would source that file if it exists. (BigTop provides)
3. project-specific bin scripts detect the presence of that file when HBase is
installed, source it, and can do what they need to from there (project
responsibility)
This should be sufficient to replace the "workaround" in
{{[install_pig.sh:137|https://github.com/apache/bigtop/blob/master/bigtop-packages/src/common/pig/install_pig.sh#L137]}}.
That said, I don't know how this relates to BIGTOP-477.
> HBase installation should advertise its location and configuration
> ------------------------------------------------------------------
>
> Key: BIGTOP-955
> URL: https://issues.apache.org/jira/browse/BIGTOP-955
> Project: Bigtop
> Issue Type: Improvement
> Affects Versions: 0.5.0
> Reporter: Nick Dimiduk
>
> Integration between HBase and other data tools can be improved. Work on
> HIVE-2055, PIG-2786 and HCATALOG-621 will allow those tools' launch scripts
> (project-local {{bin/XXX}}) to include HBase jars and configuration on the
> classpath when {{HBASE_HOME}} and {{HBASE_CONF_DIR}} are defined. I believe
> it is BigTop's responsibility to provide that environment for HBase
> deployments, similar to how {{HADOOP_HOME}} is provided.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira