Home Forums HBase how to attach patch

This topic contains 2 replies, has 2 voices, and was last updated by  Sun Ww 3 months ago.

  • Creator
    Topic
  • #58020

    Sun Ww
    Participant

    I had installed HBase0.98 with Ambari1.5.1 and want to attach a patch on hbase.
    I run “hbase verion”, shows ” HBase 0.98.0.2.1.2.0-402-hadoop2″.

    1、where can I get the corresponding HBase source code.
    2、If I repace HBase jar in /usr/lib/hbase/lib, Will it work?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #58091

    Sun Ww
    Participant

    Thank you.I will try it.
    And if I just want to replace only several class in HBase 0.98.0.2.1.2.0-402-hadoop2.
    Can I get HBase 0.98.0.2.1.2.0-402-hadoop2 source code

    Thanks

    Collapse
    #58045

    Nick Dimiduk
    Participant

    Start by having a look at http://hbase.apache.org/book.html#developer.

    Yes, you can create your own build and run it on an Ambari-managed cluster. I do this regularly for testing patches on a real cluster. I like to create the binary tarball, upload to the cluster machines, unpack on each machine, and create a symlink from the /usr/lib/hbase/lib -> /path/to/unpacked-patched-build/lib. Restart the HBase services, and you can verify the version number from the Master and RS webUI’s. The version number should match your build.

    Collapse
Viewing 2 replies - 1 through 2 (of 2 total)