Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1846

Python temp directory path should be selected differently based on user platform

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: None
    • Labels:
      None

      Description

      in PythonScriptEngine, Some of variable has no consideration in user's os.
      When I run tajo with Windows 7, tajo gives me this log message.

      2015-09-14 10:20:35,592 WARN org.apache.hadoop.util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      2015-09-14 10:20:37,336 INFO org.apache.tajo.master.TajoMaster: FileSystem (hdfs://localhost:9000) is initialized.
      2015-09-14 10:20:37,740 INFO org.apache.tajo.master.TajoMaster: Tajo Warehouse dir: hdfs://localhost:9000/tajo/tajo/warehouse
      2015-09-14 10:20:37,742 INFO org.apache.tajo.master.TajoMaster: Staging dir: hdfs://localhost:9000/tajo/tajo/warehouse
      2015-09-14 10:20:41,581 INFO org.apache.tajo.plan.function.python.PythonScriptEngine: Python base dir is C:\Users\dk\AppData\Local\Temp\/tajo-dk/python
      2015-09-14 10:20:41,584 INFO org.apache.hadoop.service.AbstractService: Service org.apache.tajo.master.TajoMaster failed in state INITED; cause: java.lang.NullPointerException
      java.lang.NullPointerException
      

        Attachments

          Activity

            People

            • Assignee:
              dkhwangbo Dongkyu Hwangbo
              Reporter:
              dkhwangbo Dongkyu Hwangbo
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: