Hi Team,

I am using parquet-hadoop for parsing Hadoop records with JDK-11. I am getting 
the following warnings when I try to open file.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.apache.hadoop.security.authentication.util.KerberosUtil 
(file:/Users/zubairuf/.m2/repository/org/apache/hadoop/hadoop-auth/2.8.5/hadoop-auth-2.8.5.jar)
 to method sun.security.krb5.Config.getInstance()
WARNING: Please consider reporting this to the maintainers of 
org.apache.hadoop.security.authentication.util.KerberosUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release

I believe it's because of the JDK-11 security updates which will be fixed in 
the ticket<https://issues.apache.org/jira/browse/HADOOP-10848>. I have 
following questions:


  1.  When the parquet library upgrades its Hadoop version to overcome the 
issue.
  2.  Is there any alternative?  I am currently opening reader as:

ParquetFileReader.open(HadoopInputFile.fromPath(new Path(filePath), new 
Configuration()));

Regards,
Zubair Farooqui

Reply via email to