[jira] [Created] (HIVE-10569) Hive CLI gets stuck when hive.exec.parallel=true; and some exception happens during SessionState.start
Rohit Agarwal created HIVE-10569: Summary: Hive CLI gets stuck when hive.exec.parallel=true; and some exception happens during SessionState.start Key: HIVE-10569 URL: https://issues.apache.org/jira/browse/HIVE-10569 Project: Hive Issue Type: Bug Affects Versions: 0.13.1, 1.1.0 Reporter: Rohit Agarwal Priority: Critical The CLI gets stuck in the loop in [DriverContext.pollFinished | https://github.com/apache/hive/blob/release-1.1.0/ql/src/java/org/apache/hadoop/hive/ql/DriverContext.java#L108] when some {{TaskRunner}} which has completed has not been marked as non-running. This can happen when there is exception in [SessionState.start | https://github.com/apache/hive/blob/release-1.1.0/ql/src/java/org/apache/hadoop/hive/ql/exec/TaskRunner.java#L74] which is called from {{TaskRunner.run}}. This happened with us when we were running with {{hive.exec.parallel=true}}, {{hive.execution.engine=tez}} and Tez wasn't correctly setup. In this case the CLI printed the exception and then got hung (No prompt.) A simple fix is to call {{result.setRunning(false);}} in the {{finally}} block of {{TaskRunner.run}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-6950) Parsing Error in GROUPING SETS
[ https://issues.apache.org/jira/browse/HIVE-6950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Agarwal updated HIVE-6950: Description: The following query: {code} SELECT tab1.a, tab1.b, SUM(tab1.c) FROM tab1 GROUP BY tab1.a, tab1.b GROUPING SETS ((tab1.a, tab1.b)) {code} results in the following error: {code} ParseException line 7:22 missing ) at ',' near '' line 7:31 extraneous input ')' expecting EOF near '' {code} Changing the query to: {code} SELECT tab1.a, tab1.b, SUM(tab1.c) FROM tab1 GROUP BY tab1.a, tab1.b GROUPING SETS ((a, tab1.b)) {code} makes it work. was: The following query: {code} SELECT tab1.a, tab1.b, SUM(tab1.c) FROM tab1 GROUP BY tab1.a, tab1.b GROUPING SETS ((tab1.a, tab1.b)) {code} results in the following error: {code} parseexception line 7:22 missing ) at ',' near '' line 7:31 extraneous input ')' expecting eof near '' {code} Changing the query to: {code} SELECT tab1.a, tab1.b, SUM(tab1.c) FROM tab1 GROUP BY tab1.a, tab1.b GROUPING SETS ((a, tab1.b)) {code} makes it work. > Parsing Error in GROUPING SETS > -- > > Key: HIVE-6950 > URL: https://issues.apache.org/jira/browse/HIVE-6950 > Project: Hive > Issue Type: Bug >Reporter: Rohit Agarwal > > The following query: > {code} > SELECT tab1.a, >tab1.b, >SUM(tab1.c) > FROM tab1 > GROUP BY tab1.a, > tab1.b > GROUPING SETS ((tab1.a, tab1.b)) > {code} > results in the following error: > {code} > ParseException line 7:22 missing ) at ',' near '' > line 7:31 extraneous input ')' expecting EOF near '' > {code} > Changing the query to: > {code} > SELECT tab1.a, >tab1.b, >SUM(tab1.c) > FROM tab1 > GROUP BY tab1.a, > tab1.b > GROUPING SETS ((a, tab1.b)) > {code} > makes it work. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (HIVE-6950) Parsing Error in GROUPING SETS
Rohit Agarwal created HIVE-6950: --- Summary: Parsing Error in GROUPING SETS Key: HIVE-6950 URL: https://issues.apache.org/jira/browse/HIVE-6950 Project: Hive Issue Type: Bug Reporter: Rohit Agarwal The following query: {code} SELECT tab1.a, tab1.b, SUM(tab1.c) FROM tab1 GROUP BY tab1.a, tab1.b GROUPING SETS ((tab1.a, tab1.b)) {code} results in the following error: {code} parseexception line 7:22 missing ) at ',' near '' line 7:31 extraneous input ')' expecting eof near '' {code} Changing the query to: {code} SELECT tab1.a, tab1.b, SUM(tab1.c) FROM tab1 GROUP BY tab1.a, tab1.b GROUPING SETS ((a, tab1.b)) {code} makes it work. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-6321) hiveserver2 --help says Unrecognized option: -h
[ https://issues.apache.org/jira/browse/HIVE-6321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Agarwal updated HIVE-6321: Status: Patch Available (was: Open) > hiveserver2 --help says Unrecognized option: -h > --- > > Key: HIVE-6321 > URL: https://issues.apache.org/jira/browse/HIVE-6321 > Project: Hive > Issue Type: Bug > Components: HiveServer2 >Affects Versions: 0.12.0 >Reporter: Rohit Agarwal >Priority: Trivial > Attachments: HIVE-6321.1.patch.txt > > > {code} > $ hiveserver2 --help > Starting HiveServer2 > Unrecognized option: -h > usage: hiveserver2 > -H,--helpPrint help information > --hiveconfUse value for given property > {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (HIVE-6321) hiveserver2 --help says Unrecognized option: -h
[ https://issues.apache.org/jira/browse/HIVE-6321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Agarwal updated HIVE-6321: Attachment: HIVE-6321.1.patch.txt > hiveserver2 --help says Unrecognized option: -h > --- > > Key: HIVE-6321 > URL: https://issues.apache.org/jira/browse/HIVE-6321 > Project: Hive > Issue Type: Bug > Components: HiveServer2 >Affects Versions: 0.12.0 >Reporter: Rohit Agarwal >Priority: Trivial > Attachments: HIVE-6321.1.patch.txt > > > {code} > $ hiveserver2 --help > Starting HiveServer2 > Unrecognized option: -h > usage: hiveserver2 > -H,--helpPrint help information > --hiveconfUse value for given property > {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (HIVE-6321) hiveserver2 --help says Unrecognized option: -h
Rohit Agarwal created HIVE-6321: --- Summary: hiveserver2 --help says Unrecognized option: -h Key: HIVE-6321 URL: https://issues.apache.org/jira/browse/HIVE-6321 Project: Hive Issue Type: Bug Components: HiveServer2 Affects Versions: 0.12.0 Reporter: Rohit Agarwal Priority: Trivial {code} $ hiveserver2 --help Starting HiveServer2 Unrecognized option: -h usage: hiveserver2 -H,--helpPrint help information --hiveconfUse value for given property {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)