dom93dd commented on code in PR #7128:
URL: https://github.com/apache/hadoop/pull/7128#discussion_r1816693024


##########
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestPath.java:
##########
@@ -404,6 +404,8 @@ public void testGetName() {
   
   @Test (timeout = 30000)
   public void testAvroReflect() throws Exception {
+    // Avro expects explicitely stated, trusted packages used for 
(de-)serialization
+    System.setProperty("org.apache.avro.SERIALIZABLE_PACKAGES", 
"org.apache.hadoop.fs.Path");

Review Comment:
   Yup you're right, just checked the avro implementation how they check the 
package names.



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