HCAT_JAR in hcat.sh is getting more than one jar
------------------------------------------------

                 Key: HCATALOG-86
                 URL: https://issues.apache.org/jira/browse/HCATALOG-86
             Project: HCatalog
          Issue Type: Bug
            Reporter: Francis Liu


Hcat.sh is broken, in the shell script hcat is eventually run by this command:

$HADOOP_HOME/bin/hadoop jar  $HCAT_JAR org.apache.hcatalog.cli.HCatCli "$@"

and HCAT_JAR is defined as:

HCAT_JAR=$HCAT_HOME/lib/hcatalog-*.jar

But this wild card captures more than one jar:

bin fcliu$ ls ../lib/hcatalog-*.jar
../lib/hcatalog-0.2.0-dev-server-extensions.jar ../lib/hcatalog-0.2.0-dev.jar

This causes hadoop jar to fail.

Another small thing to point out is that this script is documented without the 
".sh" suffix.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to