插入Hive Orc分区表时出现运行时异常

时间:2018-11-06 04:56:25

标签: hadoop hive

当我尝试将数据插入Hive Orc分区表时,出现以下运行时异常。查询只不过是来自文本Hive分区表的简单插入。源表和目标表均已分区

    setCount = () => {
        //how can I modify count value here. Not sure if I can use setState to modify its value
        //also I want to modify other state values as well here. How can I do that
    }

    <button onClick={() => setCount()}>
               Click me
     </button>

谢谢!

1 个答案:

答案 0 :(得分:0)

运行所有这些命令,然后尝试立即插入。

**hive.exec.dynamic.partition = true**
**hive.exec.dynamic.partition.mode = strict**
**hive.exec.max.dynamic.partitions.pernode = 100**
**hive.exec.max.dynamic.partitions = 1000**
**hive.exec.max.created.files = 100000**
**hive.error.on.empty.partition = false**
相关问题