[
https://issues.apache.org/jira/browse/HIVE-4979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726957#comment-13726957
]
Yin Huai commented on HIVE-4979:
--------------------------------
The above command cannot verify the fix... Please try
{code}
ant test -Dtestcase=TestHadoop20SAuthBridge
{\code}
For the current trunk, in my mac, the above command will generate "BUILD
SUCCESSFUL". But, when I check the testreport, no unit test has been tested
because the test cannot be compiled.
In my ubuntu vm, the above command will generate "BUILD FAILED". But the build
will not stop right after the point of the compiling error. The log will look
like this ...
{code}
checkstyle-init:
[mkdir] Created dir: /home/yhuai/hive/hive-trunk/hcatalog/build/checkstyle
checkstyle:
[echo] hcatalog
[checkstyle] Running Checkstyle 5.5 on 422 files
[for] hcatalog: The following error occurred while executing this line:
[for] /home/yhuai/hive/hive-trunk/build.xml:355: The following error
occurred while executing this line:
[for] /home/yhuai/hive/hive-trunk/hcatalog/build.xml:102:
[for] The following error occurred while executing this line:
[for]
/home/yhuai/hive/hive-trunk/hcatalog/build-support/ant/build-common.xml:97: The
following error occurred while executing this line:
[for] /home/yhuai/hive/hive-trunk/hcatalog/build-support/ant/test.xml:30:
exec returned: 1
[for] The following error occurred while executing this line:
[for]
/home/yhuai/hive/hive-trunk/hcatalog/build-support/ant/build-common.xml:97: The
following error occurred while executing this line:
[for] /home/yhuai/hive/hive-trunk/hcatalog/build-support/ant/test.xml:30:
exec returned: 1
[for] The following error occurred while executing this line:
[for]
/home/yhuai/hive/hive-trunk/hcatalog/build-support/ant/build-common.xml:97: The
following error occurred while executing this line:
[for] /home/yhuai/hive/hive-trunk/hcatalog/build-support/ant/test.xml:30:
exec returned: 1
[for] The following error occurred while executing this line:
[for]
/home/yhuai/hive/hive-trunk/hcatalog/build-support/ant/build-common.xml:97: The
following error occurred while executing this line:
[for] /home/yhuai/hive/hive-trunk/hcatalog/build-support/ant/test.xml:30:
exec returned: 1
[for] The following error occurred while executing this line:
[for]
/home/yhuai/hive/hive-trunk/hcatalog/build-support/ant/build-common.xml:97: The
following error occurred while executing this line:
[for] /home/yhuai/hive/hive-trunk/hcatalog/build-support/ant/test.xml:30:
exec returned: 1
BUILD FAILED
/home/yhuai/hive/hive-trunk/build.xml:353: Keepgoing execution: 1 of 11
iterations failed.
Total time: 2 minutes 11 seconds
{\code}
With this fix, the build will stop right after the point of the compiling
error. The log will look like this ...
{code}
compile-test-worker:
[echo] Project: shims
[echo] Compiling shim tests against hadoop 20S
[echo] Test srcdir :
/home/yhuai/hive/hive-4979/shims/src/common-secure/test
[javac] Compiling 3 source files to
/home/yhuai/hive/hive-4979/build/shims/test/classes
[javac]
/home/yhuai/hive/hive-4979/shims/src/common-secure/test/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java:103:
cannot find symbol
[javac] symbol : method
startDelegationTokenSecretManager(org.apache.hadoop.conf.Configuration)
[javac] location: class
org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S.Server
[javac] super.startDelegationTokenSecretManager(conf);
[javac] ^
[javac]
/home/yhuai/hive/hive-4979/shims/src/common-secure/test/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java:100:
method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] 2 errors
BUILD FAILED
/home/yhuai/hive/hive-4979/build.xml:341: The following error occurred while
executing this line:
/home/yhuai/hive/hive-4979/build.xml:361: The following error occurred while
executing this line:
/home/yhuai/hive/hive-4979/shims/build.xml:174: The following error occurred
while executing this line:
/home/yhuai/hive/hive-4979/shims/build.xml:154: The following error occurred
while executing this line:
/home/yhuai/hive/hive-4979/shims/build.xml:106: Compile failed; see the
compiler error output for details.
Total time: 1 minute 38 seconds
{\code}
> If any compiling error exists, test-shims should stop
> -----------------------------------------------------
>
> Key: HIVE-4979
> URL: https://issues.apache.org/jira/browse/HIVE-4979
> Project: Hive
> Issue Type: Sub-task
> Reporter: Yin Huai
> Assignee: Yin Huai
> Attachments: HIVE-4979.D11931.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira