[ https://issues.apache.org/jira/browse/HIVE-11441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694690#comment-14694690 ]
Hive QA commented on HIVE-11441: -------------------------------- {color:red}Overall{color}: -1 no tests executed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12750187/HIVE-11441.3.patch Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4943/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4943/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4943/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hive-ptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ [[ -n /usr/java/jdk1.7.0_45-cloudera ]] + export JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera + JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera + export PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin + PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'M2_OPTS=-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128' + M2_OPTS='-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128' + cd /data/hive-ptest/working/ + tee /data/hive-ptest/logs/PreCommit-HIVE-TRUNK-Build-4943/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 ]] + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 16546cc HIVE-11462: Constant fold struct() UDF (Gopal V, reviewed by Hari Sankar Sivarama Subramaniyan) + git clean -f -d Removing ql/src/java/org/apache/hadoop/hive/ql/exec/AbstractMapOperator.java Removing ql/src/java/org/apache/hadoop/hive/ql/plan/PartitionConversion.java Removing ql/src/java/org/apache/hadoop/hive/ql/plan/VectorPartitionDesc.java Removing ql/src/test/queries/clientpositive/vector_schema_evolution.q Removing ql/src/test/queries/clientpositive/vector_schema_evolution2.q Removing ql/src/test/queries/clientpositive/vector_schema_evolution3.q Removing ql/src/test/queries/clientpositive/vector_schema_evolution4.q Removing ql/src/test/queries/clientpositive/vector_schema_evolution5.q Removing ql/src/test/queries/clientpositive/vector_schema_evolution6.q Removing ql/src/test/results/clientpositive/vector_schema_evolution.q.out Removing ql/src/test/results/clientpositive/vector_schema_evolution2.q.out Removing ql/src/test/results/clientpositive/vector_schema_evolution3.q.out Removing ql/src/test/results/clientpositive/vector_schema_evolution4.q.out Removing ql/src/test/results/clientpositive/vector_schema_evolution5.q.out Removing ql/src/test/results/clientpositive/vector_schema_evolution6.q.out + git checkout master Already on 'master' + git reset --hard origin/master HEAD is now at 16546cc HIVE-11462: Constant fold struct() UDF (Gopal V, reviewed by Hari Sankar Sivarama Subramaniyan) + git merge --ff-only origin/master Already up-to-date. + git gc + patchCommandPath=/data/hive-ptest/working/scratch/smart-apply-patch.sh + patchFilePath=/data/hive-ptest/working/scratch/build.patch + [[ -f /data/hive-ptest/working/scratch/build.patch ]] + chmod +x /data/hive-ptest/working/scratch/smart-apply-patch.sh + /data/hive-ptest/working/scratch/smart-apply-patch.sh /data/hive-ptest/working/scratch/build.patch The patch does not appear to apply with p0, p1, or p2 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12750187 - PreCommit-HIVE-TRUNK-Build > No DDL allowed on table if user accidentally set table location wrong > --------------------------------------------------------------------- > > Key: HIVE-11441 > URL: https://issues.apache.org/jira/browse/HIVE-11441 > Project: Hive > Issue Type: Bug > Reporter: Daniel Dai > Assignee: Daniel Dai > Fix For: 1.3.0, 2.0.0 > > Attachments: HIVE-11441.1.patch, HIVE-11441.2.patch, > HIVE-11441.3.patch > > > If user makes a mistake, hive should either correct it in the first place, or > allow user a chance to correct it. > STEPS TO REPRODUCE: > create table testwrongloc(id int); > alter table testwrongloc set location > "hdfs://a-valid-hostname/tmp/testwrongloc"; > --at this time, hive should throw error, as hdfs://a-valid-hostname is not a > valid path, it either needs to be hdfs://namenode-hostname:8020/ or > hdfs://hdfs-nameservice for HA > alter table testwrongloc set location > "hdfs://correct-host:8020/tmp/testwrongloc" > or > drop table testwrongloc; > upon this hive throws error, that host 'a-valid-hostname' is not reachable > {code} > 2015-07-30 12:19:43,573 DEBUG [main]: transport.TSaslTransport > (TSaslTransport.java:readFrame(429)) - CLIENT: reading data length: 293 > 2015-07-30 12:19:43,720 ERROR [main]: ql.Driver > (SessionState.java:printError(833)) - FAILED: SemanticException Unable to > fetch table testloc. java.net.ConnectException: Call From > hdpsecb02.secb.hwxsup.com/172.25.16.178 to hdpsecb02.secb.hwxsup.com:8020 > failed on connection exception: java.net.ConnectException: Connection > refused; For more details see: > http://wiki.apache.org/hadoop/ConnectionRefused > org.apache.hadoop.hive.ql.parse.SemanticException: Unable to fetch table > testloc. java.net.ConnectException: Call From > hdpsecb02.secb.hwxsup.com/172.25.16.178 to hdpsecb02.secb.hwxsup.com:8020 > failed on connection exception: java.net.ConnectException: Connection > refused; For more details see: > http://wiki.apache.org/hadoop/ConnectionRefused > at > org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.getTable(BaseSemanticAnalyzer.java:1323) > at > org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.getTable(BaseSemanticAnalyzer.java:1309) > at > org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.addInputsOutputsAlterTable(DDLSemanticAnalyzer.java:1387) > at > org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeAlterTableLocation(DDLSemanticAnalyzer.java:1452) > at > org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.analyzeInternal(DDLSemanticAnalyzer.java:295) > at > org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:221) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:417) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:305) > at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1069) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1131) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1006) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:996) > at > org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:247) > at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:199) > at > org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:410) > at > org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:783) > at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:677) > at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:616) > 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) > Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Unable to fetch > table testloc. java.net.ConnectException: Call From > hdpsecb02.secb.hwxsup.com/172.25.16.178 to hdpsecb02.secb.hwxsup.com:8020 > failed on connection exception: java.net.ConnectException: Connection > refused; For more details see: > http://wiki.apache.org/hadoop/ConnectionRefused > at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1072) > at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1019) > at > org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.getTable(BaseSemanticAnalyzer.java:1316) > ... 23 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)