Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8478 Improve Solaris support in HDFS
  3. HDFS-9438

TestPipelinesFailover assumes Linux ifconfig

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Environment:

      Solaris

    • Hadoop Flags:
      Reviewed

      Description

      TestPipelinesFailover.java contains the following:

          scmd = new String[] {"ifconfig"};
          sce = new ShellCommandExecutor(scmd);
          sce.execute();
          System.out.println("'ifconfig' output:\n" + sce.getOutput());
      

      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.

        Attachments

        1. HDFS-9438-hdfs-9438.001.patch
          2 kB
          John Zhuge
        2. HDFS-9438-hdfs-9438.002.patch
          2 kB
          John Zhuge
        3. HDFS-9438-hdfs-9438.003.patch
          2 kB
          John Zhuge
        4. HDFS-9438-hdfs-9438.004.patch
          3 kB
          John Zhuge
        5. HDFS-9438-hdfs-9438.005.patch
          3 kB
          John Zhuge

        Issue Links

          Activity

            People

            • Assignee:
              jzhuge John Zhuge
              Reporter:
              alanburlison Alan Burlison

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment