[
https://issues.apache.org/jira/browse/EAGLE-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15420744#comment-15420744
]
Chang chen commented on EAGLE-411:
----------------------------------
EmbeddedHbase can't start due to two commits:
# First is [EAGLE-331 ingestion+alert engine
preview|https://github.com/apache/incubator-eagle/commit/eef4930c3b9cac7d8c596af684ba098ec2b2229d],
see what is added in EmbeddedHbase.java. To Fix it, we needn't specify
*hbase.master.ipc.address*, using default value is ok (which is 0.0.0.0), not
sure why add such configuration.
# Second is [Rebase code base |
https://github.com/apache/incubator-eagle/commit/72a1501c3ff645d93067b4fd9907f8183c2763b6],
guava is upgraded to 19.0, how ever the dependent HBase
version(0.98.4.2.2.5.1-3-hadoop2) uses 12.01. It is OK in product environment,
but failed in UT, see
[HBASE-11694|https://issues.apache.org/jira/browse/HBASE-11694]. To Fix it, we
need downgrade to guava 15.0
[~haoch], let me know what to you think.
> Refactor hbase related unit test cases with mockito and mini-hbase
> ------------------------------------------------------------------
>
> Key: EAGLE-411
> URL: https://issues.apache.org/jira/browse/EAGLE-411
> Project: Eagle
> Issue Type: Improvement
> Affects Versions: v0.3.0, v0.4.0
> Reporter: Hao Chen
> Assignee: Chang chen
> Labels: unit-test
> Fix For: v0.5.0
>
>
> Current implementation is really not stable which cause unit test like
> TestHBaseLogReader2 unable to pass in meanful time, we need a better version.
> https://github.com/apache/incubator-eagle/blob/master/eagle-core/eagle-embed/eagle-embed-hbase/src/main/java/org/apache/eagle/service/hbase/EmbeddedHbase.java
> http://blog.cloudera.com/blog/2013/09/how-to-test-hbase-applications-using-popular-tools/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)