您好,登錄后才能下訂單哦!
這篇文章主要講解了“怎么在Linux下編譯Hbase 0.98.7”,文中的講解內容簡單清晰,易于學習與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學習“怎么在Linux下編譯Hbase 0.98.7”吧!
首先下載Hbase源碼包,然后解壓
修改hbase-0.98.7/dev-support/generate-hadoopX-poms.sh里面的hbase_home="解壓后的路徑目錄"
執行以下命令,
mvn -f pom.xml.hadoop2 install -DskipTests assembly:single -Prelease
編譯成功后顯示
[INFO] Building tar: /data/hbase-0.98.7/hbase-assembly/target/hbase-0.98.7-hadoop2-bin.tar.gz [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] HBase .............................................. SUCCESS [13:38 min] [INFO] HBase - Annotations ................................ SUCCESS [ 40.665 s] [INFO] HBase - Common ..................................... SUCCESS [18:58 min] [INFO] HBase - Protocol ................................... SUCCESS [ 32.356 s] [INFO] HBase - Client ..................................... SUCCESS [ 56.317 s] [INFO] HBase - Hadoop Compatibility ....................... SUCCESS [ 0.838 s] [INFO] HBase - Hadoop Two Compatibility ................... SUCCESS [ 29.615 s] [INFO] HBase - Prefix Tree ................................ SUCCESS [ 2.509 s] [INFO] HBase - Server ..................................... SUCCESS [03:28 min] [INFO] HBase - Testing Util ............................... SUCCESS [ 26.360 s] [INFO] HBase - Thrift ..................................... SUCCESS [ 29.042 s] [INFO] HBase - Shell ...................................... SUCCESS [01:28 min] [INFO] HBase - Integration Tests .......................... SUCCESS [ 11.200 s] [INFO] HBase - Examples ................................... SUCCESS [ 2.236 s] [INFO] HBase - Assembly ................................... SUCCESS [ 28.300 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 41:59 min [INFO] Finished at: 2014-11-05T10:25:52+08:00 [INFO] Final Memory: 76M/243M [INFO] ------------------------------------------------------------------------
感謝各位的閱讀,以上就是“怎么在Linux下編譯Hbase 0.98.7”的內容了,經過本文的學習后,相信大家對怎么在Linux下編譯Hbase 0.98.7這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是億速云,小編將為大家推送更多相關知識點的文章,歡迎關注!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。