You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Eli Reisman (JIRA)" <ji...@apache.org> on 2012/08/31 18:16:07 UTC

[jira] [Commented] (GIRAPH-312) Giraph needs an admin script

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

Eli Reisman commented on GIRAPH-312:
------------------------------------

Ran this on a cluster full of failed job traces last night (sigh) and it works great, leaves your GiraphJob.ZK_BASE_NODE if you supplied one, zaps everything below and including the _hadoopBsp (BspService.BASE_DIR)

Also verified the giraph-env script works, so now bin/giraph is just a source of giraph-env to get its environment vars and class path stuff set up, then 3 lines to run giraph through "hadoop jar" as before. This should make it easier to create giraph-centric shell scripts in the future if we want more for some reason.
 
                
> Giraph needs an admin script
> ----------------------------
>
>                 Key: GIRAPH-312
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-312
>             Project: Giraph
>          Issue Type: New Feature
>          Components: conf and scripts, zookeeper
>    Affects Versions: 0.2.0
>            Reporter: Eli Reisman
>            Assignee: Eli Reisman
>            Priority: Minor
>             Fix For: 0.2.0
>
>         Attachments: GIRAPH-312-1.patch, GIRAPH-312-2.patch, GIRAPH-312-3.patch, GIRAPH-312-3.patch, GIRAPH-312-4.patch, GIRAPH-312-5.patch
>
>
> Our zookeeper instances have very long uptimes on our cluster, and failed job trees are never cleaned from memory. There is a separate shell script to do this, but its not picky about which node trees it erases, and on some systems some Giraph users may not have access to it.
> This patch will add a shell script to activate a new class which will use Giraph conf file options or our normal -Dgiraph.XYZ command-line opts to get the ZK quorum info, and clean out the remnants from its memory of old failed and killed jobs. They do pile up over time.
> This led to the larger idea that Giraph needs a general giraph-admin shell script as a home for stuff like this. Jakob suggested it would be a good idea to put this into such a script since then admin groups can be created so that not every Giraph client can run it. This script currently only has code to start up the zk cleaner, but can have more options added to it as JIRA's to add features crop up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira