You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2008/09/10 07:19:44 UTC
[jira] Commented: (HADOOP-4145) [HOD] Support an accounting plugin
script for HOD
[ https://issues.apache.org/jira/browse/HADOOP-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629708#action_12629708 ]
Hemanth Yamijala commented on HADOOP-4145:
------------------------------------------
Proposal:
* We can define an optional hod.account-verification-script in the hod configuration.
* If present, then hod will launch this as:
{code}
${hod.account-verification-script} ${resource_manager.pbs-account} ${hod.account-verification-script-params}
{code}
* The account-verification-script-params is to allow for us to pass other information in the future, for e.g. maybe a URL to a custom accounting package, etc.
* If this script returns a zero exit code, all is fine, and the job proceeds for allocation, passing the account name as before.
* If the script returns a non-zero exit code, allocation fails. The script can write a descriptive message to stderr and that will be printed by HOD to the user.
* If no script option is specified, hod allocation works as it does currently.
> [HOD] Support an accounting plugin script for HOD
> -------------------------------------------------
>
> Key: HADOOP-4145
> URL: https://issues.apache.org/jira/browse/HADOOP-4145
> Project: Hadoop Core
> Issue Type: Improvement
> Components: contrib/hod
> Reporter: Hemanth Yamijala
> Assignee: Hemanth Yamijala
> Priority: Blocker
> Fix For: 0.18.1, 0.19.0
>
>
> Production environments have accounting packages to track usage of a cluster. HOD should provide a mechanism to plug-in an accounting related script that can be used to verify if the user is using a valid account or not.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.