Skip to content
This repository has been archived by the owner on Apr 27, 2018. It is now read-only.

NoSuchFieldException in org.warcbase.data.HBaseTableManager #255

Open
dedocibula opened this issue Oct 12, 2016 · 0 comments
Open

NoSuchFieldException in org.warcbase.data.HBaseTableManager #255

dedocibula opened this issue Oct 12, 2016 · 0 comments

Comments

@dedocibula
Copy link

When ingesting WARC/ARC files to HBase via IngestFiles script (appassemble) NoSuchFieldException gets thrown by HBaseTableManager as its constructor tries to access non-existent field maxKeyValueSize on HTable object via reflection. As of hbase-client 1.2.0-cdh5.7.1 this field has been removed and direct usage of HTable has been deprecated - current workflow is driven via connection object.

In hbase-client 1.2.0 max keyvalue size gets set from general HBaseConfiguration (ConnectionManager$HConnectionImplementation) and as such the property must be overridden before HBase connection is created.

Additionally, appassemble scripts should be probably generated as part of package step on the overall repository (either that or http://lintool.github.io/warcbase-docs/Ingesting-Content-into-HBase/ should be updated to let users know that mvn appassembler:assemble needs to be run first).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant