Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-27792

Corrected wrong hive-site.xml in docker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.3, 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0-beta-1
    • All Versions
    • None
    • bug:

      docker run -d -p 10000:10000 -p 10002:10002 --env SERVICE_NAME=hiveserver2 --name hive4 apache/hive:3.1.3
    • I changed the packaging/src/docker/conf/hive-site.xml file.
    • fix
    • Important
    • hive.metastore.warehouse.dir, this configuration item is configured incorrectly, causing the configuration item to not take effect.

    Description

      hive.metastore.warehouse.dir, this configuration item is configured incorrectly, causing the configuration item to not take effect.

      bug image:

      I discovered this bug when using it. Since the default directory does not exist for non-root users in the container, it caused an error message without permission to create databases and data tables. After that, I corrected hive.metastore.warehouse.dir, this configuration item by rebuilding the image. This bug is solved.I changed the packaging/src/docker/conf/hive-site.xml file.

      after fixing image:

      The correct related configuration items are in the picture below.

      Attachments

        1. image-2023-10-12-17-37-11-483.png
          338 kB
          易霖威
        2. image-2023-10-13-13-03-54-148.png
          826 kB
          易霖威

        Activity

          People

            xiaolin84250 易霖威
            xiaolin84250 易霖威
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified