[ https://issues.apache.org/jira/browse/HIVE-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163454#comment-13163454 ]
jirapos...@reviews.apache.org commented on HIVE-2264: ----------------------------------------------------- ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/3025/ ----------------------------------------------------------- Review request for hive, John Sichi and Carl Steinbach. Summary ------- Currently, if Driver fails executing any of the task, it tries suicide by System.exit() which should not be happened in our use cases. This is simple hot-fix I've provided to my coworkers. Someone could do more elaborated work. This addresses bug HIVE-2264. https://issues.apache.org/jira/browse/HIVE-2264 Diffs ----- ql/src/java/org/apache/hadoop/hive/ql/Driver.java da02fa5 ql/src/java/org/apache/hadoop/hive/ql/exec/ExecDriver.java f612119 ql/src/java/org/apache/hadoop/hive/ql/exec/MapRedTask.java a3e40f7 ql/src/java/org/apache/hadoop/hive/ql/exec/MapredLocalTask.java d2b12a7 ql/src/java/org/apache/hadoop/hive/ql/exec/Task.java a4e59ca ql/src/test/queries/clientnegative/driver_suicide.q PRE-CREATION ql/src/test/results/clientnegative/driver_suicide.q.out PRE-CREATION Diff: https://reviews.apache.org/r/3025/diff Testing ------- test added : driver_suicide.q (negative) Thanks, Navis > Hive server is SHUTTING DOWN when invalid queries beeing executed. > ------------------------------------------------------------------ > > Key: HIVE-2264 > URL: https://issues.apache.org/jira/browse/HIVE-2264 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.9.0 > Environment: SuSE-Linux-11 > Reporter: rohithsharma > Priority: Critical > Fix For: 0.9.0 > > Attachments: HIVE-2264.1.patch.txt > > > When invalid query is beeing executed, Hive server is shutting down. > {noformat} > "CREATE TABLE SAMPLETABLE(IP STRING , showtime BIGINT ) partitioned by (ds > string,ipz int) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\040'" > "ALTER TABLE SAMPLETABLE add Partition(ds='sf') location > '/user/hive/warehouse' Partition(ipz=100) location '/user/hive/warehouse'" > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira