Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1698

stop-here doesn't consider system hostname

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.3, 1.5.0
    • Fix Version/s: 1.4.5, 1.5.1, 1.6.0
    • Component/s: scripts
    • Labels:
      None
    • Environment:

      CentOS release 6.4 (Final)

      Description

      On poorly configured systems where the hostname doesn't appear in /etc/hosts, a proper hostname isn't always obtained by stop-here.sh, as a result accumulo admin stop won't be issued before killing local services.

      [alexm@r03n39 ~]$ hostname
      r03n39.demo
      [alexm@r03n39 ~]$ grep r03n39.demo /etc/hosts
      [alexm@r03n39 ~]$ hostname -a
      
      [alexm@r03n39 ~]$
      

      start-here has slightly expanded search for valid hostname

        Attachments

        1. ACCUMULO-1698.2.patch.txt
          0.7 kB
          Alex Moundalexis
        2. ACCUMULO-1698.1.patch.txt
          0.8 kB
          Alex Moundalexis

          Activity

            People

            • Assignee:
              _alexm Alex Moundalexis
              Reporter:
              _alexm Alex Moundalexis
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: