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

bin/queryserver makeWinServiceDesc doesn't actually work in Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.0, 4.4.1
    • Labels:
      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 Huan Huang for finding this one.

        Attachments

        1. win.patch
          1 kB
          Nick Dimiduk

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: