accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1960) agitator should support sudo as well
Date Wed, 04 Dec 2013 02:50:35 GMT

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

Josh Elser commented on ACCUMULO-1960:
--------------------------------------

Made the agitator script a bit more forgiving on how it needs to be run. Also defined an HDFS_USER
and ACCUMULO_USER in continuous-env.sh, with them defaulting to the `whoami` in the example.

1) Doesn't require to be run as root, but will change users properly if you do
2) If you run it as yourself, and also run the datanode and accumulo processes as yourself,
it won't bother changing users
3) If the user you run the agitator as isn't the same as the user for the process being agitated,
the script will try to sudo. If you configured sudo correctly, it should work fine.

> agitator should support sudo as well
> ------------------------------------
>
>                 Key: ACCUMULO-1960
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1960
>             Project: Accumulo
>          Issue Type: New Feature
>          Components: test
>            Reporter: Eric Newton
>            Assignee: Josh Elser
>            Priority: Blocker
>             Fix For: 1.5.1, 1.6.0
>
>
> While running the agitator, I noticed that none of my tablet servers were being killed.
 The .err output file had gunk in it like this:
> {noformat}
> 20131203 18:15:45 Killing host1 0 1
> 20131203 18:25:45 Running tup
> standard in must be a tty
> 20131203 18:25:45 Starting datanode on host1
> standard in must be a tty
> {noformat}
> Everything (hdfs, yarn, accumulo) are all running as me.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message