Apache Hbase ™ Reference Guide
Total Page:16
File Type:pdf, Size:1020Kb
Apache HBase ™ Reference Guide Apache HBase Team Version 2.1.9 Contents Preface. 1 Getting Started. 3 1. Introduction . 4 2. Quick Start - Standalone HBase . 5 Apache HBase Configuration. 18 3. Configuration Files . 19 4. Basic Prerequisites . 21 5. HBase run modes: Standalone and Distributed . 27 6. Running and Confirming Your Installation. 31 7. Default Configuration . 32 8. Example Configurations. 72 9. The Important Configurations . 74 10. Dynamic Configuration . 82 Upgrading. 85 11. HBase version number and compatibility. 86 12. Rollback . 92 13. Upgrade Paths . 96 The Apache HBase Shell . 108 14. Scripting with Ruby . 109 15. Running the Shell in Non-Interactive Mode . 110 16. HBase Shell in OS Scripts. 111 17. Read HBase Shell Commands from a Command File . 113 18. Passing VM Options to the Shell. 115 19. Overriding configuration starting the HBase Shell. 116 20. Shell Tricks . 117 Data Model. 123 21. Conceptual View . 124 22. Physical View . 126 23. Namespace . 127 24. Table . 129 25. Row . 130 26. Column Family . 131 27. Cells. 132 28. Data Model Operations . 133 29. Versions . 135 30. Sort Order . 140 31. Column Metadata . 141 32. Joins . 142 33. ACID . 143 HBase and Schema Design . 144 34. Schema Creation . 145 35. Table Schema Rules Of Thumb . 146 RegionServer Sizing Rules of Thumb . 147 36. On the number of column families. 148 37. Rowkey Design . 149 38. Number of Versions . 156 39. Supported Datatypes . 157 40. Joins . 158 41. Time To Live (TTL) . 159 42. Keeping Deleted Cells . 160 43. Secondary Indexes and Alternate Query Paths . 164 44. Constraints . ..