abstractdog commented on a change in pull request #2620:
URL: https://github.com/apache/hive/pull/2620#discussion_r703329281



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/exec/SerializationUtilities.java
##########
@@ -573,31 +665,23 @@ public PartitionDesc read(Kryo kryo, Input input, Class<? 
extends PartitionDesc>
    * @param out  The stream to write to.
    */
   public static void serializePlan(Object plan, OutputStream out) {
-    serializePlan(plan, out, false);
-  }
-
-  public static void serializePlan(Kryo kryo, Object plan, OutputStream out) {
-    serializePlan(kryo, plan, out, false);
+    serializePlan(plan, out, null);
   }
 
-  private static void serializePlan(Object plan, OutputStream out, boolean 
cloningPlan) {
-    Kryo kryo = borrowKryo();
+  private static void serializePlan(Object plan, OutputStream out, 
Configuration configuration) {

Review comment:
       yeah, I've just created a new test class, TestSerializationUtilities




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