Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 22F3118D31 for ; Tue, 24 Nov 2015 15:43:12 +0000 (UTC) Received: (qmail 65709 invoked by uid 500); 24 Nov 2015 15:43:11 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 65638 invoked by uid 500); 24 Nov 2015 15:43:11 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 65265 invoked by uid 99); 24 Nov 2015 15:43:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2015 15:43:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3E79F2C1F86 for ; Tue, 24 Nov 2015 15:43:11 +0000 (UTC) Date: Tue, 24 Nov 2015 15:43:11 +0000 (UTC) From: "John Zhuge (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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 [ https://issues.apache.org/jira/browse/HDFS-9438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Zhuge updated HDFS-9438: ----------------------------- Attachment: HDFS-9438-hdfs-9438.003.patch > 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 > Assignee: John Zhuge > Priority: Minor > Attachments: HDFS-9438-hdfs-9438.001.patch, HDFS-9438-hdfs-9438.002.patch, HDFS-9438-hdfs-9438.003.patch > > > 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)