diff --git a/src/docbkx/developer.xml b/src/docbkx/developer.xml new file mode 100644 index 00000000000..64b8da972b8 --- /dev/null +++ b/src/docbkx/developer.xml @@ -0,0 +1,45 @@ + + + Developers +
+ IDEs +
+ Eclipse + See HBASE-3678 Add Eclipse-based Apache Formatter to HBase Wiki + for an Eclipse formatter to help ensure your code conforms to HBase'y coding conventsion. + The issue includes instructions for loading the attached formatter. + +
+
+
+ Unit Tests + In HBase we use JUnit 4. + If you need to run miniclusters of HDFS, ZooKeeper, HBase, or MapReduce testing, + be sure to checkout the HBaseTestingUtility. + Alex Baranau of Sematext describes how it can be used in + HBase Case-Study: Using HBaseTestingUtility for Local Testing and Development (2010). + +
+ Mocito + Sometimes you don't need a full running server + unit testing. For example, some methods can make do with a + a org.apache.hadoop.hbase.Server instance + or a org.apache.hadoop.hbase.master.MasterServices + Interface reference rather than a full-blown + org.apache.hadoop.hbase.master.HMaster. + In these cases, you maybe able to get away with a mocked + Server instance. For example: + + + +
+
+ +