Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2833

Return Status::code() returned by DispatchCommand as exit code for kudu CLI

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • CLI, test
    • None

    Description

      Right now, kudu CLI always return 1 in case of a failure and outputs corresponding error message (i.e. Status::ToString()) into stderr. However, once we start using the tool in various testing scenarios, it might be useful to return corresponding exit code as well, so the testing script might differentiate between various exit codes returned by the tool.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aserbin Alexey Serbin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: