steveloughran commented on PR #10932:
URL: https://github.com/apache/iceberg/pull/10932#issuecomment-2286877905

   hive2 tests are failing with what looks like guava version/access issues.
   ```
   TestHiveIcebergStorageHandlerWithEngine > testDescribeTable() > 
fileFormat=PARQUET, engine=mr, catalog=CUSTOM_CATALOG, isVectorized=false FAILED
       java.lang.IllegalArgumentException: Failed to execute Hive query 
'DESCRIBE default.customers': Error running query: 
java.lang.IllegalAccessError: class 
org.apache.hadoop.hive.ql.exec.FetchOperator tried to access method 
'com.google.common.collect.UnmodifiableIterator 
com.google.common.collect.Iterators.emptyIterator()' 
(org.apache.hadoop.hive.ql.exec.FetchOperator and 
com.google.common.collect.Iterators are in unnamed module of loader 'app')
           at 
org.apache.iceberg.mr.hive.TestHiveShell.executeStatement(TestHiveShell.java:164)
           at 
org.apache.iceberg.mr.hive.TestHiveIcebergStorageHandlerWithEngine.testDescribeTable(TestHiveIcebergStorageHandlerWithEngine.java:253)
   
           Caused by:
           org.apache.hive.service.cli.HiveSQLException: Error running query: 
java.lang.IllegalAccessError: class 
org.apache.hadoop.hive.ql.exec.FetchOperator tried to access method 
'com.google.common.collect.UnmodifiableIterator 
com.google.common.collect.Iterators.emptyIterator()' 
(org.apache.hadoop.hive.ql.exec.FetchOperator and 
com.google.common.collect.Iterators are in unnamed module of loader 'app')
               at 
app//org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:238)
               at 
app//org.apache.hive.service.cli.operation.SQLOperation.runInternal(SQLOperation.java:290)
               at 
app//org.apache.hive.service.cli.operation.Operation.run(Operation.java:320)
               at 
app//org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementInternal(HiveSessionImpl.java:530)
               at 
app//org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:500)
               at 
app//org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:265)
               at 
app//org.apache.iceberg.mr.hive.TestHiveShell.executeStatement(TestHiveShell.java:150)
               ... 1 more
   
               Caused by:
               java.lang.IllegalAccessError: class 
org.apache.hadoop.hive.ql.exec.FetchOperator tried to access method 
'com.google.common.collect.UnmodifiableIterator 
com.google.common.collect.Iterators.emptyIterator()' 
(org.apache.hadoop.hive.ql.exec.FetchOperator and 
com.google.common.collect.Iterators are in unnamed module of loader 'app')
                   at 
org.apache.hadoop.hive.ql.exec.FetchOperator.<init>(FetchOperator.java:108)
                   at 
org.apache.hadoop.hive.ql.exec.FetchTask.initialize(FetchTask.java:87)
                   at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:541)
                   at 
org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1317)
                   at 
org.apache.hadoop.hive.ql.Driver.compileAndRespond(Driver.java:1295)
                   at 
org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:204)
                   ... 7 more
   ```
   
   
   apparently Hive 2 also needs to be cut as it is only a hadoop 2.x runtime. 
   
   https://hive.apache.org/general/downloads/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to