hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Bogan (JIRA)" <j...@apache.org>
Subject [jira] [Work stopped] (HIVE-21153) task run in parallel cause ArrayIndexOutOfBoundsException
Date Tue, 29 Jan 2019 14:11:00 GMT

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

Work on HIVE-21153 stopped by Chris Bogan.
------------------------------------------
> task run in parallel cause ArrayIndexOutOfBoundsException
> ---------------------------------------------------------
>
>                 Key: HIVE-21153
>                 URL: https://issues.apache.org/jira/browse/HIVE-21153
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>            Reporter: yx91490
>            Assignee: Chris Bogan
>            Priority: Major
>
> It happens occasionally when we run sql in parallel and the job is blocked.the reason
is HiveConf class is not thread safe, and SessionState.createSessionDirs() is not Synchronized.
> the error message:
> java.lang.ArrayIndexOutOfBoundsException: 22
>  at java.util.ArrayList.add(ArrayList.java:459)
>  at org.apache.hadoop.hive.conf.HiveConf.setupRestrictList(HiveConf.java:3216)
>  at org.apache.hadoop.hive.conf.HiveConf.addToRestrictList(HiveConf.java:3191)
>  at org.apache.hadoop.hive.ql.session.SessionState.createSessionDirs(SessionState.java:651)
>  at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:547)
>  at org.apache.hadoop.hive.ql.exec.TaskRunner.run(TaskRunner.java:78)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message