[
https://issues.apache.org/jira/browse/HIVE-11073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14596752#comment-14596752
]
Hive QA commented on HIVE-11073:
--------------------------------
{color:red}Overall{color}: -1 at least one tests failed
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12741071/HIVE-11073.1.patch
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 9014 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_join28
{noformat}
Test results:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4338/testReport
Console output:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4338/console
Test logs:
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4338/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12741071 - PreCommit-HIVE-TRUNK-Build
> ORC FileDump utility ignores errors when writing output
> -------------------------------------------------------
>
> Key: HIVE-11073
> URL: https://issues.apache.org/jira/browse/HIVE-11073
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Affects Versions: 1.2.0
> Reporter: Elliot West
> Assignee: Elliot West
> Priority: Minor
> Labels: cli, orc
> Attachments: HIVE-11073.1.patch
>
>
> The Hive command line provides the {{--orcfiledump}} utility for dumping data
> contained within ORC files, specifically when using the {{-d}} option.
> Generally, it is useful to be able to pipe the data extracted into other
> commands and utilities to transform and control the data so that it is more
> manageable by the CLI user. A classic example is {{less}}.
> When such command pipelines are currently constructed, the underlying
> implementation in {{org.apache.hadoop.hive.ql.io.orc.FileDump#printJsonData}}
> is oblivious to errors occurring when writing to its output stream. Such
> errors are common place when a user issues {{Ctrl+C}} to kill the leaf
> process. In this event the leaf process terminates immediately but the Hive
> CLI process continues to execute until the full contents of the ORC file has
> been read.
> By making {{FileDump}} considerate of output stream errors the process will
> terminate as soon as the destination process exits (i.e. when the user kills
> {{less}}) and control will be returned to the user as expected.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)