Falcon
  1. Falcon
  2. FALCON-187

Update Falcon start script to also redirect stdout to the log file

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.3
    • Fix Version/s: 0.4
    • Component/s: None
    • Labels:
      None

      Description

      I noticed a weird behavior where if the bin/falcon-start script was called within the ssh call it would start the service but not return the control back to the user.

      If the same ssh call was issued with -t option it worked. What i determined is that the java command being issued is only redirecting stderr to the log file and stdout is not being captured. If we capture stdout as well we do not run into this issue.

        Issue Links

          Activity

          Hide
          Arpit Gupta added a comment -

          Attached is a simple patch that i tested on my mac. Without this patch if falcon is started within an ssh call it will not return the control back to the user. Makes it a bit difficult to automate

          Show
          Arpit Gupta added a comment - Attached is a simple patch that i tested on my mac. Without this patch if falcon is started within an ssh call it will not return the control back to the user. Makes it a bit difficult to automate
          Hide
          Arpit Gupta added a comment -

          btw this patch will apply on top of FALCON-162 and FALCON-165. I used hadoop scripts as a guideline for this change as in the same env i could start hadoop scripts via ssh but not falcon.

          Show
          Arpit Gupta added a comment - btw this patch will apply on top of FALCON-162 and FALCON-165 . I used hadoop scripts as a guideline for this change as in the same env i could start hadoop scripts via ssh but not falcon.
          Hide
          Venkatesh Seetharam added a comment -

          Committed to FALCON-85 branch. Thanks Arpit Gupta!

          Show
          Venkatesh Seetharam added a comment - Committed to FALCON-85 branch. Thanks Arpit Gupta !

            People

            • Assignee:
              Arpit Gupta
              Reporter:
              Arpit Gupta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development