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

TestPipelinesFailover assumes Linux ifconfig

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 3.0.0-alpha1
    • test
    • None
    • Solaris

    • 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

              jzhuge John Zhuge
              alanburlison Alan Burlison
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: