[
https://issues.apache.org/jira/browse/HIVE-9981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14364578#comment-14364578
]
Hive QA commented on HIVE-9981:
-------------------------------
{color:red}Overall{color}: -1 at least one tests failed
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12704918/HIVE-9981.2.patch
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 7768 tests executed
*Failed tests:*
{noformat}
TestMarkPartition - did not produce a TEST-*.xml file
{noformat}
Test results:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3048/testReport
Console output:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3048/console
Test logs:
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-3048/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12704918 - PreCommit-HIVE-TRUNK-Build
> Avoid throwing many exceptions when attempting to create new hdfs encryption
> shim
> ---------------------------------------------------------------------------------
>
> Key: HIVE-9981
> URL: https://issues.apache.org/jira/browse/HIVE-9981
> Project: Hive
> Issue Type: Improvement
> Components: Encryption
> Reporter: Sergio Peña
> Assignee: Sergio Peña
> Attachments: HIVE-9981.1.patch, HIVE-9981.2.patch
>
>
> Hadoop23Shims.createHdfsEncryptionShim() is throwing an exception for verions
> lower than 2.6.0 everytime a query is executed.
> Exceptions are expensive, so rather than throwing them every time, we can use
> this design pattern followed for some other functions in Hadoop23Shims -
> {code}
> protected static final Method accessMethod;
> protected static final Method getPasswordMethod;
> static {
> Method m = null;
> try {
> m = FileSystem.class.getMethod("access", Path.class, FsAction.class);
> } catch (NoSuchMethodException err) {
> // This version of Hadoop does not support FileSystem.access().
> }
> accessMethod = m;
> try {
> m = Configuration.class.getMethod("getPassword", String.class);
> } catch (NoSuchMethodException err) {
> // This version of Hadoop does not support getPassword(), just retrieve
> password from conf.
> m = null;
> }
> getPasswordMethod = m;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)