Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-574

Add netcat and fuser as dependencies for some of the Bigtop stack.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.4.0
    • Component/s: general
    • Labels:
      None

      Description

      The SshFenceByTcpPort class assumes that netcat (nc) and fuser will be available on the ssh target. fuser is in /sbin and is probably always installed, but I've definitely seen CentOS boxes without netcat installed. We could force installation by listing it as a package requirement, which I suspect would be a good thing.

      Relevant classes:

      hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/SshFenceB
      hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/SshFenceB
      hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/SshFenceB
      hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/SshFenceB
      hadoop-hdfs-project/hadoop-hdfs/src/contrib/fuse-dfs/src/test/TestFuseDFS.java:
      hadoop-hdfs-project/hadoop-hdfs/src/contrib/fuse-dfs/src/test/TestFuseDFS.java:
      hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/HDFSHighAvail

        Attachments

        1. BIGTOP-574.patch
          1 kB
          Peter Linnell
        2. BIGTOP-574-1.patch
          0.6 kB
          Peter Linnell

          Activity

            People

            • Assignee:
              rvs Roman Shaposhnik
              Reporter:
              plinnell Peter Linnell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: