Return-Path: X-Original-To: apmail-crunch-dev-archive@www.apache.org Delivered-To: apmail-crunch-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 B810D10D07 for ; Fri, 23 Jan 2015 21:20:44 +0000 (UTC) Received: (qmail 82720 invoked by uid 500); 23 Jan 2015 21:17:04 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 80997 invoked by uid 500); 23 Jan 2015 21:17:03 -0000 Mailing-List: contact dev-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@crunch.apache.org Delivered-To: mailing list dev@crunch.apache.org Received: (qmail 78158 invoked by uid 500); 23 Jan 2015 21:17:02 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 74357 invoked by uid 99); 23 Jan 2015 21:01:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2015 21:01:35 +0000 Date: Fri, 23 Jan 2015 21:01:35 +0000 (UTC) From: "Josh Wills (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CRUNCH-490) Prefer mapreduce.framework.name for determining which version of MR is running 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/CRUNCH-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Wills resolved CRUNCH-490. ------------------------------- Resolution: Fixed Pushed to master. > Prefer mapreduce.framework.name for determining which version of MR is running > ------------------------------------------------------------------------------ > > Key: CRUNCH-490 > URL: https://issues.apache.org/jira/browse/CRUNCH-490 > Project: Crunch > Issue Type: Bug > Components: Core > Affects Versions: 0.11.0 > Reporter: Josh Wills > Assignee: Josh Wills > Priority: Minor > Fix For: 0.12.0 > > Attachments: CRUNCH-490.patch > > > We use a different poll interval for the MRExecutor depending on whether or not we're running in local mode, and we determine whether or not we're running in local mode based on the value of the mapreduce.jobtracker.address property in the configuration. However, a more reliable way to do this is by checking the mapreduce.framework.name, esp. for yarn-based jobs that will not have a meaningful value for the jobtracker property. -- This message was sent by Atlassian JIRA (v6.3.4#6332)