mvn clean package works fine, maven will automatically download Hadoop
and HBase jar in the build process from maven central. The
-DHBASE_CONF_DIR and -DHADOOP_CONF_DIR is for developer who wants to
preconfigure the environment variable in chukwa-env.sh. Without
-DHBASE_CONF_DIR and -DHADOOP_CONF_DIR, chukwa-env.sh is default to
${HBASE_CONF_DIR} and ${HADOOP_CONF_DIR}. Unit tests are using
minicluster with Hadoop/hbase unit test configuration. There is no
configuration required to run Hadoop or HBase dependent unit tests.
regards,
Eric
On Fri, Dec 9, 2011 at 5:09 PM, Bill Graham <[email protected]> wrote:
> I agree that users should be able to checkout the source and run 'mvn
> package' without separately download and installing both Hadoop and HBase.
> Can't these unit tests be refactored to not require this by instead
> referencing Hadoop and HBase conf dirs that are committed?
>
>
> On Tue, Dec 6, 2011 at 8:03 PM, Eric Yang <[email protected]> wrote:
>
>> HBase is optional. You can build it with "mvn clean package", then
>> switch the PipelineWriter to SeqFileWriter. However, the default
>> behavior is to make everything work as seamless as possible for using
>> Chukwa as a whole system.
>>
>> regards,
>> Eric
>>
>> On Tue, Dec 6, 2011 at 12:27 PM, Ariel Rabkin <[email protected]> wrote:
>> > I am unhappy with a build that requires HBase. Is there a way we can
>> > make this optional, both at compile and run time?
>> >
>> > --Ari
>> >
>> > On Mon, Dec 5, 2011 at 7:31 PM, Eric Yang <[email protected]> wrote:
>> >> Hi all,
>> >>
>> >> I have made some progress in polishing Chukwa 0.5.0. I think it is
>> >> almost ready for public consumption. Documents have been updated
>> >> to reflect the current code base. I generated a preview of the r0.5.0
>> >> document at:
>> >>
>> >> http://people.apache.org/~eyang/chukwa-0.5.0-docs/
>> >>
>> >> Please review and try out the build by running:
>> >>
>> >> mvn clean package site \
>> >> -DHADOOP_CONF_DIR=/path/to/${HADOOP_CONF_DIR} \
>> >> -DHBASE_CONF_DIR=/path/to/${HBASE_CONF_DIR}
>> >>
>> >> If all goes well, we can vote for branching for 0.5.0, then follow by
>> >> release votes.
>> >> Your input to this matter is important. Thanks for your attention.
>> >>
>> >> regards,
>> >> Eric
>> >
>> >
>> >
>> > --
>> > Ari Rabkin [email protected]
>> > UC Berkeley Computer Science Department
>>