Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-537

Error message for "exec load" could be more clear

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Won't Fix
    • 0.9.3
    • 0.9.5
    • Master
    • None
    • Ubuntu 10.04 LTS on EC2

    Description

      We upgraded from 0.9.1 to 0.9.3 and our "exec load" failed:

       
      ubuntu@domU-12-31-39-04-54-CE:~$ flume shell -c localhost -e "exec load"
      2011-02-23 23:25:17,006 [main] INFO conf.FlumeConfiguration: Loading configurations from /etc/flume/conf
      Using default admin port: 35873
      Using default report port: 45678
      Connecting to Flume master localhost:35873:45678...
      2011-02-23 23:25:17,168 [main] INFO util.AdminRPCThrift: Connected to master at localhost:35873
      [id: 16] Execing command : load
      Command failed
      null
      

      It looks like LoadConfigCommand changed to require a file versus assuming current.flume as the default.

      This line looks to be the culprit - perhaps missing an error message if the assertion fails?

       
      Preconditions.checkArgument(argv.length == 0);
      

      Sharethrough loves Flume!

      Rob

      Attachments

        Activity

          People

            Unassigned Unassigned
            flume_robert.slifka@gmail.com Disabled imported user
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: