You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2020/07/30 08:42:59 UTC

[GitHub] [iceberg] rdsr opened a new pull request #1270: Remove conflicting dependency and unnecessary checked exception

rdsr opened a new pull request #1270:
URL: https://github.com/apache/iceberg/pull/1270


   I was receiving the following exception when running Hive MR tests from my IDE
   ```
   java.lang.NoSuchMethodError: org.apache.parquet.schema.Types$PrimitiveBuilder.as(Lorg/apache/parquet/schema/LogicalTypeAnnotation;)Lorg/apache/parquet/schema/Types$Builder;
   
   	at org.apache.iceberg.parquet.TypeToMessageType.primitive(TypeToMessageType.java:145)
   	at org.apache.iceberg.parquet.TypeToMessageType.field(TypeToMessageType.java:88)
   	at org.apache.iceberg.parquet.TypeToMessageType.convert(TypeToMessageType.java:65)
   	at org.apache.iceberg.parquet.ParquetSchemaUtil.convert(ParquetSchemaUtil.java:41)
   	at org.apache.iceberg.parquet.Parquet$WriteBuilder.build(Parquet.java:210)
   	at org.apache.iceberg.mr.TestHelper.writeFile(TestHelper.java:163)
   	at org.apache.iceberg.mr.TestHelper.writeFile(TestHelper.java:140)
   	at org.apache.iceberg.mr.hive.TestHiveIcebergInputFormat.before(TestHiveIcebergInputFo
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] rdsr merged pull request #1270: Remove conflicting dependency and unnecessary checked exception

Posted by GitBox <gi...@apache.org>.
rdsr merged pull request #1270:
URL: https://github.com/apache/iceberg/pull/1270


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] guilload commented on a change in pull request #1270: Remove conflicting dependency and unnecessary checked exception

Posted by GitBox <gi...@apache.org>.
guilload commented on a change in pull request #1270:
URL: https://github.com/apache/iceberg/pull/1270#discussion_r463330144



##########
File path: mr/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergSerDe.java
##########
@@ -41,11 +39,7 @@
   public void initialize(@Nullable Configuration configuration, Properties serDeProperties) throws SerDeException {
     final Table table;
 
-    try {
-      table = TableResolver.resolveTableFromConfiguration(configuration, serDeProperties);
-    } catch (IOException e) {
-      throw new UncheckedIOException("Unable to resolve table from configuration: ", e);
-    }
+    table = TableResolver.resolveTableFromConfiguration(configuration, serDeProperties);

Review comment:
       ```suggestion
       Table table = TableResolver.resolveTableFromConfiguration(configuration, serDeProperties);
   ```

##########
File path: mr/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergSerDe.java
##########
@@ -41,11 +39,7 @@
   public void initialize(@Nullable Configuration configuration, Properties serDeProperties) throws SerDeException {
     final Table table;

Review comment:
       ```suggestion
   ```




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org