[ https://issues.apache.org/jira/browse/HIVE-22671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003702#comment-17003702 ]
Hive QA commented on HIVE-22671: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12989497/HIVE-22671.01.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 17762 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/20022/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/20022/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-20022/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12989497 - PreCommit-HIVE-Build > TestHiveCli is flaky > -------------------- > > Key: HIVE-22671 > URL: https://issues.apache.org/jira/browse/HIVE-22671 > Project: Hive > Issue Type: Improvement > Reporter: László Bodor > Assignee: László Bodor > Priority: Major > Attachments: HIVE-22671.01.patch > > > 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)