You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Fang-Yu Rao (Jira)" <ji...@apache.org> on 2022/05/20 23:00:00 UTC

[jira] [Resolved] (IMPALA-10774) Collect the output each time when starting Hive metastore or HiveServer2

     [ https://issues.apache.org/jira/browse/IMPALA-10774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fang-Yu Rao resolved IMPALA-10774.
----------------------------------
    Target Version: Impala 4.0.0
        Resolution: Fixed

Resolve the JIRA since the patch has been merged.

> Collect the output each time when starting Hive metastore or HiveServer2
> ------------------------------------------------------------------------
>
>                 Key: IMPALA-10774
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10774
>             Project: IMPALA
>          Issue Type: Improvement
>            Reporter: Fang-Yu Rao
>            Assignee: Fang-Yu Rao
>            Priority: Minor
>
> Currently when we start the Hive Metastore or the HiveServer2 via {{run-hive-server.sh}}, {{hive-metastore.out}} and {{hive-server2.out}} will be generated, respectively. The output of executing the {{hive}} command will be redirected to the corresponding files mentioned above. However, since "{{>}}" is used to redirect the output, the previously generated files will be overwritten every time when the Hive Metastore or the HiveServer2 are restarted and thus some important error message may be lost during the restart.
> Recall that the restart of the Hive Metastore or the HiveServer2 occurs several times during the E2E tests. To facilitate the debugging of issues related to the restart, it is better to append the newly produced output to the corresponding output files rather than overwriting the previously generated ones.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)