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

stop-here doesn't consider system hostname

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.3, 1.5.0
    • 1.4.5, 1.5.1, 1.6.0
    • scripts
    • None
    • 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

            _alexm Alex Moundalexis
            _alexm Alex Moundalexis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: