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

Hive cannot load data into partitioned table with Unicode key

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • None
    • Windows

    Description

      Steps to reproduce:

      1) Copy the file partitioned.txt to the root folder of your HDFS root dir. Copy the two hql files to your local directory.

      2) Open Hive CLI.

      3) Run:

      hive> source <path to CreatePartitionedTable.hql>;

      4) Run

      hive> source <path to LoadIntoPartitionedTable.hql>;

      The following error will be shown:

      hive> source C:\Scripts\partition\LoadIntoPartitionedTable.hql;
      Loading data to table default.mypartitioned partition (tag=䶵)
      Failed with exception null
      FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

      Attachments

        1. CreatePartitionedTable.hql
          0.2 kB
          Xiaobing Zhou
        2. LoadIntoPartitionedTable.hql
          0.1 kB
          Xiaobing Zhou
        3. partitioned.txt
          0.1 kB
          Xiaobing Zhou
        4. HIVE-8550.1.patch
          3 kB
          Xiaobing Zhou
        5. HIVE-8550.2.patch
          4 kB
          Xiaobing Zhou
        6. HIVE-8550.3.patch
          4 kB
          Xiaobing Zhou
        7. HIVE-8550.0.14.1.patch
          3 kB
          Xiaobing Zhou

        Issue Links

          Activity

            People

              xiaobingo Xiaobing Zhou
              xiaobingo Xiaobing Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: