Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-1173

PythonExecutor empty python binary path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Slider 0.90.2
    • None
    • agent
    • None
    • Patch, Important

    Description

      Sliders Agent PythonExecutor is reading the python interpreter path either from the environment or from the sys.executable method. If Python is unable to retrieve the real path to its executable, sys.executable will be an empty string. If the string is empty the agent is trying to run command like:
      '', '-S', '/package/scripts/hbase_master.py', 'INSTALL', 'command-32.json', ''PATH'/slider-hbase-app-package-1.2.3.zip/package',
      'structured-out-32.json', 'INFO', 'PATH']

      which is cause a weird Permission denied OSError.

      Attachments

        1. python-path-fix.patch
          0.9 kB
          Panagiotis Garefalakis

        Activity

          People

            Unassigned Unassigned
            pgaref Panagiotis Garefalakis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: