You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "fang fang chen (Created) (JIRA)" <ji...@apache.org> on 2012/03/09 10:52:01 UTC

[jira] [Created] (FLUME-1023) "exec save filename" did not work

"exec save filename" did not work
---------------------------------

                 Key: FLUME-1023
                 URL: https://issues.apache.org/jira/browse/FLUME-1023
             Project: Flume
          Issue Type: Bug
          Components: Configuration
    Affects Versions: v0.9.1
         Environment: Linux
            Reporter: fang fang chen


Flume did not save the configuration to filename but to default file set in flume-conf.xml:

I connect flume master by "./flume shell -c localhost:35873"
Then "exec save '/home/flumeUser/flume/current.flume' " The result show "Command succeeded".
But the configuration is not loaded to /home/flumeUser/flume/current.flume, but to default file name /home/flumeUser/conf/current.flume.
Could you exlaination why this happened? Thank you.

Here is the information from flumemaster.out:
2012-03-09 00:54:28,746 [pool-2-thread-1] INFO master.CommandManager: Submitting command: save [/home/flumeUser/flume/current.flume]
2012-03-09 00:54:28,749 [exec-thread] INFO master.CommandManager: Executing command: save [/home/flumeUser/flume/current.flume]
2012-03-09 00:54:28,749 [exec-thread] INFO master.ConfigManager: Saving configuration to: /home/flumeUser/conf/current.flume

This default file is set by flume-conf.xml:
  <property>
    <name>flume.master.savefile</name>
    <value>conf/current.flume</value>
    <description>Node configurations can be saved to this file, and
    reloaded at startup.
    </description>
  </property>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira