You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "László Bodor (Jira)" <ji...@apache.org> on 2019/12/26 14:43:00 UTC

[jira] [Commented] (HIVE-22671) TestHiveCli tests fail

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

László Bodor commented on HIVE-22671:
-------------------------------------

seems like an environment problem in ptest runs, but I'll try to find the first failing precommit run (however, due to green run policy, this issue should not have been caused by a commit)

> TestHiveCli tests fail
> ----------------------
>
>                 Key: HIVE-22671
>                 URL: https://issues.apache.org/jira/browse/HIVE-22671
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: László Bodor
>            Priority: Major
>
> Fails while running scripts @Before, the actual problem is  something like this:
> {code}
> 2019-12-24T06:11:16,065 DEBUG [main] exec.Utilities: HDFS dir: /tmp/hive with schema null, permission: rwxr-xr-x
> 2019-12-24T06:11:16,065 ERROR [main] cli.TestHiveCli: Failed due to the error:Connecting to jdbc:hive2://
> Hive Session ID = 92e1327d-4267-4efc-af7d-6bd2deeba7d7
> ivysettings.xml file not found in HIVE_HOME or HIVE_CONF_DIR,/home/hiveptest/34.70.195.43-hiveptest-0/apache-github-source-source/conf/ivysettings.xml will be used
> Error applying authorization policy on hive configuration: The dir: /tmp/hive on HDFS should be writable. Current permissions are: rwxr-xr-x
> Hive Session ID = 5d752eea-9bb5-42b4-953d-750f766fefaa
> ivysettings.xml file not found in HIVE_HOME or HIVE_CONF_DIR,/home/hiveptest/34.70.195.43-hiveptest-0/apache-github-source-source/conf/ivysettings.xml will be used
> Error applying authorization policy on hive configuration: The dir: /tmp/hive on HDFS should be writable. Current permissions are: rwxr-xr-x
> Connection is already closed.
> {code}
> locally it passes:
> {code}
> 2019-12-26T06:23:45,535 DEBUG [main] cli.CLIService: SessionHandle [ee1f45b2-cb74-4b0e-9c4e-5ddbc47a94ae]: closeSession()
> 2019-12-26T06:23:45,540 DEBUG [main] cli.TestHiveCli: Connecting to jdbc:hive2://
> Hive Session ID = feba5d41-796f-406e-a017-bce19c28fe09
> ivysettings.xml file not found in HIVE_HOME or HIVE_CONF_DIR,/home/abstractdog/apache/hive/conf/ivysettings.xml will be used
> ivysettings.xml file not found in HIVE_HOME or HIVE_CONF_DIR,/home/abstractdog/apache/hive/conf/ivysettings.xml will be used
> Connected to: Apache Hive (version 4.0.0-SNAPSHOT)
> Driver: Hive JDBC (version 4.0.0-SNAPSHOT)
> Transaction isolation: TRANSACTION_REPEATABLE_READ
> hive> create database if not exists test;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)