Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: Init scripts, rpm
    • Labels:
      None

      Description

      start flume-node in SLES

      # service flume-node start
      Flume NG node is not running                                                                                                failed
      Starting Flume NG node daemon (flume-node):                                                                                 done
      # /bin/bash: -c: line 0: syntax error near unexpected token `>'
      /bin/bash: -c: line 0: `echo $$ > /var/run/flume/flume-node.pid && exec /usr/bin/flume-ng node --conf /etc/flume/conf --conf-file /etc/flume/conf/flume.conf --name agent &>>/var/log/flume/flume-node.log'
      

      start flume-node in centos

      ]# service flume-node start
      Flume NG node is not running                               [FAILED]
      Starting Flume NG node daemon (flume-node):                [  OK  ]
      /bin/bash: -c: line 0: syntax error near unexpected token `>'
      /bin/bash: -c: line 0: `echo $$ > /var/run/flume/flume-node.pid && exec /usr/bin/flume-ng node --conf /etc/flume/conf --conf-file /etc/flume/conf/flume.conf --name agent &>>/var/log/flume/flume-node.log'
      # service flume-node status
      Flume NG node is not running                               [FAILED]
      
      1. BIGTOP-647.patch
        0.8 kB
        Bruno Mahé

        Activity

        Hide
        Roman Shaposhnik added a comment -

        Bruno, I remember you were working on something similar for Flume. Could you, please, take a look?

        Show
        Roman Shaposhnik added a comment - Bruno, I remember you were working on something similar for Flume. Could you, please, take a look?
        Hide
        Bruno Mahé added a comment -

        indeed. Let me take a quick look.

        Show
        Bruno Mahé added a comment - indeed. Let me take a quick look.
        Hide
        Bruno Mahé added a comment -

        Here is a patch.
        In essence, appending both stdout and sterr at the same time may not be supported everywhere.

        This patch has been locally tested on a sles11.

        Show
        Bruno Mahé added a comment - Here is a patch. In essence, appending both stdout and sterr at the same time may not be supported everywhere. This patch has been locally tested on a sles11.
        Hide
        Roman Shaposhnik added a comment -

        +1

        Show
        Roman Shaposhnik added a comment - +1

          People

          • Assignee:
            Bruno Mahé
            Reporter:
            Johnny Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development