Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10774

Collect the output each time when starting Hive metastore or HiveServer2

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            fangyurao Fang-Yu Rao
            fangyurao Fang-Yu Rao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: