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

Yang Jie updated SPARK-34762:
-----------------------------
    Description: 
PR with Scala 2.13 build failure includes 
 * [https://github.com/apache/spark/pull/31849]
 * [https://github.com/apache/spark/pull/31848]
 * [https://github.com/apache/spark/pull/31844]
 * [https://github.com/apache/spark/pull/31843]
 * https://github.com/apache/spark/pull/31841

{code:java}
[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:26:1:
  error: package org.apache.commons.cli does not exist
1278[error] import org.apache.commons.cli.GnuParser;
1279[error]                              ^
1280[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:176:1:
  error: cannot find symbol
1281[error]     private final Options options = new Options();
1282[error]                   ^  symbol:   class Options
1283[error]   location: class ServerOptionsProcessor
1284[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:177:1:
  error: package org.apache.commons.cli does not exist
1285[error]     private org.apache.commons.cli.CommandLine commandLine;
1286[error]                                   ^
1287[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:255:1:
  error: cannot find symbol
1288[error]     HelpOptionExecutor(String serverName, Options options) {
1289[error]                                           ^  symbol:   class Options
1290[error]   location: class HelpOptionExecutor
1291[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:176:1:
  error: cannot find symbol
1292[error]     private final Options options = new Options();
1293[error]                                         ^  symbol:   class Options
1294[error]   location: class ServerOptionsProcessor
1295[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:185:1:
  error: cannot find symbol
1296[error]       options.addOption(OptionBuilder
1297[error]                         ^  symbol:   variable OptionBuilder
1298[error]   location: class ServerOptionsProcessor
1299[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:192:1:
  error: cannot find symbol
1300[error]       options.addOption(new Option("H", "help", false, "Print help 
information"));
1301[error]                             ^  symbol:   class Option
1302[error]   location: class ServerOptionsProcessor
1303[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:197:1:
  error: cannot find symbol
1304[error]         commandLine = new GnuParser().parse(options, argv);
1305[error]                           ^  symbol:   class GnuParser
1306[error]   location: class ServerOptionsProcessor
1307[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:211:1:
  error: cannot find symbol
1308[error]       } catch (ParseException e) {
1309[error]                ^  symbol:   class ParseException
1310[error]   location: class ServerOptionsProcessor
1311[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:262:1:
  error: cannot find symbol
1312[error]       new HelpFormatter().printHelp(serverName, options);
1313[error]           ^  symbol:   class HelpFormatter
1314[error]   location: class HelpOptionExecutor
1315[error] Note: Some input files use or override a deprecated API.
1316[error] Note: Recompile with -Xlint:deprecation for details.
1317[error] 16 errors
{code}
 

  was:
PR with Scala 2.13 build failure includes 
 * [https://github.com/apache/spark/pull/31849]
 * [https://github.com/apache/spark/pull/31848]
 * [https://github.com/apache/spark/pull/31844]
 * [https://github.com/apache/spark/pull/31843]

{code:java}
[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:26:1:
  error: package org.apache.commons.cli does not exist
1278[error] import org.apache.commons.cli.GnuParser;
1279[error]                              ^
1280[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:176:1:
  error: cannot find symbol
1281[error]     private final Options options = new Options();
1282[error]                   ^  symbol:   class Options
1283[error]   location: class ServerOptionsProcessor
1284[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:177:1:
  error: package org.apache.commons.cli does not exist
1285[error]     private org.apache.commons.cli.CommandLine commandLine;
1286[error]                                   ^
1287[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:255:1:
  error: cannot find symbol
1288[error]     HelpOptionExecutor(String serverName, Options options) {
1289[error]                                           ^  symbol:   class Options
1290[error]   location: class HelpOptionExecutor
1291[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:176:1:
  error: cannot find symbol
1292[error]     private final Options options = new Options();
1293[error]                                         ^  symbol:   class Options
1294[error]   location: class ServerOptionsProcessor
1295[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:185:1:
  error: cannot find symbol
1296[error]       options.addOption(OptionBuilder
1297[error]                         ^  symbol:   variable OptionBuilder
1298[error]   location: class ServerOptionsProcessor
1299[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:192:1:
  error: cannot find symbol
1300[error]       options.addOption(new Option("H", "help", false, "Print help 
information"));
1301[error]                             ^  symbol:   class Option
1302[error]   location: class ServerOptionsProcessor
1303[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:197:1:
  error: cannot find symbol
1304[error]         commandLine = new GnuParser().parse(options, argv);
1305[error]                           ^  symbol:   class GnuParser
1306[error]   location: class ServerOptionsProcessor
1307[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:211:1:
  error: cannot find symbol
1308[error]       } catch (ParseException e) {
1309[error]                ^  symbol:   class ParseException
1310[error]   location: class ServerOptionsProcessor
1311[error] 
/home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:262:1:
  error: cannot find symbol
1312[error]       new HelpFormatter().printHelp(serverName, options);
1313[error]           ^  symbol:   class HelpFormatter
1314[error]   location: class HelpOptionExecutor
1315[error] Note: Some input files use or override a deprecated API.
1316[error] Note: Recompile with -Xlint:deprecation for details.
1317[error] 16 errors
{code}
 


> Many PR's Scala 2.13 build action failed
> ----------------------------------------
>
>                 Key: SPARK-34762
>                 URL: https://issues.apache.org/jira/browse/SPARK-34762
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 3.2.0
>            Reporter: Yang Jie
>            Priority: Major
>
> PR with Scala 2.13 build failure includes 
>  * [https://github.com/apache/spark/pull/31849]
>  * [https://github.com/apache/spark/pull/31848]
>  * [https://github.com/apache/spark/pull/31844]
>  * [https://github.com/apache/spark/pull/31843]
>  * https://github.com/apache/spark/pull/31841
> {code:java}
> [error] 
> /home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:26:1:
>   error: package org.apache.commons.cli does not exist
> 1278[error] import org.apache.commons.cli.GnuParser;
> 1279[error]                              ^
> 1280[error] 
> /home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:176:1:
>   error: cannot find symbol
> 1281[error]     private final Options options = new Options();
> 1282[error]                   ^  symbol:   class Options
> 1283[error]   location: class ServerOptionsProcessor
> 1284[error] 
> /home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:177:1:
>   error: package org.apache.commons.cli does not exist
> 1285[error]     private org.apache.commons.cli.CommandLine commandLine;
> 1286[error]                                   ^
> 1287[error] 
> /home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:255:1:
>   error: cannot find symbol
> 1288[error]     HelpOptionExecutor(String serverName, Options options) {
> 1289[error]                                           ^  symbol:   class 
> Options
> 1290[error]   location: class HelpOptionExecutor
> 1291[error] 
> /home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:176:1:
>   error: cannot find symbol
> 1292[error]     private final Options options = new Options();
> 1293[error]                                         ^  symbol:   class Options
> 1294[error]   location: class ServerOptionsProcessor
> 1295[error] 
> /home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:185:1:
>   error: cannot find symbol
> 1296[error]       options.addOption(OptionBuilder
> 1297[error]                         ^  symbol:   variable OptionBuilder
> 1298[error]   location: class ServerOptionsProcessor
> 1299[error] 
> /home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:192:1:
>   error: cannot find symbol
> 1300[error]       options.addOption(new Option("H", "help", false, "Print 
> help information"));
> 1301[error]                             ^  symbol:   class Option
> 1302[error]   location: class ServerOptionsProcessor
> 1303[error] 
> /home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:197:1:
>   error: cannot find symbol
> 1304[error]         commandLine = new GnuParser().parse(options, argv);
> 1305[error]                           ^  symbol:   class GnuParser
> 1306[error]   location: class ServerOptionsProcessor
> 1307[error] 
> /home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:211:1:
>   error: cannot find symbol
> 1308[error]       } catch (ParseException e) {
> 1309[error]                ^  symbol:   class ParseException
> 1310[error]   location: class ServerOptionsProcessor
> 1311[error] 
> /home/runner/work/spark/spark/sql/hive-thriftserver/src/main/java/org/apache/hive/service/server/HiveServer2.java:262:1:
>   error: cannot find symbol
> 1312[error]       new HelpFormatter().printHelp(serverName, options);
> 1313[error]           ^  symbol:   class HelpFormatter
> 1314[error]   location: class HelpOptionExecutor
> 1315[error] Note: Some input files use or override a deprecated API.
> 1316[error] Note: Recompile with -Xlint:deprecation for details.
> 1317[error] 16 errors
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to