As a company, we are regularly using in our customer projects and software developments open-source components from the Hadoop ecosystem. HBase, Spark and Zeppelin are thus the three major Apache projects we have incorporated in our HFactory offering and it feels quite natural to bring our own contribution to the community now.
A humble one obviously as using such top-level Apache projects as the ones above mentioned, we have always felt we were standing on the shoulders of giants. Still we believe our HTalk DSL for HBase can add significant practical value to the HBase community and we are especially happy to open-source this particular component.
HTalk is basically the foundational technology upon which we have built our entire HFactory software stack. Leveraging the elegant and concise syntax of Scala, HTalk delivers a high-level expressive interface to HBase CRUD operations. Capable of handling strongly-typed data, HTalk offers well-needed simplicity to developers interacting with the Hadoop NoSQL database. As an example of the power of the DSL, you can compare HTalk’s single-line, easy-to-understand expression:
"user".put("ProjectX", "number", 10).execute
vs raw HBase’s:
java Table table = connection.getTable(TableName.valueOf("user")); Put p = new Put(Bytes.toBytes("ProjectX")); p.add(Bytes.toBytes("d"), Bytes.toBytes("number"), Bytes.toBytes(10));
Now if you are interested to try out and use HTalk in your projects, getting started with the Scala DSL could not be any simpler. First head on to the github repository and follow the step-by-step build instructions. For a complete reference of the language syntax, you can always check our dedicated section section in the HFactory documentation site.
And of course, we would be very happy to have your feedback and contribution to the project. So feel free to contact us at email@example.com if you want to exchange further.Share