Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBD809DB4 for ; Thu, 12 Apr 2012 01:44:42 +0000 (UTC) Received: (qmail 58107 invoked by uid 500); 12 Apr 2012 01:44:42 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 58033 invoked by uid 500); 12 Apr 2012 01:44:42 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 58019 invoked by uid 99); 12 Apr 2012 01:44:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 01:44:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 01:44:39 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C092936647C for ; Thu, 12 Apr 2012 01:44:18 +0000 (UTC) Date: Thu, 12 Apr 2012 01:44:18 +0000 (UTC) From: "Eli Collins (Updated) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <188711887.15760.1334195058790.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2040181447.15438.1332713908458.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-8209) Add option to relax build-version check for branch-1 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/HADOOP-8209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HADOOP-8209: -------------------------------- Summary: Add option to relax build-version check for branch-1 (was: Add option to enable DN and TT rolling upgrades in branch-1) Sanjay, See [this discussion|https://issues.apache.org/jira/browse/HDFS-2983?focusedCommentId=13232984&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13232984] on HDFS-2983. For v1 this only enables rolling upgrade when there's an *exact version match* (eg v1.0.2), this is still very useful though as it allows people to perform rolling upgrades for a security patch or an EBF that doesn't affect compatibility (most don't). Updated the jira tile. > Add option to relax build-version check for branch-1 > ---------------------------------------------------- > > Key: HADOOP-8209 > URL: https://issues.apache.org/jira/browse/HADOOP-8209 > Project: Hadoop Common > Issue Type: Improvement > Affects Versions: 1.0.0 > Reporter: Eli Collins > Assignee: Eli Collins > Attachments: hadoop-8209.txt, hadoop-8209.txt > > > In 1.x DNs currently refuse to connect to NNs if their build *revision* (ie svn revision) do not match. TTs refuse to connect to JTs if their build *version* (version, revision, user, and source checksum) do not match. > This prevents rolling upgrades, which is intentional, see the discussion in HADOOP-5203. The primary motivation in that jira was (1) it's difficult to guarantee every build on a large cluster got deployed correctly, builds don't get rolled back to old versions by accident etc, and (2) mixed versions can lead to execution problems that are hard to debug. > However there are also cases when users know they two builds are compatible, eg when deploying a new build which contains the same contents as the previous one, plus a critical security patch that does not affect compatibility. Currently deploying a 1 line patch requires taking down the entire cluster (or trying to work around the issue by lying about the build revision or checksum, yuck). These users would like to be able to perform a rolling upgrade. > In order to support this, let's add an option that is off by default, but, when enabled, makes the DN and TT version check just check for an exact version match (eg "1.0.2") but ignore the build revision (DN) and the source checksum (TT). Two builds still need to match the major, minor, and point numbers, but nothing else. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira