Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-4304

Initialize CarbonEnv will try to create folder on local filesystem if storepath is set without scheme

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • spark-integration
    • None

    Description

      If carbon.storelocation is set to /user/hive/warehouse (same to spark.sql.warehouse.dir), during CarbonEnv initialization, it will try to create storelocation folder on local filesystem and this will fail, and error logs are printed:

      ERROR main Failed to create directory path /user/hive/warehouse
      ERROR main Failed to create directory path /user/hive/warehouse/default

      Attachments

        Activity

          People

            Unassigned Unassigned
            jack86596 Yahui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 10m
                2h 10m