Oh my! This related to my change. We had a "format" method which build and 
threw the exception. I changed that to just build and return the exception, 
then I changed all callers to do the throwing. I also changed the method name 
to "create".

The mystery is how the code passed the build and failed at runtime given that 
"format" is no longer a valid method in this class. (Done deliberately to catch 
all references.) Do you somehow have old jars that were not recompiled after 
rebasing on the latest master with my change?



Thanks,
- Paul

 

    On Friday, February 28, 2020, 12:14:21 PM PST, GitBox <[email protected]> 
wrote:  
 
 dobesv commented on issue #1994: DRILL-7203: Accept impersonation userName as 
form field & fix back button for query page
URL: https://github.com/apache/drill/pull/1994#issuecomment-592708567
 
 
  I ran it locally using the `act` tool to simulate a github build and got a 
full stack trace:
  
  ```
  $ act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04 --job build
  ...
  | [ERROR] 
org.apache.drill.exec.store.parquet.TestParquetMetadataVersion.testWrongDelimiter
  Time elapsed: 0.002 s  <<< ERROR!
  | java.lang.Exception: Unexpected exception, 
expected<org.apache.drill.common.exceptions.DrillRuntimeException> but 
was<java.lang.NoSuchMethodError>
  |      at 
org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28)
  |      at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
  |      at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
  |      at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
  |      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  |      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  |      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  |      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  |      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  |      at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  |      at org.junit.runners.Suite.runChild(Suite.java:128)
  |      at org.junit.runners.Suite.runChild(Suite.java:27)
  |      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  |      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  |      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  |      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  |      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  |      at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  |      at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
  |      at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
  |      at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeLazy(JUnitCoreWrapper.java:119)
  |      at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:87)
  |      at 
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
  |      at 
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
  |      at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377)
  |      at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138)
  |      at 
org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465)
  |      at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451)
  | Caused by: java.lang.NoSuchMethodError: 'void 
org.apache.drill.common.exceptions.DrillRuntimeException.format(java.lang.String,
 java.lang.Object[])'
  |      at 
org.apache.drill.exec.store.parquet.metadata.MetadataVersion.<init>(MetadataVersion.java:45)
  |      at 
org.apache.drill.exec.store.parquet.TestParquetMetadataVersion.testWrongDelimiter(TestParquetMetadataVersion.java:96)
  | 
  ...
  ```

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

Reply via email to