[jira] [Commented] (HIVE-15615) Fix unit tests failures caused by HIVE-13696
[ https://issues.apache.org/jira/browse/HIVE-15615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15829250#comment-15829250 ] Hive QA commented on HIVE-15615: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12848067/HIVE-15615.1.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3024/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3024/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3024/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ date '+%Y-%m-%d %T.%3N' 2017-01-19 03:41:19.131 + [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]] + export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'MAVEN_OPTS=-Xmx1g ' + MAVEN_OPTS='-Xmx1g ' + cd /data/hiveptest/working/ + tee /data/hiveptest/logs/PreCommit-HIVE-Build-3024/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z master ]] + [[ -d apache-github-source-source ]] + [[ ! -d apache-github-source-source/.git ]] + [[ ! -d apache-github-source-source ]] + date '+%Y-%m-%d %T.%3N' 2017-01-19 03:41:19.134 + cd apache-github-source-source + git fetch origin >From https://github.com/apache/hive c9f81d2..4449c99 master -> origin/master + git reset --hard HEAD HEAD is now at c9f81d2 HIVE-15576 : Fix bug in QTestUtil where lines after a partial mask will not be masked (Thomas Poepping, reviewed by Sergey Shelukhin) + git clean -f -d Removing metastore/scripts/upgrade/derby/038-HIVE-10562.derby.sql Removing metastore/scripts/upgrade/mssql/023-HIVE-10562.mssql.sql Removing metastore/scripts/upgrade/mysql/038-HIVE-10562.mysql.sql Removing metastore/scripts/upgrade/oracle/038-HIVE-10562.oracle.sql Removing metastore/scripts/upgrade/postgres/037-HIVE-10562.postgres.sql + git checkout master Already on 'master' Your branch is behind 'origin/master' by 7 commits, and can be fast-forwarded. (use "git pull" to update your local branch) + git reset --hard origin/master HEAD is now at 4449c99 Revert "HIVE-15565: LLAP: GroupByOperator flushes hash table too frequently (Rajesh Balamohan, reviewed by Sergey Shelukhin)" + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2017-01-19 03:41:29.636 + patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh + patchFilePath=/data/hiveptest/working/scratch/build.patch + [[ -f /data/hiveptest/working/scratch/build.patch ]] + chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh + /data/hiveptest/working/scratch/smart-apply-patch.sh /data/hiveptest/working/scratch/build.patch error: a/ql/src/java/org/apache/hadoop/hive/ql/Driver.java: No such file or directory error: a/shims/scheduler/src/main/java/org/apache/hadoop/hive/schshim/FairSchedulerShim.java: No such file or directory The patch does not appear to apply with p0, p1, or p2 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12848067 - PreCommit-HIVE-Build > Fix unit tests failures caused by HIVE-13696 > > > Key: HIVE-15615 > URL: https://issues.apache.org/jira/browse/HIVE-15615 > Project: Hive > Issue Type: Bug >Reporter: Yongzhi Chen >Assignee: Yongzhi Chen > Attachments: HIVE-15615.1.patch > > > Following unit tests failed with same stack: > org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerCheckInvocation > org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerShowFilters > {noformat} > 2017-01-11T15:02:27,774 ERROR [main] ql.Driver: FAILED: NullPointerException > null > java.lang.NullPointerException > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule.cleanName(QueuePlacementRule.java:351) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule$User.getQueueForApp(QueuePlacementRule.java:132) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule.assignAppToQueue(QueuePlacementRule.java:74) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementPolicy.assignAppToQue
[jira] [Commented] (HIVE-15615) Fix unit tests failures caused by HIVE-13696
[ https://issues.apache.org/jira/browse/HIVE-15615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15829027#comment-15829027 ] Yongzhi Chen commented on HIVE-15615: - [~sushanth], I agree with you, we need revert HIVE-13696 to make the tarball installation stable. > Fix unit tests failures caused by HIVE-13696 > > > Key: HIVE-15615 > URL: https://issues.apache.org/jira/browse/HIVE-15615 > Project: Hive > Issue Type: Bug >Reporter: Yongzhi Chen >Assignee: Yongzhi Chen > Attachments: HIVE-15615.1.patch > > > Following unit tests failed with same stack: > org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerCheckInvocation > org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerShowFilters > {noformat} > 2017-01-11T15:02:27,774 ERROR [main] ql.Driver: FAILED: NullPointerException > null > java.lang.NullPointerException > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule.cleanName(QueuePlacementRule.java:351) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule$User.getQueueForApp(QueuePlacementRule.java:132) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule.assignAppToQueue(QueuePlacementRule.java:74) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementPolicy.assignAppToQueue(QueuePlacementPolicy.java:167) > at > org.apache.hadoop.hive.schshim.FairSchedulerShim.setJobQueueForUserInternal(FairSchedulerShim.java:96) > at > org.apache.hadoop.hive.schshim.FairSchedulerShim.validateQueueConfiguration(FairSchedulerShim.java:82) > at > org.apache.hadoop.hive.ql.session.YarnFairScheduling.validateYarnQueue(YarnFairScheduling.java:68) > at org.apache.hadoop.hive.ql.Driver.configureScheduling(Driver.java:671) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:543) > at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1313) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1453) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1233) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1223) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-15615) Fix unit tests failures caused by HIVE-13696
[ https://issues.apache.org/jira/browse/HIVE-15615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15828668#comment-15828668 ] Sushanth Sowmyan commented on HIVE-15615: - Additional note : setting hive.server2.map.fair.scheduler.queue to false makes this work, but given that true is the default in HiveConf, the default hive tarball installation is broken currently. > Fix unit tests failures caused by HIVE-13696 > > > Key: HIVE-15615 > URL: https://issues.apache.org/jira/browse/HIVE-15615 > Project: Hive > Issue Type: Bug >Reporter: Yongzhi Chen >Assignee: Yongzhi Chen > Attachments: HIVE-15615.1.patch > > > Following unit tests failed with same stack: > org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerCheckInvocation > org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerShowFilters > {noformat} > 2017-01-11T15:02:27,774 ERROR [main] ql.Driver: FAILED: NullPointerException > null > java.lang.NullPointerException > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule.cleanName(QueuePlacementRule.java:351) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule$User.getQueueForApp(QueuePlacementRule.java:132) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule.assignAppToQueue(QueuePlacementRule.java:74) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementPolicy.assignAppToQueue(QueuePlacementPolicy.java:167) > at > org.apache.hadoop.hive.schshim.FairSchedulerShim.setJobQueueForUserInternal(FairSchedulerShim.java:96) > at > org.apache.hadoop.hive.schshim.FairSchedulerShim.validateQueueConfiguration(FairSchedulerShim.java:82) > at > org.apache.hadoop.hive.ql.session.YarnFairScheduling.validateYarnQueue(YarnFairScheduling.java:68) > at org.apache.hadoop.hive.ql.Driver.configureScheduling(Driver.java:671) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:543) > at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1313) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1453) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1233) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1223) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-15615) Fix unit tests failures caused by HIVE-13696
[ https://issues.apache.org/jira/browse/HIVE-15615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15828578#comment-15828578 ] Sushanth Sowmyan commented on HIVE-15615: - On a live cluster where I'm running with hive.exec.engine=mr (yes, I know that's being deprecated out but it's useful for quick and dirty sanity testing), I get the following even with this patch, when I try to do a "insert into t1 select * from demo.t1" into a new db where I'm trying to copy t1's data : {noformat} java.io.IOException: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1477097284419_0047 to YARN : Application application_1477097284419_0047 submitted by user hive to unknown queue: root.hive at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:306) at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:240) 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:1724) 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:1724) 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:401) at org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(MapRedTask.java:151) at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:199) at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100) at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:2179) at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1835) at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1522) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1233) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1223) at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:233) at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:184) at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:400) at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:777) at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:715) at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:642) 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:233) at org.apache.hadoop.util.RunJar.main(RunJar.java:148) Caused by: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1477097284419_0047 to YARN : Application application_1477097284419_0047 submitted by user hive to unknown queue: root.hive at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.submitApplication(YarnClientImpl.java:276) at org.apache.hadoop.mapred.ResourceMgrDelegate.submitApplication(ResourceMgrDelegate.java:291) at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:290) ... 35 more Job Submission failed with exception 'java.io.IOException(org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1477097284419_0047 to YARN : Application application_1477097284419_0047 submitted by user hive to unknown queue: root.hive)' FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask. org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1477097284419_0047 to YARN : Application application_1477097284419_0047 submitted by user hive to unknown queue: root.hive {noformat} Is some other queue configuration needed as part of the introduction of HIVE-13696? > Fix unit tests failures caused by HIVE-13696 > > > Key: HIVE-15615 > URL: https://issues.apache.org/jira/browse/HIVE-15615 > Project: Hive > Issue Type: Bug >Repor
[jira] [Commented] (HIVE-15615) Fix unit tests failures caused by HIVE-13696
[ https://issues.apache.org/jira/browse/HIVE-15615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15821942#comment-15821942 ] Aihua Xu commented on HIVE-15615: - The patch looks good. +1. Seems we should have single place to have the username. Right now it's in multiple places. > Fix unit tests failures caused by HIVE-13696 > > > Key: HIVE-15615 > URL: https://issues.apache.org/jira/browse/HIVE-15615 > Project: Hive > Issue Type: Bug >Reporter: Yongzhi Chen >Assignee: Yongzhi Chen > Attachments: HIVE-15615.1.patch > > > Following unit tests failed with same stack: > org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerCheckInvocation > org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerShowFilters > {noformat} > 2017-01-11T15:02:27,774 ERROR [main] ql.Driver: FAILED: NullPointerException > null > java.lang.NullPointerException > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule.cleanName(QueuePlacementRule.java:351) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule$User.getQueueForApp(QueuePlacementRule.java:132) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule.assignAppToQueue(QueuePlacementRule.java:74) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementPolicy.assignAppToQueue(QueuePlacementPolicy.java:167) > at > org.apache.hadoop.hive.schshim.FairSchedulerShim.setJobQueueForUserInternal(FairSchedulerShim.java:96) > at > org.apache.hadoop.hive.schshim.FairSchedulerShim.validateQueueConfiguration(FairSchedulerShim.java:82) > at > org.apache.hadoop.hive.ql.session.YarnFairScheduling.validateYarnQueue(YarnFairScheduling.java:68) > at org.apache.hadoop.hive.ql.Driver.configureScheduling(Driver.java:671) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:543) > at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1313) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1453) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1233) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1223) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-15615) Fix unit tests failures caused by HIVE-13696
[ https://issues.apache.org/jira/browse/HIVE-15615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15821704#comment-15821704 ] Yongzhi Chen commented on HIVE-15615: - 1) Fix NPE by adding null value check 2) Use HiveConf.getUser instead of userName variable. > Fix unit tests failures caused by HIVE-13696 > > > Key: HIVE-15615 > URL: https://issues.apache.org/jira/browse/HIVE-15615 > Project: Hive > Issue Type: Bug >Reporter: Yongzhi Chen >Assignee: Yongzhi Chen > > Following unit tests failed with same stack: > org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerCheckInvocation > org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerShowFilters > {noformat} > 2017-01-11T15:02:27,774 ERROR [main] ql.Driver: FAILED: NullPointerException > null > java.lang.NullPointerException > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule.cleanName(QueuePlacementRule.java:351) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule$User.getQueueForApp(QueuePlacementRule.java:132) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule.assignAppToQueue(QueuePlacementRule.java:74) > at > org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementPolicy.assignAppToQueue(QueuePlacementPolicy.java:167) > at > org.apache.hadoop.hive.schshim.FairSchedulerShim.setJobQueueForUserInternal(FairSchedulerShim.java:96) > at > org.apache.hadoop.hive.schshim.FairSchedulerShim.validateQueueConfiguration(FairSchedulerShim.java:82) > at > org.apache.hadoop.hive.ql.session.YarnFairScheduling.validateYarnQueue(YarnFairScheduling.java:68) > at org.apache.hadoop.hive.ql.Driver.configureScheduling(Driver.java:671) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:543) > at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1313) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1453) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1233) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1223) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)