hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11755) Incorrect method called with Kerberos enabled in AccumuloStorageHandler
Date Tue, 08 Sep 2015 11:58:46 GMT

    [ https://issues.apache.org/jira/browse/HIVE-11755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14734698#comment-14734698
] 

Hive QA commented on HIVE-11755:
--------------------------------



{color:red}Overall{color}: -1 no tests executed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12754572/HIVE-11755.001.patch

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5197/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5197/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5197/

Messages:
{noformat}
**** This message was trimmed, see log for full details ****
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) @ hive-service ---
[INFO] Source directory: /data/hive-ptest/working/apache-github-source-source/service/src/model
added.
[INFO] Source directory: /data/hive-ptest/working/apache-github-source-source/service/src/gen/thrift/gen-javabean
added.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-service ---
[WARNING] Invalid project model for artifact [pentaho-aggdesigner-algorithm:org.pentaho:5.1.5-jhyde].
It will be ignored by the remote resources Mojo.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hive-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/service/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-service ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hive-service ---
[INFO] Compiling 177 source files to /data/hive-ptest/working/apache-github-source-source/service/target/classes
[WARNING] /data/hive-ptest/working/apache-github-source-source/service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java:
Some input files use or override a deprecated API.
[WARNING] /data/hive-ptest/working/apache-github-source-source/service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java:
Recompile with -Xlint:deprecation for details.
[WARNING] /data/hive-ptest/working/apache-github-source-source/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpServlet.java:
Some input files use unchecked or unsafe operations.
[WARNING] /data/hive-ptest/working/apache-github-source-source/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpServlet.java:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hive-service
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/service/src/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-service ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/service/target/tmp
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/service/target/warehouse
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/service/target/tmp/conf
     [copy] Copying 10 files to /data/hive-ptest/working/apache-github-source-source/service/target/tmp/conf
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-service ---
[INFO] Compiling 11 source files to /data/hive-ptest/working/apache-github-source-source/service/target/test-classes
[WARNING] /data/hive-ptest/working/apache-github-source-source/service/src/test/org/apache/hive/service/cli/session/TestSessionHooks.java:
Some input files use or override a deprecated API.
[WARNING] /data/hive-ptest/working/apache-github-source-source/service/src/test/org/apache/hive/service/cli/session/TestSessionHooks.java:
Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ hive-service ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ hive-service ---
[INFO] Building jar: /data/hive-ptest/working/apache-github-source-source/service/target/hive-service-2.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ hive-service ---
[INFO] 
[INFO] --- maven-jar-plugin:2.2:test-jar (default) @ hive-service ---
[INFO] Building jar: /data/hive-ptest/working/apache-github-source-source/service/target/hive-service-2.0.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ hive-service ---
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/service/target/hive-service-2.0.0-SNAPSHOT.jar
to /home/hiveptest/.m2/repository/org/apache/hive/hive-service/2.0.0-SNAPSHOT/hive-service-2.0.0-SNAPSHOT.jar
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/service/pom.xml to
/home/hiveptest/.m2/repository/org/apache/hive/hive-service/2.0.0-SNAPSHOT/hive-service-2.0.0-SNAPSHOT.pom
[INFO] Installing /data/hive-ptest/working/apache-github-source-source/service/target/hive-service-2.0.0-SNAPSHOT-tests.jar
to /home/hiveptest/.m2/repository/org/apache/hive/hive-service/2.0.0-SNAPSHOT/hive-service-2.0.0-SNAPSHOT-tests.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Hive Accumulo Handler 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hive-accumulo-handler ---
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/accumulo-handler/target
[INFO] Deleting /data/hive-ptest/working/apache-github-source-source/accumulo-handler (includes
= [datanucleus.log, derby.log], excludes = [])
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-snapshots) @ hive-accumulo-handler
---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hive-accumulo-handler ---
[WARNING] Invalid project model for artifact [pentaho-aggdesigner-algorithm:org.pentaho:5.1.5-jhyde].
It will be ignored by the remote resources Mojo.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hive-accumulo-handler
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/main/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (define-classpath) @ hive-accumulo-handler ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ hive-accumulo-handler ---
[INFO] Compiling 52 source files to /data/hive-ptest/working/apache-github-source-source/accumulo-handler/target/classes
[WARNING] /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/serde/AccumuloSerDe.java:
Some input files use or override a deprecated API.
[WARNING] /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/serde/AccumuloSerDe.java:
Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hive-accumulo-handler
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (setup-test-dirs) @ hive-accumulo-handler ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/accumulo-handler/target/tmp
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/accumulo-handler/target/warehouse
    [mkdir] Created dir: /data/hive-ptest/working/apache-github-source-source/accumulo-handler/target/tmp/conf
     [copy] Copying 10 files to /data/hive-ptest/working/apache-github-source-source/accumulo-handler/target/tmp/conf
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hive-accumulo-handler
---
[INFO] Compiling 27 source files to /data/hive-ptest/working/apache-github-source-source/accumulo-handler/target/test-classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/test/org/apache/hadoop/hive/accumulo/serde/TestAccumuloSerDe.java:
Some input files use or override a deprecated API.
[WARNING] /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/test/org/apache/hadoop/hive/accumulo/serde/TestAccumuloSerDe.java:
Recompile with -Xlint:deprecation for details.
[INFO] 2 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/test/org/apache/hadoop/hive/accumulo/mr/TestHiveAccumuloTableOutputFormat.java:[40,28]
cannot find symbol
  symbol:   class CommonConfigurationKeysPublic
  location: package org.apache.hadoop.fs
[ERROR] /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/test/org/apache/hadoop/hive/accumulo/mr/TestHiveAccumuloTableOutputFormat.java:[40,28]
cannot find symbol
  symbol:   class CommonConfigurationKeysPublic
  location: package org.apache.hadoop.fs
[ERROR] /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/test/org/apache/hadoop/hive/accumulo/mr/TestHiveAccumuloTableOutputFormat.java:[135,14]
cannot find symbol
  symbol:   variable CommonConfigurationKeysPublic
  location: class org.apache.hadoop.hive.accumulo.mr.TestHiveAccumuloTableOutputFormat
[ERROR] /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/test/org/apache/hadoop/hive/accumulo/mr/TestHiveAccumuloTableOutputFormat.java:[140,25]
cannot find symbol
  symbol:   method setLoginUser(org.apache.hadoop.security.UserGroupInformation)
  location: class org.apache.hadoop.security.UserGroupInformation
[INFO] 4 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Hive .............................................. SUCCESS [10.456s]
[INFO] Hive Shims Common ................................. SUCCESS [13.615s]
[INFO] Hive Shims 0.20S .................................. SUCCESS [3.417s]
[INFO] Hive Shims 0.23 ................................... SUCCESS [10.368s]
[INFO] Hive Shims Scheduler .............................. SUCCESS [2.344s]
[INFO] Hive Shims ........................................ SUCCESS [2.720s]
[INFO] Hive Storage API .................................. SUCCESS [2.633s]
[INFO] Hive Common ....................................... SUCCESS [20.655s]
[INFO] Hive Serde ........................................ SUCCESS [18.192s]
[INFO] Hive Metastore .................................... SUCCESS [45.334s]
[INFO] Hive Ant Utilities ................................ SUCCESS [1.879s]
[INFO] Spark Remote Client ............................... SUCCESS [25.273s]
[INFO] Hive Query Language ............................... SUCCESS [3:13.362s]
[INFO] Hive Service ...................................... SUCCESS [11.580s]
[INFO] Hive Accumulo Handler ............................. FAILURE [7.174s]
[INFO] Hive JDBC ......................................... SKIPPED
[INFO] Hive Beeline ...................................... SKIPPED
[INFO] Hive CLI .......................................... SKIPPED
[INFO] Hive Contrib ...................................... SKIPPED
[INFO] Hive HBase Handler ................................ SKIPPED
[INFO] Hive HCatalog ..................................... SKIPPED
[INFO] Hive HCatalog Core ................................ SKIPPED
[INFO] Hive HCatalog Pig Adapter ......................... SKIPPED
[INFO] Hive HCatalog Server Extensions ................... SKIPPED
[INFO] Hive HCatalog Webhcat Java Client ................. SKIPPED
[INFO] Hive HCatalog Webhcat ............................. SKIPPED
[INFO] Hive HCatalog Streaming ........................... SKIPPED
[INFO] Hive HPL/SQL ...................................... SKIPPED
[INFO] Hive HWI .......................................... SKIPPED
[INFO] Hive ODBC ......................................... SKIPPED
[INFO] Hive Shims Aggregator ............................. SKIPPED
[INFO] Hive TestUtils .................................... SKIPPED
[INFO] Hive Packaging .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:12.052s
[INFO] Finished at: Tue Sep 08 07:58:31 EDT 2015
[INFO] Final Memory: 194M/900M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
(default-testCompile) on project hive-accumulo-handler: Compilation failure: Compilation failure:
[ERROR] /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/test/org/apache/hadoop/hive/accumulo/mr/TestHiveAccumuloTableOutputFormat.java:[40,28]
cannot find symbol
[ERROR] symbol:   class CommonConfigurationKeysPublic
[ERROR] location: package org.apache.hadoop.fs
[ERROR] /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/test/org/apache/hadoop/hive/accumulo/mr/TestHiveAccumuloTableOutputFormat.java:[40,28]
cannot find symbol
[ERROR] symbol:   class CommonConfigurationKeysPublic
[ERROR] location: package org.apache.hadoop.fs
[ERROR] /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/test/org/apache/hadoop/hive/accumulo/mr/TestHiveAccumuloTableOutputFormat.java:[135,14]
cannot find symbol
[ERROR] symbol:   variable CommonConfigurationKeysPublic
[ERROR] location: class org.apache.hadoop.hive.accumulo.mr.TestHiveAccumuloTableOutputFormat
[ERROR] /data/hive-ptest/working/apache-github-source-source/accumulo-handler/src/test/org/apache/hadoop/hive/accumulo/mr/TestHiveAccumuloTableOutputFormat.java:[140,25]
cannot find symbol
[ERROR] symbol:   method setLoginUser(org.apache.hadoop.security.UserGroupInformation)
[ERROR] location: class org.apache.hadoop.security.UserGroupInformation
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hive-accumulo-handler
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12754572 - PreCommit-HIVE-TRUNK-Build

> Incorrect method called with Kerberos enabled in AccumuloStorageHandler
> -----------------------------------------------------------------------
>
>                 Key: HIVE-11755
>                 URL: https://issues.apache.org/jira/browse/HIVE-11755
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.2.2
>
>         Attachments: HIVE-11755.001.patch
>
>
> The following exception was noticed in testing out the AccumuloStorageHandler's OutputFormat:
> {noformat}
> java.lang.IllegalStateException: Connector info for AccumuloOutputFormat can only be
set once per job
>   at org.apache.accumulo.core.client.mapreduce.lib.impl.ConfiguratorBase.setConnectorInfo(ConfiguratorBase.java:146)
>   at org.apache.accumulo.core.client.mapred.AccumuloOutputFormat.setConnectorInfo(AccumuloOutputFormat.java:125)
>   at org.apache.hadoop.hive.accumulo.mr.HiveAccumuloTableOutputFormat.configureAccumuloOutputFormat(HiveAccumuloTableOutputFormat.java:95)
>   at org.apache.hadoop.hive.accumulo.mr.HiveAccumuloTableOutputFormat.checkOutputSpecs(HiveAccumuloTableOutputFormat.java:51)
>   at org.apache.hadoop.hive.ql.io.HivePassThroughOutputFormat.checkOutputSpecs(HivePassThroughOutputFormat.java:46)
>   at org.apache.hadoop.hive.ql.exec.FileSinkOperator.checkOutputSpecs(FileSinkOperator.java:1124)
>   at org.apache.hadoop.hive.ql.io.HiveOutputFormatImpl.checkOutputSpecs(HiveOutputFormatImpl.java:67)
>   at org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:268)
>   at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:139)
>   at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290)
>   at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:415)
>   at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
>   at org.apache.hadoop.mapreduce.Job.submit(Job.java:1287)
>   at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:575)
>   at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:570)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:415)
>   at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
>   at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:570)
>   at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:561)
>   at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:431)
>   at org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(MapRedTask.java:137)
>   at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)
>   at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:88)
>   at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1653)
>   at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1412)
>   at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1195)
>   at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059)
>   at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049)
>   at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:213)
>   at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:165)
>   at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:376)
>   at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:311)
>   at org.apache.hadoop.hive.cli.CliDriver.processReader(CliDriver.java:409)
>   at org.apache.hadoop.hive.cli.CliDriver.processFile(CliDriver.java:425)
>   at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:714)
>   at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)
>   at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:606)
>   at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
>   at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
>   Job Submission failed with exception 'java.lang.IllegalStateException(Connector info
for AccumuloOutputFormat can only be set once per job)'
> {noformat}
> The OutputFormat implementation already had a method in place to account for this exception
but the method accidentally wasn't getting called.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message