You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/07/07 18:31:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17376779#comment-17376779 ] 

ASF subversion and git services commented on IMPALA-10774:
----------------------------------------------------------

Commit b77f48efc5da9da040e67d98b90f9ed0dcb4d7fa in impala's branch refs/heads/master from Fang-Yu Rao
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=b77f48e ]

IMPALA-10774: Collect the output when starting Hive Metastore or HiveServer2

Before this patch, when we started the Hive Metastore or the HiveServer2
via run-hive-server.sh, hive-metastore.out and hive-server2.out would be
generated, respectively. The output of executing the hive command was
redirected to the corresponding files mentioned above. However, since
">" was used to redirect the output, the previously generated files
would be overwritten every time during the restart and thus some
important error message may be lost.

To collect more information regarding the restart, this patch appends
the newly produced output to hive-metastore.out and hive-server2.out
during the restart, which makes it easier for developers to troubleshoot
issues related to the restart.

Change-Id: I2efdbcf886e2d32ccf8c7eef038360884e44f216
Reviewed-on: http://gerrit.cloudera.org:8080/17642
Reviewed-by: Quanlong Huang <hu...@gmail.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> 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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org