[ 
https://issues.apache.org/jira/browse/SAMZA-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14078544#comment-14078544
 ] 

Chris Riccomini commented on SAMZA-109:
---------------------------------------

Yea, I wanted to raise SAMZA-259 on the mailing list. I pulled it into the 
0.8.0 release.

My thought is this: let's continue updating 0.7.0's docs for now. I want to 
update our scripts in SAMZA-259 to do per-branch javadoc releases. That is, 
we'll have the script generage javadocs for 0.7.0 by checking out the 0.7.0 
branch. We'll generate "current" by checking out the master branch, etc. So, I 
think it's safe to just update 0.7.0, and tackle SAMZA-259 to separate things 
out (probably by removing the version number from the docs tree, and updating 
the scripts). That's how rust handles it, and I like that style, unless someone 
has another suggestion:

http://static.rust-lang.org/doc/master/tutorial.html
http://static.rust-lang.org/doc/0.10/tutorial.html

> Make task.opts easier to use
> ----------------------------
>
>                 Key: SAMZA-109
>                 URL: https://issues.apache.org/jira/browse/SAMZA-109
>             Project: Samza
>          Issue Type: Bug
>          Components: container
>    Affects Versions: 0.6.0
>            Reporter: Chris Riccomini
>            Assignee: Chinmay Soman
>             Fix For: 0.8.0
>
>         Attachments: samza_109_1.patch
>
>
> task.opts is a bit tricky to use right now.
> The most common thing that I see people want to do are:
> * Change the Xmx setting for their Samza containers.
> * Turn on a remote debugger.
> * Change garbage collector settings.
> Most of the time they do this in dev-mode (using LocalJobFactory).
> Changing task.opts is tricky for a number of reasons.
> 1. Changing task.opts at all eliminates all of the defaults. This means, if 
> you set -Xmx, you lose all the defaults set in run-class.sh when no JVM_OPTS 
> is set (log settings, Java system properties, etc).
> 2. LocalJobFactory uses ThreadJob by default, which doesn't even pay 
> attention to task.opts (since it starts the container as a thread, not a new 
> process).
> 3. If you manage to figure out how to switch LocalJobFactory to use 
> ProcessJob (undocumented), you end up with the SamzaContainer running as a 
> separate process with no way to kill it (the LocalJobRunner starts the 
> ProcessJob, then exits).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to