diff --git a/CHANGES.txt b/CHANGES.txt index d1654658b26..d21cfff5410 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -380,6 +380,7 @@ Release 0.21.0 - Unreleased HBASE-2616 TestHRegion.testWritesWhileGetting flaky on trunk HBASE-2684 TestMasterWrongRS flaky in trunk HBASE-2691 LeaseStillHeldException totally ignored by RS, wrongly named + HBASE-2703 ui not working in distributed context IMPROVEMENTS HBASE-1760 Cleanup TODOs in HTable diff --git a/bin/hbase b/bin/hbase index b5293b6b17d..0882d3ac210 100755 --- a/bin/hbase +++ b/bin/hbase @@ -136,19 +136,6 @@ add_maven_test_classes_to_classpath() { fi } -add_maven_target_dir_to_classpath() { - # I never seem to *have* such a dir. -tlipcon - HBASE_VER=`grep '' $HBASE_HOME/pom.xml | head -1 | sed 's/.*\(.*\)<\/version>/\1/'` - MAVEN_TARGET_DIR=$HBASE_HOME/target/hbase-$HBASE_VER-bin/hbase-$HBASE_VER - if [ -d "$MAVEN_TARGET_DIR" ]; then - for f in $MAVEN_TARGET_DIR/*.jar $MAVEN_TARGET_DIR/lib/*.jar; do - if [ -f $f ]; then - CLASSPATH=${CLASSPATH}:$f; - fi - done - fi -} - # Add maven target directory if $in_sources_dir; then add_maven_deps_to_classpath @@ -158,11 +145,18 @@ fi # For releases, add hbase & webapps to CLASSPATH # Webapps must come first else it messes up Jetty -if [ -d "$HBASE_HOME/webapps" ]; then +if [ -d "$HBASE_HOME/hbase-webapps" ]; then CLASSPATH=${CLASSPATH}:$HBASE_HOME fi +if [ -d "$HBASE_HOME/target/hbase-webapps" ]; then + CLASSPATH="${CLASSPATH}:${HBASE_HOME}/target" +fi for f in $HBASE_HOME/hbase*.jar; do - if [ -f $f ]; then + if [[ $f = *sources.jar ]] + then + : # Skip sources.jar + elif [ -f $f ] + then CLASSPATH=${CLASSPATH}:$f; fi done diff --git a/pom.xml b/pom.xml index 03c6ec84209..87b5bd49fa4 100644 --- a/pom.xml +++ b/pom.xml @@ -7,13 +7,11 @@ jar 0.21.0-SNAPSHOT HBase - HBase is the &lt;a href="http://hadoop.apache.org"&rt;Hadoop</a&rt; database. Use it when you need random, realtime read/write access to your Big Data. This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters of commodity hardware. - http://hbase.apache.org @@ -286,15 +284,15 @@ - src/main/resources + src/main/resources/ + + hbase-default.xml + - src/main/hbase-webapps + ${project.build.directory} - */.gif - */.css - */.html - */.xml + hbase-webapps/** @@ -375,32 +373,43 @@ maven-antrun-plugin - JSPC + generate generate-sources + + + + + + + + + + + + + + - - - - - - run - - - - package-info - generate-sources - - + + + + + + + - + diff --git a/src/assembly/bin.xml b/src/assembly/bin.xml index 95227c9858b..4705d2f9a8b 100644 --- a/src/assembly/bin.xml +++ b/src/assembly/bin.xml @@ -34,11 +34,8 @@ - target/classes/hbase-webapps + target/hbase-webapps hbase-webapps - - **/*.jsp - target/site diff --git a/src/main/resources/hbase-webapps/static/hbase_logo_med.gif b/src/main/resources/hbase-webapps/static/hbase_logo_med.gif new file mode 100644 index 00000000000..36d3e3c9127 Binary files /dev/null and b/src/main/resources/hbase-webapps/static/hbase_logo_med.gif differ