Uploaded image for project: 'Flume (READ-ONLY)'
  1. Flume (READ-ONLY)
  2. FLUME-15

Flume shell error messages are not useful

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v0.9.0, v0.9.1, v0.9.1u1
    • Fix Version/s: v0.9.2
    • Component/s: Shell
    • Labels:
      None

      Description

      From feedback:

      Command failed" is not helpful at all. Tailing master log, I see something slightly more useful in some cases, in other cases less useful. "Sometimes ""due to null"":

      [flume localhost:35873] exec config todd-desktop tail('/var/log/messages') console
      Failed to run command 'exec config todd-desktop tail('/var/log/messages') console' due to null
      10/06/24 23:11:00 ERROR util.FlumeShell: Failed to run command 'exec config todd-desktop tail('/var/log/messages') console'

      Sometimes just failed:

      [flume localhost:35873] exec config todd-desktop ""tail('/var/log/messages')"" console
      [id: 4] Execing command : config
      Command failed

      Tailing the log, it's sometimes useful, but other times I get stuff like:

      10/06/24 23:10:17 ERROR master.CommandManager: Error executing command: config [todd-desktop, console]
      java.lang.IllegalArgumentException
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:75)
      at com.cloudera.flume.master.ConfigCommand$1.exec(ConfigCommand.java:83)

      which is not useful - use the multiarg form of Preconditions checks so you get a message out the top"

        Attachments

          Activity

            People

            • Assignee:
              jon Jonathan Hsieh
              Reporter:
              jon Jonathan Hsieh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: