You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2013/11/27 18:26:35 UTC

[jira] [Commented] (HIVE-2564) Set dbname at JDBC URL or properties

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

Hive QA commented on HIVE-2564:
-------------------------------



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

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

Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/458/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/458/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Tests failed with: NonZeroExitCodeException: Command 'bash /data/hive-ptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ [[ -n '' ]]
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128'
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128'
+ 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-Build-458/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ svn = \s\v\n ]]
+ [[ -n '' ]]
+ [[ -d apache-svn-trunk-source ]]
+ [[ ! -d apache-svn-trunk-source/.svn ]]
+ [[ ! -d apache-svn-trunk-source ]]
+ cd apache-svn-trunk-source
+ svn revert -R .
Reverted 'ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java'
Reverted 'ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.java'
Reverted 'ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java'
Reverted 'ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorMapJoinOperator.java'
++ awk '{print $2}'
++ egrep -v '^X|^Performing status on external'
++ svn status --no-ignore
+ rm -rf target datanucleus.log ant/target shims/target shims/0.20/target shims/assembly/target shims/0.20S/target shims/0.23/target shims/common/target shims/common-secure/target packaging/target hbase-handler/target testutils/target jdbc/target metastore/target itests/target itests/hcatalog-unit/target itests/test-serde/target itests/qtest/target itests/hive-unit/target itests/custom-serde/target itests/util/target hcatalog/target hcatalog/storage-handlers/hbase/target hcatalog/server-extensions/target hcatalog/core/target hcatalog/webhcat/svr/target hcatalog/webhcat/java-client/target hcatalog/hcatalog-pig-adapter/target hwi/target common/target common/src/gen service/target contrib/target serde/target beeline/target odbc/target cli/target ql/dependency-reduced-pom.xml ql/target ql/src/test/results/clientpositive/vectorized_context.q.out ql/src/test/queries/clientpositive/vectorized_context.q ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizationContextRegion.java
+ svn update
D    ql/src/java/org/apache/hadoop/hive/ql/exec/JobCloseFeedBack.java
U    ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java
U    ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java
U    ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.java
A    ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizationContextRegion.java
U    ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java
U    ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorMapJoinOperator.java
U    ql/src/java/org/apache/hadoop/hive/ql/exec/JoinOperator.java
U    ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecDriver.java
U    ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java
U    ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java
U    ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/Vectorizer.java
A    ql/src/test/queries/clientpositive/vectorized_context.q
U    ql/src/test/queries/clientpositive/orc_split_elimination.q
A    ql/src/test/results/clientpositive/vectorized_context.q.out
U    ql/src/test/results/clientpositive/orc_split_elimination.q.out
U    ql/src/test/org/apache/hadoop/hive/ql/io/orc/TestOrcSplitElimination.java
U    testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.java
U    testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testPrepNone.approved.txt
U    testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testAlternativeTestJVM.approved.txt
U    testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testPrepSvn.approved.txt
U    testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testBatch.approved.txt
U    testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestHostExecutor.java
A    testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestHostExecutor.testShutdownBeforeExec.approved.txt
U    testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testPrepGit.approved.txt
U    testutils/ptest2/src/main/resources/batch-exec.vm
U    testutils/ptest2/src/main/resources/source-prep.vm
U    testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/PTest.java

Fetching external item into 'hcatalog/src/test/e2e/harness'
Updated external to revision 1546123.

Updated to revision 1546123.
+ 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: 12595112

> Set dbname at JDBC URL or properties
> ------------------------------------
>
>                 Key: HIVE-2564
>                 URL: https://issues.apache.org/jira/browse/HIVE-2564
>             Project: Hive
>          Issue Type: Improvement
>          Components: JDBC
>    Affects Versions: 0.7.1
>            Reporter: Shinsuke Sugaya
>              Labels: patch
>         Attachments: HIVE-2564.1.patch, HIVE-2564.2.patch, hive-2564.patch
>
>
> The current Hive implementation ignores a database name at JDBC URL, 
> though we can set it by executing "use <DBNAME>" statement.
> I think it is better to also specify a database name at JDBC URL or database properties.
> Therefore, I'll attach the patch.



--
This message was sent by Atlassian JIRA
(v6.1#6144)