Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0AF618E5E for ; Wed, 18 Nov 2015 11:47:12 +0000 (UTC) Received: (qmail 98023 invoked by uid 500); 18 Nov 2015 11:47:11 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 97548 invoked by uid 500); 18 Nov 2015 11:47:11 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 97420 invoked by uid 99); 18 Nov 2015 11:47:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2015 11:47:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 067EE2C1F5E for ; Wed, 18 Nov 2015 11:47:11 +0000 (UTC) Date: Wed, 18 Nov 2015 11:47:11 +0000 (UTC) From: "Alan Burlison (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-9438) TestPipelinesFailover assumes Linux ifconfig MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Alan Burlison created HDFS-9438: ----------------------------------- Summary: TestPipelinesFailover assumes Linux ifconfig Key: HDFS-9438 URL: https://issues.apache.org/jira/browse/HDFS-9438 Project: Hadoop HDFS Issue Type: Sub-task Components: test Affects Versions: 2.7.1 Environment: Solaris Reporter: Alan Burlison Priority: Minor TestPipelinesFailover.java contains the following: {code} scmd = new String[] {"ifconfig"}; sce = new ShellCommandExecutor(scmd); sce.execute(); System.out.println("'ifconfig' output:\n" + sce.getOutput()); {code} That assumes the Linux ifconfig command. If the flag "-a" is added, the same invocation should work on both Linux and Solaris - the output is only displayed for debugging purposes so the fact that the output of ifconfig is different on Linux and Solaris shouldn't matter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)