Arnab Guin 2012-10-31, 17:59
-Re: Issues building hive
amareshwari sriramdasu 2012-11-02, 06:45
On which machine, are you building hive? When I built in mac and tried to
execute, i got the same problem. It works fine in Linux.
On Wed, Oct 31, 2012 at 11:29 PM, Arnab Guin <[EMAIL PROTECTED]> wrote:
> I executed the following command on the root directory of the installation
> (checked out from SVN).
> ant clean package
> Hive built successfully but when I invoke Hive and execute a command, it
> gives the following error:
> hive> CREATE TABLE X(S STRING);
> FAILED: ParseException line 1:13 cannot recognize input near 'X' '(' ')'
> Can anybody help out? I see the libraries have been built successfully in
> Also, when I run the following command on the root directory:
> ant test -Dtestcase=TestCliDriver, I keep getting the following error:
> [for] Cause: the class
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask was not found.
> [for] This looks like one of Ant's optional components.
> [for] Action: Check that the appropriate optional JAR exists in
> [for] -/usr/share/ant/lib
> [for] -/root/.ant/lib
> [for] -a directory added on the command line with the -lib
> I did download the junit.jar and ant-junit.jar files and put them in the
> /usr/share/ant/lib directory.
> Any help appreciated.
Arnab Guin 2012-11-02, 07:08