Here is the change. Just added a new QueryType PIGLATIN = 4. https://github.com/yssharma/incubator-drill/commit/81b3d9e61c794a20924da67b499a2df7492f1b1c#diff-ac80bd7d9e3372242027f01f0e7517c7R21
Then used the command suggested in the protocol readme file - "mvn process-sources -P proto-compile" to regenerate classes. On removing this change it does not throw the Obfuscation error. On Wed, Oct 8, 2014 at 11:04 PM, Yash Sharma <[email protected]> wrote: > My fork is little messed up right now. Let me do a cleanup and send the > link. > Currently I have removed the jdbc-all module from exec and things are > working fine for me. > > Thanks > > On Wed, Oct 8, 2014 at 10:59 PM, Aditya <[email protected]> wrote: > >> Are your changes available in your fork? >> >> On Wed, Oct 8, 2014 at 10:27 AM, Yash Sharma <[email protected]> wrote: >> >>> I have not took the latest pull. Moreever it builds again on removing my >>> changes. :/ >>> On 08/10/2014 10:47 pm, "Aditya" <[email protected]> wrote: >>> >>>> I suspect this has to do with a new dependency rather than changes in >>>> the >>>> proto file. >>>> >>>> On Wed, Oct 8, 2014 at 9:45 AM, Yash Sharma <[email protected]> wrote: >>>> >>>> > Hi All, >>>> > I made some changes to the UserBitShared.proto and generated new >>>> files by >>>> > "mvn process-sources -P proto-compile". >>>> > >>>> > While trying to build Drill again I get this error - Obfuscation >>>> error in >>>> > exec/jdbc-all module. >>>> > >>>> > Any pointers on what I might be doing wrong? >>>> > >>>> > Thanks. >>>> > >>>> > >>>> > [proguard] Error: Can't write >>>> > >>>> > >>>> [incubator-drill/exec/jdbc-all/target/drill-jdbc-all-0.6.0-incubating-SNAPSHOT-dirty.jar] >>>> > (Can't read >>>> > [.m2/repository/org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.jar] >>>> > (Duplicate zip entry >>>> > >>>> > >>>> [jsp-2.1-6.1.14.jar:org/apache/jasper/compiler/JspUtil$ValidAttribute.class])) >>>> > >>>> > [ERROR] Failed to execute goal >>>> > com.github.wvengen:proguard-maven-plugin:2.0.7:proguard (default) on >>>> > project drill-jdbc-all: Obfuscation failed (result=1) -> [Help 1] >>>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to >>>> execute >>>> > goal com.github.wvengen:proguard-maven-plugin:2.0.7:proguard >>>> (default) on >>>> > project drill-jdbc-all: Obfuscation failed (result=1) >>>> > at >>>> > >>>> > >>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) >>>> > at >>>> > >>>> > >>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) >>>> > at >>>> > >>>> > >>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) >>>> > at >>>> > >>>> > >>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108) >>>> > at >>>> > >>>> > >>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) >>>> > at >>>> > >>>> > >>>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) >>>> > at >>>> > >>>> > >>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) >>>> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) >>>> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) >>>> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) >>>> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) >>>> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) >>>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> > at >>>> > >>>> > >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>>> > at >>>> > >>>> > >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>> > at java.lang.reflect.Method.invoke(Method.java:606) >>>> > at >>>> > >>>> > >>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) >>>> > at >>>> > >>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) >>>> > at >>>> > >>>> > >>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) >>>> > at >>>> > >>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) >>>> > Caused by: org.apache.maven.plugin.MojoExecutionException: Obfuscation >>>> > failed (result=1) >>>> > at >>>> > >>>> > >>>> com.github.wvengen.maven.proguard.ProGuardMojo.proguardMain(ProGuardMojo.java:645) >>>> > at >>>> > >>>> > >>>> com.github.wvengen.maven.proguard.ProGuardMojo.execute(ProGuardMojo.java:497) >>>> > at >>>> > >>>> > >>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) >>>> > at >>>> > >>>> > >>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) >>>> > ... 19 more >>>> > >>>> >>> >> >
