pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roh...@apache.org
Subject svn commit: r1804064 - /pig/trunk/src/org/apache/pig/ResourceStatistics.java
Date Thu, 03 Aug 2017 23:49:30 GMT
Author: rohini
Date: Thu Aug  3 23:49:30 2017
New Revision: 1804064

URL: http://svn.apache.org/viewvc?rev=1804064&view=rev
Log:
PIG-5264: Fix HCatLoader failure after removing deprecated method (satishsaley via rohini)

Modified:
    pig/trunk/src/org/apache/pig/ResourceStatistics.java

Modified: pig/trunk/src/org/apache/pig/ResourceStatistics.java
URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/ResourceStatistics.java?rev=1804064&r1=1804063&r2=1804064&view=diff
==============================================================================
--- pig/trunk/src/org/apache/pig/ResourceStatistics.java (original)
+++ pig/trunk/src/org/apache/pig/ResourceStatistics.java Thu Aug  3 23:49:30 2017
@@ -198,6 +198,16 @@ public class ResourceStatistics implemen
     }
 
     /**
+     * @param mBytes
+     * @deprecated Use {@link ResourceStatistics#setSizeInBytes(Long)} instead
+     */
+    @Deprecated
+    public ResourceStatistics setmBytes(Long mBytes) {
+        this.bytes = mBytes * 1024 * 1024;
+        return this;
+    }
+
+    /**
      * Sets the size in bytes
      * 
      * @param bytes



Mime
View raw message