arina-ielchiieva commented on a change in pull request #1864: DRILL-7351: Added
tokens to Web forms to prevent CSRF attacks
URL: https://github.com/apache/drill/pull/1864#discussion_r334646544
##########
File path:
drill-yarn/src/main/java/org/apache/drill/yarn/appMaster/DrillApplicationMaster.java
##########
@@ -44,6 +45,16 @@
*/
public class DrillApplicationMaster {
+
+ static {
+ /*
+ * Drill-on-YARN uses Hadoop dependencies that use older version of
protobuf,
+ * and override some methods that became final in recent protobuf versions.
+ * This code removes these final modifiers.
+ */
+ ProtobufPatcher.patch();
Review comment:
Should we patch Guava as well to be consistent with Drill patching?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services