hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaobing Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-8115) Hive select query hang when fields contain map
Date Tue, 16 Sep 2014 01:29:33 GMT

    [ https://issues.apache.org/jira/browse/HIVE-8115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14134810#comment-14134810
] 

Xiaobing Zhou commented on HIVE-8115:
-------------------------------------

By debugging, it enters an indefinite loop,
LazyMap.parse() line: 173	
LazyMap.getMap() line: 320	
LazyMapObjectInspector.getMap(Object) line: 104	
SerDeUtils.buildJSONString(StringBuilder, Object, ObjectInspector, String) line: 317	
SerDeUtils.getJSONString(Object, ObjectInspector, String) line: 197	
DelimitedJSONSerDe.serializeField(ByteStream$Output, Object, ObjectInspector, LazySimpleSerDe$SerDeParameters)
line: 60	
DelimitedJSONSerDe(LazySimpleSerDe).doSerialize(Object, ObjectInspector) line: 422	
DelimitedJSONSerDe(AbstractEncodingAwareSerDe).serialize(Object, ObjectInspector) line: 50

DefaultFetchFormatter<T>.convert(Object, ObjectInspector) line: 71	
DefaultFetchFormatter<T>.convert(Object, ObjectInspector) line: 40	
ListSinkOperator.processOp(Object, int) line: 87	
SelectOperator(Operator<T>).forward(Object, ObjectInspector) line: 800	
SelectOperator.processOp(Object, int) line: 84	
TableScanOperator(Operator<T>).forward(Object, ObjectInspector) line: 800	
TableScanOperator.processOp(Object, int) line: 95	
FetchOperator.pushRow(InspectableObject) line: 547	
FetchOperator.pushRow() line: 539	
FetchTask.fetch(List) line: 138	
Driver.getResults(List) line: 1620	
CliDriver.processLocalCmd(String, CommandProcessor, CliSessionState) line: 266	
CliDriver.processCmd(String) line: 198	
CliDriver.processLine(String, boolean) line: 408	
CliDriver.executeDriver(CliSessionState, HiveConf, OptionsProcessor) line: 781	
CliDriver.run(String[]) line: 675	
CliDriver.main(String[]) line: 614	
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]

NativeMethodAccessorImpl.invoke(Object, Object[]) line: 57	
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43	
Method.invoke(Object, Object...) line: 601	
RunJar.run(String[]) line: 221	
RunJar.main(String[]) line: 136	

> Hive select query hang when fields contain map
> ----------------------------------------------
>
>                 Key: HIVE-8115
>                 URL: https://issues.apache.org/jira/browse/HIVE-8115
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>             Fix For: 0.14.0
>
>         Attachments: createTable.hql, data
>
>
> Attached the repro of the issue. When creating an table loading the data attached, all
hive query with hangs even just select * from the table.
> repro steps:
> 1. run createTable.hql
> 2. hadoop fs ls -put data /data
> 3. LOAD DATA INPATH '/data' OVERWRITE INTO TABLE testtable;
> 4. SELECT * FROM testtable;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message