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 2022/12/09 04:28:06 UTC

[GitHub] [iceberg] y-bowen opened a new issue, #6393: Couldn't initialize a SAX driver to create an XMLReader

y-bowen opened a new issue, #6393:
URL: https://github.com/apache/iceberg/issues/6393

   ### Query engine
   
   Flink 1.15.2
   Iceberg 1.1.0
   Hadoop 2.7.2
   Openjdk 11
   
   ### Question
   
   when i create iceberg v2 table. i got 
   `Caused by: com.amazonaws.SdkClientException: Couldn't initialize a SAX driver to create an XMLReader
   	at com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.<init>(XmlResponsesSaxParser.java:133)
   	at com.amazonaws.services.s3.model.transform.Unmarshallers$ListObjectsV2Unmarshaller.unmarshall(Unmarshallers.java:134)
   	at com.amazonaws.services.s3.model.transform.Unmarshallers$ListObjectsV2Unmarshaller.unmarshall(Unmarshallers.java:124)
   	at com.amazonaws.services.s3.internal.S3XmlResponseHandler.handle(S3XmlResponseHandler.java:62)
   	at com.amazonaws.services.s3.internal.S3XmlResponseHandler.handle(S3XmlResponseHandler.java:31)
   	at com.amazonaws.http.response.AwsResponseHandlerAdapter.handle(AwsResponseHandlerAdapter.java:69)
   	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleResponse(AmazonHttpClient.java:1734)
   	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleSuccessResponse(AmazonHttpClient.java:1454)
   	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1369)
   	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1145)
   	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:802)
   	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:770)
   	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:744)
   	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:704)
   	at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:686)
   	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:550)
   	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:530)
   	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5259)
   	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5206)
   	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5200)
   	at com.amazonaws.services.s3.AmazonS3Client.listObjectsV2(AmazonS3Client.java:963)
   	at org.apache.hadoop.fs.s3a.S3AFileSystem.lambda$listObjects$5(S3AFileSystem.java:1334)
   	at org.apache.hadoop.fs.s3a.Invoker.retryUntranslated(Invoker.java:322)
   	at org.apache.hadoop.fs.s3a.Invoker.retryUntranslated(Invoker.java:285)
   	at org.apache.hadoop.fs.s3a.S3AFileSystem.listObjects(S3AFileSystem.java:1327)
   	at org.apache.hadoop.fs.s3a.S3AFileSystem.s3GetFileStatus(S3AFileSystem.java:2311)
   	... 101 more
   
   Caused by: org.xml.sax.SAXNotSupportedException: SAX feature 'http://xml.org/sax/features/external-general-entities' not supported.
   	at oracle.xml.parser.v2.NonValidatingParser.setFeature(NonValidatingParser.java:2351)
   	at oracle.xml.parser.v2.SAXParser.setFeature(SAXParser.java:287)
   	at com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.disableExternalResourceFetching(XmlResponsesSaxParser.java:254)
   	at com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.<init>(XmlResponsesSaxParser.java:131)
   	... 126 more`


-- 
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: issues-unsubscribe@iceberg.apache.org.apache.org

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] github-actions[bot] commented on issue #6393: Couldn't initialize a SAX driver to create an XMLReader

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6393:
URL: https://github.com/apache/iceberg/issues/6393#issuecomment-1605787371

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


-- 
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: issues-unsubscribe@iceberg.apache.org

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] amogh-jahagirdar commented on issue #6393: Couldn't initialize a SAX driver to create an XMLReader

Posted by GitBox <gi...@apache.org>.
amogh-jahagirdar commented on issue #6393:
URL: https://github.com/apache/iceberg/issues/6393#issuecomment-1364889566

   Sorry for the delay, missed this issue somehow. 
   
   @y-bowen, could you provide the details on which AWS SDK version you are using? Note AWS SDK v2 is required for Iceberg. Checkout https://iceberg.apache.org/docs/latest/aws/#flink for an example for Flink.
   
   Looking at the stack trace, I see there are a few issues already opened in AWS SDK, for example 
   
   https://github.com/aws/aws-sdk-java/issues/2184, https://github.com/aws/aws-sdk-java/issues/1622, https://github.com/aws/aws-sdk-java/issues/1588
   
   All of these issues point to having conflicting XMLReaders on the same class path, so please do check that there is a single XMLReader on your class path.
   


-- 
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: issues-unsubscribe@iceberg.apache.org

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] github-actions[bot] commented on issue #6393: Couldn't initialize a SAX driver to create an XMLReader

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6393:
URL: https://github.com/apache/iceberg/issues/6393#issuecomment-1627551931

   This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'


-- 
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: issues-unsubscribe@iceberg.apache.org

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] github-actions[bot] closed issue #6393: Couldn't initialize a SAX driver to create an XMLReader

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #6393:  Couldn't initialize a SAX driver to create an XMLReader
URL: https://github.com/apache/iceberg/issues/6393


-- 
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: issues-unsubscribe@iceberg.apache.org

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] nastra commented on issue #6393: Couldn't initialize a SAX driver to create an XMLReader

Posted by GitBox <gi...@apache.org>.
nastra commented on issue #6393:
URL: https://github.com/apache/iceberg/issues/6393#issuecomment-1346932126

   @amogh-jahagirdar could you help out here please?


-- 
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: issues-unsubscribe@iceberg.apache.org

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