You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Chris Bogan (JIRA)" <ji...@apache.org> on 2019/01/27 07:45:00 UTC

[jira] [Work started] (HIVE-21153) task run in parallel cause ArrayIndexOutOfBoundsException

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

Work on HIVE-21153 started 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)