[ 
https://issues.apache.org/jira/browse/HIVE-24708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stamatis Zampetakis updated HIVE-24708:
---------------------------------------
    Fix Version/s:     (was: 0.13.0)

I cleared the fixVersion field since this ticket is still open. Please review 
this ticket and if the fix is already committed to a specific version please 
set the version accordingly and mark the ticket as RESOLVED.

According to the [JIRA 
guidelines|https://cwiki.apache.org/confluence/display/Hive/HowToContribute] 
the fixVersion should be set only when the issue is resolved/closed.

> org.apache.thrift.transport.TTransportException: null;Error while processing 
> statement: FAILED: Execution Error, return code 1 from 
> org.apache.hadoop.hive.ql.exec.StatsTask
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-24708
>                 URL: https://issues.apache.org/jira/browse/HIVE-24708
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 3.1.2
>         Environment: centos7
> hadoop:3.1.4
> hbase:2.2.6
> mysql:5.7.32
> hive:3.1.2
>  
>            Reporter: tiki
>            Priority: Major
>         Attachments: hive错误日志.txt
>
>
> h2. 1.原配置
> 在hive-site.xml中配置了:
>  
> {code:java}
>   <property>
>     <name>hive.metastore.uris</name>
>     <value>thrift://hadoop-server-004:9083,hadoop-server-005:9083</value>
>   </property>
> {code}
> 之后,在hive中插入数据,会打印一条Error日志,但数据成功插入,查看hive的hive.log日志文件,发现如下错误:
> {code:java}
> org.apache.thrift.transport.TTransportException: null
> ......
> 2021-01-27T20:00:17,086 ERROR [HiveServer2-Background-Pool: Thread-510] 
> exec.StatsTask: Failed to run stats task 
> org.apache.hadoop.hive.ql.metadata.HiveException: 
> org.apache.thrift.transport.TTransportException
> ......
> Caused by: org.apache.thrift.transport.TTransportException
> ......
> 2021-01-27T20:00:17,089 ERROR [HiveServer2-Background-Pool: Thread-510] 
> operation.Operation: Error running hive query: 
> org.apache.hive.service.cli.HiveSQLException: Error while processing 
> statement: FAILED: Execution Error, return code 1 from 
> org.apache.hadoop.hive.ql.exec.StatsTask
> ......
> {code}
> 具体日志错误见 附件
> h2. 2.修改配置
> 将配置修改为:
>  
> {code:java}
>   <property>
>     <name>hive.metastore.uris</name>
>     <value/>
>   </property>
> {code}
> 之后,插入数据正常



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to