You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Jonathan Hsieh (JIRA)" <ji...@apache.org> on 2011/08/03 11:08:27 UTC
[jira] [Created] (FLUME-718) FlumeConfiguration should have default
webapp paths.
FlumeConfiguration should have default webapp paths.
----------------------------------------------------
Key: FLUME-718
URL: https://issues.apache.org/jira/browse/FLUME-718
Project: Flume
Issue Type: Bug
Affects Versions: v0.9.4
Reporter: Jonathan Hsieh
Fix For: v0.9.5
Attachments: 0001-FLUME-71x-FlumeConfiguration-should-have-default-web.patch
The FlumeConfiguration value should have a reasonable default in the case that configuration files do not have any value. As an example, 0.9.3 config files do not have the flume.master.webapp.root values and if used after an upgrade to 0.9.4, flume's status webpages will fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FLUME-718) FlumeConfiguration should have
default webapp paths.
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLUME-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078648#comment-13078648 ]
Jonathan Hsieh commented on FLUME-718:
--------------------------------------
Review here: https://review.cloudera.org/r/1882/
> FlumeConfiguration should have default webapp paths.
> ----------------------------------------------------
>
> Key: FLUME-718
> URL: https://issues.apache.org/jira/browse/FLUME-718
> Project: Flume
> Issue Type: Bug
> Affects Versions: v0.9.4
> Reporter: Jonathan Hsieh
> Fix For: v0.9.5
>
> Attachments: 0001-FLUME-71x-FlumeConfiguration-should-have-default-web.patch
>
>
> The FlumeConfiguration value should have a reasonable default in the case that configuration files do not have any value. As an example, 0.9.3 config files do not have the flume.master.webapp.root values and if used after an upgrade to 0.9.4, flume's status webpages will fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FLUME-718) FlumeConfiguration should have default
webapp paths.
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLUME-718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hsieh updated FLUME-718:
---------------------------------
Status: Patch Available (was: Open)
> FlumeConfiguration should have default webapp paths.
> ----------------------------------------------------
>
> Key: FLUME-718
> URL: https://issues.apache.org/jira/browse/FLUME-718
> Project: Flume
> Issue Type: Bug
> Affects Versions: v0.9.4
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Fix For: v0.9.5
>
> Attachments: 0001-FLUME-71x-FlumeConfiguration-should-have-default-web.patch
>
>
> The FlumeConfiguration value should have a reasonable default in the case that configuration files do not have any value. As an example, 0.9.3 config files do not have the flume.master.webapp.root values and if used after an upgrade to 0.9.4, flume's status webpages will fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FLUME-718) FlumeConfiguration should have
default webapp paths.
Posted by "E. Sammer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLUME-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078867#comment-13078867 ]
E. Sammer commented on FLUME-718:
---------------------------------
I definitely don't like the idea of having another layer of "defaults" hiding in the code. Hadoop has these issues as well. I believe the correct thing to do here is to drop a copy of flume-conf.xml in src/main/resources so it winds up in the jar and guarantee that all params are set here (so the null condition never happens in FlumeConfiguration). As it is today, there's three places a param can be set (or not set), FlumeConfiguration not being readily accessible[1] to an end user, and that's just begging for trouble.
Let's not do this.
[1] By which I mean the source should not be the docs for a non-programmer ops type of person.
> FlumeConfiguration should have default webapp paths.
> ----------------------------------------------------
>
> Key: FLUME-718
> URL: https://issues.apache.org/jira/browse/FLUME-718
> Project: Flume
> Issue Type: Bug
> Affects Versions: v0.9.4
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Fix For: v0.9.5
>
> Attachments: 0001-FLUME-71x-FlumeConfiguration-should-have-default-web.patch
>
>
> The FlumeConfiguration value should have a reasonable default in the case that configuration files do not have any value. As an example, 0.9.3 config files do not have the flume.master.webapp.root values and if used after an upgrade to 0.9.4, flume's status webpages will fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FLUME-718) FlumeConfiguration should have
default webapp paths.
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLUME-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079554#comment-13079554 ]
Jonathan Hsieh commented on FLUME-718:
--------------------------------------
I'll file a new issue to follow up on the suggested approach. The current approach is about as low-risk and straight forward way to deal with the immediate problem.
> FlumeConfiguration should have default webapp paths.
> ----------------------------------------------------
>
> Key: FLUME-718
> URL: https://issues.apache.org/jira/browse/FLUME-718
> Project: Flume
> Issue Type: Bug
> Affects Versions: v0.9.4
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Fix For: v0.9.5
>
> Attachments: 0001-FLUME-71x-FlumeConfiguration-should-have-default-web.patch
>
>
> The FlumeConfiguration value should have a reasonable default in the case that configuration files do not have any value. As an example, 0.9.3 config files do not have the flume.master.webapp.root values and if used after an upgrade to 0.9.4, flume's status webpages will fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (FLUME-718) FlumeConfiguration should have
default webapp paths.
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLUME-718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hsieh reassigned FLUME-718:
------------------------------------
Assignee: Jonathan Hsieh
> FlumeConfiguration should have default webapp paths.
> ----------------------------------------------------
>
> Key: FLUME-718
> URL: https://issues.apache.org/jira/browse/FLUME-718
> Project: Flume
> Issue Type: Bug
> Affects Versions: v0.9.4
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Fix For: v0.9.5
>
> Attachments: 0001-FLUME-71x-FlumeConfiguration-should-have-default-web.patch
>
>
> The FlumeConfiguration value should have a reasonable default in the case that configuration files do not have any value. As an example, 0.9.3 config files do not have the flume.master.webapp.root values and if used after an upgrade to 0.9.4, flume's status webpages will fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FLUME-718) FlumeConfiguration should have default
webapp paths.
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLUME-718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hsieh updated FLUME-718:
---------------------------------
Attachment: 0001-FLUME-71x-FlumeConfiguration-should-have-default-web.patch
> FlumeConfiguration should have default webapp paths.
> ----------------------------------------------------
>
> Key: FLUME-718
> URL: https://issues.apache.org/jira/browse/FLUME-718
> Project: Flume
> Issue Type: Bug
> Affects Versions: v0.9.4
> Reporter: Jonathan Hsieh
> Fix For: v0.9.5
>
> Attachments: 0001-FLUME-71x-FlumeConfiguration-should-have-default-web.patch
>
>
> The FlumeConfiguration value should have a reasonable default in the case that configuration files do not have any value. As an example, 0.9.3 config files do not have the flume.master.webapp.root values and if used after an upgrade to 0.9.4, flume's status webpages will fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FLUME-718) FlumeConfiguration should have default
webapp paths.
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLUME-718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hsieh updated FLUME-718:
---------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> FlumeConfiguration should have default webapp paths.
> ----------------------------------------------------
>
> Key: FLUME-718
> URL: https://issues.apache.org/jira/browse/FLUME-718
> Project: Flume
> Issue Type: Bug
> Affects Versions: v0.9.4
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Fix For: v0.9.5
>
> Attachments: 0001-FLUME-71x-FlumeConfiguration-should-have-default-web.patch
>
>
> The FlumeConfiguration value should have a reasonable default in the case that configuration files do not have any value. As an example, 0.9.3 config files do not have the flume.master.webapp.root values and if used after an upgrade to 0.9.4, flume's status webpages will fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FLUME-718) FlumeConfiguration should have
default webapp paths.
Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FLUME-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078876#comment-13078876 ]
Jonathan Hsieh commented on FLUME-718:
--------------------------------------
Sounds like a good idea. I'll look into it.
> FlumeConfiguration should have default webapp paths.
> ----------------------------------------------------
>
> Key: FLUME-718
> URL: https://issues.apache.org/jira/browse/FLUME-718
> Project: Flume
> Issue Type: Bug
> Affects Versions: v0.9.4
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Fix For: v0.9.5
>
> Attachments: 0001-FLUME-71x-FlumeConfiguration-should-have-default-web.patch
>
>
> The FlumeConfiguration value should have a reasonable default in the case that configuration files do not have any value. As an example, 0.9.3 config files do not have the flume.master.webapp.root values and if used after an upgrade to 0.9.4, flume's status webpages will fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira