Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D543FF413 for ; Thu, 4 Apr 2013 12:01:23 +0000 (UTC) Received: (qmail 84504 invoked by uid 500); 4 Apr 2013 12:01:23 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 84264 invoked by uid 500); 4 Apr 2013 12:01:20 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 84203 invoked by uid 500); 4 Apr 2013 12:01:19 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 84199 invoked by uid 99); 4 Apr 2013 12:01:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 12:01:19 +0000 Date: Thu, 4 Apr 2013 12:01:19 +0000 (UTC) From: "Nitay Joffe (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GIRAPH-536) Clean up configuration options MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GIRAPH-536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13622066#comment-13622066 ] Nitay Joffe commented on GIRAPH-536: ------------------------------------ You should use e.g. BooleanConfOption in places like RandomMessageBenchmark > Clean up configuration options > ------------------------------ > > Key: GIRAPH-536 > URL: https://issues.apache.org/jira/browse/GIRAPH-536 > Project: Giraph > Issue Type: Bug > Affects Versions: 0.2.0 > Reporter: Alessandro Presta > Assignee: Alessandro Presta > Attachments: GIRAPH-536.patch, GIRAPH-536.patch, GIRAPH-536.patch > > > Option names are all over the place, and I think they should be rationalized before we cut the 0.2 release. > Some examples: > 1) Options that don't start with "giraph.*", like "partition.*". > 2) Ambiguous naming: "giraph.numInputSplitsThreads" refers to worker input threads, "giraph.inputSplitThreadCount" refers to threads used by the master to write splits to ZooKeeper. > 3) Some options are defined in GiraphConstants, some other ones in the classes that use them. We can find all of them by searching for "static final String". > 4) "giraph.zKForceSync" and "giraph.ZkSkipAcl" use "yes"/"no" instead of true/false, just because they are later used to write ZK configuration (which requires "yes"/"no"). I think we should stick to true/false since these are Giraph options regardless. -- 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