[ https://issues.apache.org/jira/browse/HIVE-21565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812206#comment-16812206 ]
Hive QA commented on HIVE-21565: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12964718/HIVE-21565.2.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 15893 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[stats_noscan_2] (batchId=39) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[runtime_skewjoin_mapjoin_spark] (batchId=136) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[skewjoin] (batchId=122) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[stats_noscan_2] (batchId=127) org.apache.hadoop.hive.ql.TestTxnLoadData.testValidations (batchId=286) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/16888/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16888/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16888/ 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 Tests exited with: TestsFailedException: 5 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12964718 - PreCommit-HIVE-Build > Utilities::isEmptyPath should throw back FNFE instead of returning true > ----------------------------------------------------------------------- > > Key: HIVE-21565 > URL: https://issues.apache.org/jira/browse/HIVE-21565 > Project: Hive > Issue Type: Bug > Reporter: Rajesh Balamohan > Priority: Trivial > Attachments: HIVE-21565.1.patch, HIVE-21565.2.patch > > > In case there is a {{viewfs}} configured and it ends up throwing FNFE, > current codepath silently ignores the error and ends up creating an empty > file. > {noformat} > at org.apache.hadoop.fs.viewfs.InodeTree.resolve(InodeTree.java:403) > at > org.apache.hadoop.fs.viewfs.ViewFileSystem.listStatus(ViewFileSystem.java:374) > at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1497) > at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1537) > at > org.apache.hadoop.hive.ql.exec.Utilities.isEmptyPath(Utilities.java:2350) > at > org.apache.hadoop.hive.ql.exec.Utilities.isEmptyPath(Utilities.java:2343) > at > org.apache.hadoop.hive.ql.exec.Utilities$GetInputPathsCallable.call(Utilities.java:3128) > at > org.apache.hadoop.hive.ql.exec.Utilities.getInputPaths(Utilities.java:3092) > at > org.apache.hadoop.hive.ql.exec.spark.SparkPlanGenerator.cloneJobConf(SparkPlanGenerator.java:303) > at > org.apache.hadoop.hive.ql.exec.spark.SparkPlanGenerator.generate(SparkPlanGenerator.java:226) > at > org.apache.hadoop.hive.ql.exec.spark.SparkPlanGenerator.generate(SparkPlanGenerator.java:109) > at > org.apache.hadoop.hive.ql.exec.spark.RemoteHiveSparkClient$JobStatusJob.call(RemoteHiveSparkClient.java:346) > at > org.apache.hive.spark.client.RemoteDriver$JobWrapper.call(RemoteDriver.java:358) > at > org.apache.hive.spark.client.RemoteDriver$JobWrapper.call(RemoteDriver.java:323) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)