Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1990

bin/queryserver makeWinServiceDesc doesn't actually work in Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.5.0, 4.4.1
    • None
    • None

    Description

      This approach requires parsing hbase-env.cmd, which my previous patch didn't do at all.

      C:\Users\ndimiduk>c:\phoenix\bin\queryserver.py makeWinServiceDesc
      Traceback (most recent call last):
        File "C:\phoenix\bin\queryserver.py", line 85, in <module>
          p = subprocess.Popen(['bash', '-c', 'source %s && env' % hbase_env_path], stdout = subprocess.PIPE)
        File "C:\Python27\lib\subprocess.py", line 679, in __init__
          errread, errwrite)
        File "C:\Python27\lib\subprocess.py", line 896, in _execute_child
          startupinfo)
      WindowsError: [Error 2] The system cannot find the file specified
      

      hat-tip to hhuang2014 for finding this one.

      Attachments

        1. win.patch
          1 kB
          Nick Dimiduk

        Activity

          People

            ndimiduk Nick Dimiduk
            ndimiduk Nick Dimiduk
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: