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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.3.0
    • 0.4.0
    • general
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: