Author: gates
Date: Wed Feb 22 19:44:38 2012
New Revision: 1292473
URL: http://svn.apache.org/viewvc?rev=1292473&view=rev
Log:
HCATALOG-256 HCatalog should provide its classpath to tools
Modified:
incubator/hcatalog/trunk/CHANGES.txt
incubator/hcatalog/trunk/bin/hcat
Modified: incubator/hcatalog/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/hcatalog/trunk/CHANGES.txt?rev=1292473&r1=1292472&r2=1292473&view=diff
==============================================================================
--- incubator/hcatalog/trunk/CHANGES.txt (original)
+++ incubator/hcatalog/trunk/CHANGES.txt Wed Feb 22 19:44:38 2012
@@ -33,6 +33,8 @@ Trunk (unreleased changes)
HCAT-2 Support nested schema conversion between Hive an Pig (julienledem via
hashutosh)
IMPROVEMENTS
+ HCAT-256 HCatalog should provide its classpath to tools (gates)
+
HCAT-266 Upgrade HBase dependency to 0.92. (thw via toffer)
HCAT-253 HBase revision manager should configure/drop znodes in the
create/drop table meta hooks in the storage handler. (avandana via toffer)
Modified: incubator/hcatalog/trunk/bin/hcat
URL:
http://svn.apache.org/viewvc/incubator/hcatalog/trunk/bin/hcat?rev=1292473&r1=1292472&r2=1292473&view=diff
==============================================================================
--- incubator/hcatalog/trunk/bin/hcat (original)
+++ incubator/hcatalog/trunk/bin/hcat Wed Feb 22 19:44:38 2012
@@ -44,6 +44,7 @@ fi
# filter debug command line parameter
debug=false
+dump_classpath=false
for f in $@; do
if [[ $f = "-secretDebugCmd" ]]; then
@@ -51,6 +52,9 @@ for f in $@; do
else
remaining="${remaining} $f"
fi
+ if [[ $f = "-classpath" ]]; then
+ dump_classpath=true
+ fi
done
# Find our hcatalog jar
@@ -77,6 +81,8 @@ if [ "$debug" == "true" ]; then
echo "exec $HADOOP_PREFIX/bin/hadoop jar $HCAT_JAR
org.apache.hcatalog.cli.HCatCli $remaining"
echo "with HADOOP_CLASSPATH set to ($HADOOP_CLASSPATH)"
echo "and HADOOP_OPTS set to ($HADOOP_OPTS)"
+elif [ "$dump_classpath" == "true" ]; then
+ echo $HADOOP_CLASSPATH
else
exec $HADOOP_PREFIX/bin/hadoop jar $HCAT_JAR
org.apache.hcatalog.cli.HCatCli "$@"
fi