Github user liancheng commented on the pull request:

    https://github.com/apache/spark/pull/3157#issuecomment-67773705
  
    The `NoSuchMethodError` was caused by wrong datanucleus-core version. The 
target method is defined in datanucleus-core 3.2.2 but not in 3.2.10. The 
former is used when compiling against Hive 0.12.0, while the latter is used 
when compiling against Hive 0.13.1. Currently on Jenkins we first do a clean 
compile against 0.12.0, then build the assembly jar *without* clean against 
0.13.1 and run the tests.
    
    This behavior left both versions of datanucleus-core in the `lib_managed` 
directory, and may sometimes mess up class paths. I'll open a PR to clean 
`lib_managed` before compiling Hive 0.13.1 in `dev/run-tests`.
    
    I've seen this error once several days before right after the most recent 
Jenkins upgrade. Not sure why this issue wasn't detected before.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to